Comments (16)
Another option is to load Essentials before Core. That should work as well. You can do that in the settings.ini file by putting Plugin=Essentials
before Plugin=Core
.
from core.
Also, I don't think a plugin should remove a feature just because another plugin has that feature too.
from core.
There is a hook that is called when a player issues a command; Essentials could use that hook to prevent the Core from even seeing the command. Somewhat hackish, but I think it's the best solution so far (unless we want to move the entire functionality over to the Core, which might be a good idea as well)
from core.
I'm not happy if I have to remove Essentials features (already removed more than 5 commands), but as /msg is an important command, /r could be implemented into core and /msg removed from Essentials
from core.
But loading Essentials before should fix the problem altogether right?
from core.
Yes, it should.
Then there is still the error message which appears if a command is asigned to more than 1 plugin.
from core.
Consider it not removing a feature. It's more like moving the feature from one plugin to another. This way it's even gonna be accessible to a lot more people by default.
from core.
Then, move /r to Core?
from core.
Yes
from core.
So peanut gallery chiming in here, Core is already a fairly large plugin code wise, why not consider splitting all the Chat commands currently in Core off into a separate default plugin, say something like Core:Chat? That way if people want to use a different chat handler they can just disable the Core:Chat plugin?
from core.
Do you think there will be a different chat plugin? I find it highly unlikely.
from core.
Moved /r into core
from core.
Eh, I know there was for bukkit/spigot and given /r
was a part of a
different plugin already for MCServer it seems likely that someone at some
point might get the idea that they want their own chat system rather then
the default for whatever reason (say adding separate chat channels like
towny, for instance, which had town/nation channels in addition to the
global channel).
On Sun, Jan 11, 2015 at 2:15 PM, Mattes D [email protected] wrote:
Do you think there will be a different chat plugin? I find it highly
unlikely.—
Reply to this email directly or view it on GitHub
#118 (comment).
from core.
That is actually possible with a plugin.
You just need to loop throught all players, and if they match the conditions, send them the message
from core.
@tonibm19 I know, I was just giving an example for @madmaxoft as to why another plugin writer might create their own chat system and want to disable the chat commands in Core. At any rate, its nothing that has to be addressed currently (and at this point is certainly beyond the scope of this issue), but is just something to keep in mind for the future.
from core.
Thanks.
Imo, splitting core into more than one plugin sounds good, but would take some time (and possibly create a bit of confusion).
from core.
Related Issues (20)
- webchat should be logged to console
- Time of day overflow after calling '/time day' HOT 2
- Tamed wolves will not go through doors HOT 1
- Spawn protection does not protect double height tall grass. HOT 3
- /spawn command doesn't work HOT 3
- Copy-paste code while teleporting a player HOT 19
- Broken ice blocks reappear after logging out and in again HOT 1
- [feature] luasql support - mysql storage of user data HOT 9
- No permission node for spectator mode HOT 9
- teleport.lua, etc. need review
- Support target selectors
- AutoSave&Restart v1 Fix ? HOT 1
- Move world limiter to core server
- Move difficulties to core server
- Commands to change permissions in-game HOT 1
- Problems with setting time HOT 1
- No /execute HOT 1
- MOTD doesn't display due to hook conflict
- Weird output on listranks command with windows HOT 1
- Some WebAdmin tabs are broken HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from core.