EvilSeph
e7dc19c375
Made the Ban command kick a matching player if they are online.
2011-10-03 10:11:45 -04:00
Dinnerbone
fe4f4c5f58
Many javadoc fixes thanks to Celtic Minstrel
2011-09-25 02:56:40 +01:00
Dinnerbone
a07d79e275
Added server.getConsoleSender, blocked access to create a ConsoleCommandSender
2011-09-24 23:11:01 +01:00
EvilSeph
9ce08b8f7e
Fixed typo in OpCommand.
2011-09-21 17:36:55 -04:00
sunkid
627e2af265
addition of PlayerGameModeChangeEvent
2011-09-18 00:28:14 +01:00
Dinnerbone
37c79edb3e
Now with 60% less Dave errors!
2011-09-16 21:18:53 +01:00
EvilSeph
fb32a37ed4
Made SayCommand display output in purple, as per vanilla spec.
2011-09-15 22:11:20 -04:00
EvilSeph
233409ed7c
Fixed GameModeCommand and GiveCommand error/response display.
2011-09-14 22:39:09 -04:00
Dinnerbone
0c4ae4dddd
Fixed "unknown command" on vanilla commands with no args (even though it's intended behavior...)
2011-09-15 03:04:55 +01:00
EvilSeph
879fc912f4
Added GameMode command.
2011-09-14 17:43:11 -04:00
Dinnerbone
935ffcb125
Fixed /say command not allowing more than one argument
2011-09-04 16:28:40 +01:00
Dinnerbone
59a617bef2
Fixed dupe message when console /says
2011-09-03 17:29:00 +01:00
Dinnerbone
1fd394bc7c
Moved all vanilla commands into Bukkit
2011-09-03 15:56:35 +01:00
Dinnerbone
e1f69e0867
Added the ability to access offline players & more reverse lookup fixes in Permissible.
2011-09-03 00:41:22 +01:00
Dinnerbone
ce0d959728
Some small fixes to permissions to register the correct Permissible in base and more accurate reverse lookups
2011-09-02 23:39:01 +01:00
Dinnerbone
c1f858534b
Fixed java ver method
2011-09-02 19:35:58 +01:00
Dinnerbone
0d11aa7cca
Commands now have the ability to set a permission required before execution
2011-09-02 19:27:12 +01:00
Dinnerbone
fb594732b5
Added new permission system
2011-07-17 17:17:47 +01:00
EvilSeph
f0877250ff
Fixed 'bad aliases' error output.
2011-06-23 16:16:14 -04:00
Dinnerbone
f71d7d0e9b
The server config can now specify aliases to multiple (or none) commands, for example "debug: [version, plugin]" to run both version and plugin, or "plugins: []" to disable the plugins command
2011-06-22 19:08:21 +01:00
Dinnerbone
30ee49f209
Server administrators can now specify custom aliases in bukkit.yml which override any aliases set by plugins.
2011-06-17 04:07:17 +01:00
stevenh
e304ff739a
Fixed fallbackPrefix not being lowercased, which would break prefixes for plugins with an uppercase char in the name
2011-06-12 16:35:26 +01:00
Erik Broes
0ac6a0bfe6
Generic cleanup
2011-06-12 12:49:08 +02:00
stevenh
6fcf7e190f
Fixed no command found being sent to the command sender for command handlers which return failure (false)
2011-05-23 23:59:47 +01:00
stevenh
4c7d1459d2
Reworked command registration so that aliases are secondary to the primary command label requested
...
Updated docs to reflect what the code really does
This adds a few new methods to Command including:-
* A full constructor that takes descriptio, usageMassage and aliases for convenience
* getLabel() which returns the active label for a command, which is derived from the Command name or subsiquent call to setLabel(..)
* A number of registration functions for use in the CommandMap implementer
Also of note is Command.getAliases() no returns the "active" aliases
2011-05-22 20:42:26 +01:00
Celtic Minstrel
238eabc084
Fixed command aliases priorities.
...
Command aliases are now given lower weight than the "official" name of the command; this allows you to define aliases without worrying about them overriding someone else's command.
2011-05-16 00:41:51 -04:00
EvilSeph
12578557ad
Made disabled plugins show up in red in the plugins list. Thanks Yetanotherx!
2011-05-15 20:07:53 -04:00
Erik Broes
992f1f2bf3
Whitespace + general cleanup
2011-05-15 14:06:02 +02:00
EvilSeph
cc3f7710ef
Fixed AIOOBE when entering a space into console and hitting enter.
2011-04-24 21:49:45 -04:00
Dinnerbone
7867b27965
All previous deprecated methods removed (OH GOD EVERYTHING BROKEN)
2011-03-14 15:05:46 +00:00
stevenh
c47efb4986
Corrected description of CommandSender.getServer()
2011-03-12 17:55:55 +00:00
stevenh
e4a1008f8a
Removed unneeded string constant concat
...
Note: editor removed spaces on otherwise empty lines
2011-03-12 17:51:57 +00:00
Erik Broes
6da67f1ea6
Compensate for sendMessage losing its 'unintended splitting on existing newlines'-feature
2011-03-12 17:01:56 +01:00
Dinnerbone
0b35cd8127
Don't throw commands if the plugin is disabled
2011-03-07 16:41:50 +00:00
Erik Broes
c383d1f385
Java 1.5 compat.
2011-03-02 15:23:15 +01:00
Dinnerbone
0f95f3063a
command.set/getDescription replaces a now deprecated set/getTooltip + javadocs
2011-02-28 11:42:09 +00:00
Dinnerbone
2ca3d148cc
PluginCommand getExecutor + javadocs
2011-02-28 10:35:58 +00:00
Dinnerbone
2b1dc975f1
Added JavaPlugin.getCommand
2011-02-28 01:35:03 +00:00
Dinnerbone
a27b2703dd
Case-insensitive commands
2011-02-28 00:52:43 +00:00
Dinnerbone
95d92e406e
Tweaks to command system to allow setting executors via plugins (no more ambiguous onCommand in plugins)
2011-02-28 00:30:59 +00:00
Dinnerbone
fb30fd5fad
Changed ConsoleCommandSender to use stripColor instead of hardcoded
2011-02-23 11:44:12 +00:00
Dinnerbone
86aa75c3b5
ConsoleCommandSender no longer has a default constructor, use ConsoleCommandSender(server). Added entity.getServer
2011-02-23 11:33:03 +00:00
EvilSeph
a748069eb3
We need to set cmdSuccess accordingly.
2011-02-18 21:30:19 -05:00
Dinnerbone
2188275a00
Exception handling in commands
2011-02-18 16:25:06 +00:00
sk89q
42def68966
Fixed alias parsing for commands. object.toString().split(",") is NOT how you parse a YAML list!
2011-02-16 21:47:05 -08:00
EvilSeph
0731a0a00c
Commands should not be case-sensitive.
2011-02-06 21:56:38 -05:00
EvilSeph
d167abe6d7
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
1a2c220ac3
Revert "fallback code for command lookup"
...
This reverts commit 74a549c74bcabdb094c5c46f919ed98288631352.
2011-02-02 09:20:16 +00:00
tahg
00d4e1a2e0
fallback code for command lookup
2011-02-01 21:56:16 -08:00
Erik Broes
01988e8f6b
General cleanup (deprecated+whitespace)
2011-02-02 00:28:41 +01:00