90 Commits

Author SHA1 Message Date
Wesley Wolfe
ca7aab6f4f [Bleeding] Cleaned up unsafe casts. Addresses BUKKIT-844
Removed internal collection leaks from PluginDescriptionFile
BREAKING: PluginDescriptionFile.getAuthors() now returns List instead of
ArrayList

Various places with unsafe generics, notably List<Object> getList() in
Configurations are now referenced as <?>. This is nonbreaking, but
sourcecode will need to be revised when compiled.
2012-02-29 10:23:16 -05:00
Score_Under
eb3c161180 [Bleeding] Fixed file handle leak in /timings command. Addresses BUKKIT-853 2012-02-29 09:52:57 -05:00
TomyLobo
93521af608 Event system optimizations. Addresses BUKKIT-813
- Made the handlers field a simple array instead of an array of arrays.
- Got rid of the "baked" field.
2012-02-28 21:57:16 -05:00
Feildmaster
b66ede2821 Improved readability for /whitelist list. Addresses BUKKIT-772 2012-02-19 10:29:14 -05:00
Erik Broes
049a7cc1d0 Deprecation cleanup. 2012-02-18 13:05:58 -05:00
Travis Watkins
e675ff791d Fixed typos and add usage message to timings command. 2012-02-10 18:19:58 -05:00
Wesley Wolfe
465818ef42 [Bleeding] Implemented customizable permission messages. 2012-02-09 04:02:11 -05:00
Travis Watkins
5e6125e01b [Bleeding] Added Vanish API for hiding players from each other.
Adds Player.hidePlayer, Player.showPlayer, and Player.canSee for managing
what players are hidden from a player. When someone is hidden from a player
the player cannot see them in the user list or /list and they cannot /tell
them so they appear to be completely gone from the server.
2012-02-03 03:32:21 -05:00
EvilSeph
8d19709c5a Added spacing to BanListCommand output. 2012-01-23 20:30:21 -05:00
Tahg
468d45b761 Updated timing code for new event system 2012-01-19 18:41:04 -05:00
Erik Broes
88c17a7f86 Generic cleaning 2012-01-15 14:37:43 +01:00
Tahg
b063a7246a Added timings command. 2012-01-09 23:44:17 -05:00
Tahg
f6154042c0 Added data argument to vanilla give command 2012-01-09 01:20:54 -05:00
EvilSeph
b1815cc6c6 Added banlist command. Fixes BUKKIT-373. Thanks md-5! 2012-01-07 19:54:02 -05:00
Erik Broes
b9fca3c04d Generic cleanup of warnings, whitespace and style. 2011-12-25 16:02:30 +01:00
Andrew Ardill
db33bcd1e4 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
818842e652 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
8d55e127bc I do believe that I made a typo 2011-12-04 11:08:40 +00:00
Nathan Adams
4155b1fb6c Added cause to PlayerTeleportEvent 2011-12-04 11:03:32 +00:00
Nathan Adams
2406704752 Bukkit will no longer leak tears. He has been cheered up. 2011-12-04 10:41:46 +00:00
Nathan Adams
edf26dfd5e Added /xp and /toggledownfall commands from vanilla 2011-12-02 06:38:33 +00:00
Nathan Adams
e8004b0494 Made /version output same as startup output 2011-11-23 05:55:32 +00:00
Nathan Adams
b1a44c2161 Fixed the /me command missing a space 2011-10-26 07:08:41 +01:00
Erik Broes
eefcef5480 Revert "Added the ability to register commands dynamically."
This reverts commit 737d6347b1d74e13191df7c521d8db30fa174c9b.
Because this is *NOT* how it should be.
2011-10-13 18:27:34 +02:00
sk89q
b04b8379c6 Added the ability to register commands dynamically. 2011-10-13 01:17:10 -07:00
Nathan Adams
c89a0dbe99 Few more style cleanups 2011-10-11 02:16:44 +01:00
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