Jonathan Chan Kwan Yin

Results 391 comments of Jonathan Chan Kwan Yin

The point of this proposal is to allow the different parser to be used to parse the command. The `getCommand()` method is still kept, with which the different parser can...

Example 1: a selector plugin would want to replace `@p` to sender name like this: ```php public function _onCommand(CommandEvent $event) { $args = $event->getArgs(); foreach($args as &$arg) { if($arg ===...

Perhaps to provide the entire array passed to `execute`?

Optimizing overload selection shouldn't be a blocker for this PR. Plugins that are particularly concerned about huge number of overloads could always fall back to RawParameter to leverage their own...

@JackMD the defaultgamemode permission has nothing to do with /gamemode anyway.

No, not at all, otherwise it might cause other problems such as problems with statics that you might not 100% be aware of. Live code swap is always dangerous, and...

It has **NEVER** been and **WILL never** be possible to reload plugin code without restarting the server. It is only possible to load **absolutely new** code, so this has nothing...

The proposal is still facing difficulties with plugin loaders. Suppose a plugin called `D` registers a new plugin loader that is going to load `T`. `D` cannot be loaded without...

Then the server should fail to start because plugins are incompatible.

Not recursive libraries; that's be impossible. Just re l transitive. Anyway, point taken, but it turns out that it's not trivial to implement this in the core because resolving dependency...