Commit Graph

18 Commits

Author SHA1 Message Date
EvilSeph
5bb76a6c3d Moved the plugin list display out of the version command and into the plugins command.
Version should not display a list of plugins as a server running many
plugins will no longer be able to see the version output.
2011-02-05 04:30:18 -05:00
Dinnerbone
d36bc58cf3 Revert "fallback code for command lookup"
This reverts commit 74a549c74b.
2011-02-02 09:20:16 +00:00
tahg
74a549c74b fallback code for command lookup 2011-02-01 21:56:16 -08:00
Erik Broes
8039c05c9f General cleanup (deprecated+whitespace) 2011-02-02 00:28:41 +01:00
Dinnerbone
91942d6a84 Strip colours for console output 2011-02-01 18:26:31 +00:00
Dinnerbone
a402db3d66 Don't delete the first char of the command passed 2011-02-01 18:12:46 +00:00
Dinnerbone
fbdb1d15aa Deprecated CommandSender.isPlayer (instanceof!) and added ConsoleCommandSender 2011-02-01 16:45:29 +00:00
stevenh
247e77579a Renamed IExecutor -> CommandExecutor and fixed SERVER_COMMAND doc 2011-01-29 21:17:36 +00:00
stevenh
dc04480c96 Finalising merge with head 2011-01-29 17:28:31 +00:00
stevenh
0814239f31 merge with head 2011-01-29 17:18:32 +00:00
stevenh
cc404ced12 Refactored event calling so its front loading avoiding the lookup for each event call.
This now uses an annoymous class implementing IExecutor that facilitates direct event method handler calling

Changed commands from being executed exclusively by a player to by a CommandSender to facilitate external command callers such as rcon

Fixed CustomEventListener

Merged in additional events

Added getFullName to PluginDescriptionFile which returns the combination of Name and Version

There's also a few bits of reformatting as it seems someones been editing with either tabs or dos eol :(
2011-01-29 16:23:56 +00:00
Dinnerbone
587ee346f8 Fixed only being able to use /reload once 2011-01-28 14:24:54 +00:00
Dinnerbone
d67110aecf clearPlugins() and clearCommands() for PluginManager and CommandMap respectively 2011-01-28 14:18:24 +00:00
Dinnerbone
ea3db10229 Fully implemented /version 2011-01-20 16:26:57 +00:00
Dinnerbone
e48a4a2224 Added /version and /reload commands 2011-01-20 03:53:27 +00:00
Dinnerbone
868aee0046 Fixed empty check in PluginCommand 2011-01-20 03:08:15 +00:00
VictorD
ad2bfe6bf6 Fixed minor bug with alias registration and removed debug output 2011-01-18 01:54:48 +01:00
VictorD
7a9ecbef53 Updated commands to have optional aliases, and to fallback to /pluginName:cmdName on name conflict. 2011-01-18 01:12:50 +01:00