Commit Graph

82 Commits

Author SHA1 Message Date
EvilSeph
45f02a5c33 Added spacing to BanListCommand output. 2012-01-23 20:30:21 -05:00
Tahg
53261190cf Updated timing code for new event system 2012-01-19 18:41:04 -05:00
Erik Broes
eb9dc64493 Generic cleaning 2012-01-15 14:37:43 +01:00
Tahg
3d4c2010eb Added timings command. 2012-01-09 23:44:17 -05:00
Tahg
c80b2d2fd9 Added data argument to vanilla give command 2012-01-09 01:20:54 -05:00
EvilSeph
187a961d2e Added banlist command. Fixes BUKKIT-373. Thanks md-5! 2012-01-07 19:54:02 -05:00
Erik Broes
dce83b6ce4 Generic cleanup of warnings, whitespace and style. 2011-12-25 16:02:30 +01:00
Andrew Ardill
49da1b543c BREAKING: Change ConsoleCommandSender to an interface.
Implementations will now need to implement the console command sender.
This is done to increse the separation between the Bukkit API and it's
implementations. This allows the implementations more freedom when dealing
with consoles and reducing chances for breaking plugin compatibility in the
future.
2011-12-07 17:42:33 +11:00
Andrew Ardill
f2b19e14bf Teach the API about Remote Consoles
This will allow us to raise events for remote consoles, and provide access
to them at a later date. Relates to BUKKIT-220
2011-12-07 17:42:32 +11:00
Nathan Adams
45cf9301e0 I do believe that I made a typo 2011-12-04 11:08:40 +00:00
Nathan Adams
19a96434b3 Added cause to PlayerTeleportEvent 2011-12-04 11:03:32 +00:00
Nathan Adams
f10b3c444b Bukkit will no longer leak tears. He has been cheered up. 2011-12-04 10:41:46 +00:00
Nathan Adams
d8e3602925 Added /xp and /toggledownfall commands from vanilla 2011-12-02 06:38:33 +00:00
Nathan Adams
3e80c0e369 Made /version output same as startup output 2011-11-23 05:55:32 +00:00
Nathan Adams
c68f943444 Fixed the /me command missing a space 2011-10-26 07:08:41 +01:00
Erik Broes
a7508b7837 Revert "Added the ability to register commands dynamically."
This reverts commit 737d6347b1.
Because this is *NOT* how it should be.
2011-10-13 18:27:34 +02:00
sk89q
737d6347b1 Added the ability to register commands dynamically. 2011-10-13 01:17:10 -07:00
Nathan Adams
5700db0ea7 Few more style cleanups 2011-10-11 02:16:44 +01:00
EvilSeph
ed6b4882d1 Made the Ban command kick a matching player if they are online. 2011-10-03 10:11:45 -04:00
Dinnerbone
e6c273e8b0 Many javadoc fixes thanks to Celtic Minstrel 2011-09-25 02:56:40 +01:00
Dinnerbone
7306aa8d3d Added server.getConsoleSender, blocked access to create a ConsoleCommandSender 2011-09-24 23:11:01 +01:00
EvilSeph
b79fcf82c5 Fixed typo in OpCommand. 2011-09-21 17:36:55 -04:00
sunkid
c8b70c5a8f addition of PlayerGameModeChangeEvent 2011-09-18 00:28:14 +01:00
Dinnerbone
819e9ff48a Now with 60% less Dave errors! 2011-09-16 21:18:53 +01:00
EvilSeph
70beef0993 Made SayCommand display output in purple, as per vanilla spec. 2011-09-15 22:11:20 -04:00
EvilSeph
c494064f76 Fixed GameModeCommand and GiveCommand error/response display. 2011-09-14 22:39:09 -04:00
Dinnerbone
91fd209a3b Fixed "unknown command" on vanilla commands with no args (even though it's intended behavior...) 2011-09-15 03:04:55 +01:00
EvilSeph
39c0d81832 Added GameMode command. 2011-09-14 17:43:11 -04:00
Dinnerbone
da29e0aa4d Fixed /say command not allowing more than one argument 2011-09-04 16:28:40 +01:00
Dinnerbone
b6bf610682 Fixed dupe message when console /says 2011-09-03 17:29:00 +01:00
Dinnerbone
0914132467 Moved all vanilla commands into Bukkit 2011-09-03 15:56:35 +01:00
Dinnerbone
0484a8bd84 Added the ability to access offline players & more reverse lookup fixes in Permissible. 2011-09-03 00:41:22 +01:00
Dinnerbone
20dd09d983 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
f319f09fb2 Fixed java ver method 2011-09-02 19:35:58 +01:00
Dinnerbone
8831a00b4e Commands now have the ability to set a permission required before execution 2011-09-02 19:27:12 +01:00
Dinnerbone
914da8e887 Added new permission system 2011-07-17 17:17:47 +01:00
EvilSeph
fb3e9605d8 Fixed 'bad aliases' error output. 2011-06-23 16:16:14 -04:00
Dinnerbone
7524109bf0 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
95484bba53 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
ff73db325b 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
c54ec090c8 Generic cleanup 2011-06-12 12:49:08 +02:00
stevenh
7a035d60ea 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
801132b89f 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
764ef1c25d 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
86ca0f5c67 Made disabled plugins show up in red in the plugins list. Thanks Yetanotherx! 2011-05-15 20:07:53 -04:00
Erik Broes
c4d444ce98 Whitespace + general cleanup 2011-05-15 14:06:02 +02:00
EvilSeph
54fc471ec5 Fixed AIOOBE when entering a space into console and hitting enter. 2011-04-24 21:49:45 -04:00
Dinnerbone
79f7cea622 All previous deprecated methods removed (OH GOD EVERYTHING BROKEN) 2011-03-14 15:05:46 +00:00
stevenh
55b14b63a4 Corrected description of CommandSender.getServer() 2011-03-12 17:55:55 +00:00
stevenh
99df8e88c4 Removed unneeded string constant concat
Note: editor removed spaces on otherwise empty lines
2011-03-12 17:51:57 +00:00