Commit Graph

159 Commits

Author SHA1 Message Date
Wesley Wolfe
c8dc8e682e Let version print partial matches for plugin name. Addresses BUKKIT-2383
If no plugin is found with the given name, the version command will
search all loaded plugins to find a case insensitive partial match for
the specified name and print to the sender all matches.
2012-09-28 16:50:32 -05:00
feildmaster
7d9185e473 Add spaces to gamemode message. Fixes BUKKIT-2148 2012-08-08 19:48:49 -05:00
feildmaster
ebb4362cf6 Don't send duplicate messages for Gamemode and Time commands.
Gamemode gets sent with the packet.
2012-08-06 11:29:38 -05:00
feildmaster
09ef15e950 Update commands to match 1.3 vanilla commands 2012-08-06 06:59:46 -05:00
feildmaster
c809871558 Fail silently on incorrect number input 2012-08-06 06:59:45 -05:00
Travis Watkins
bc8f053e2a Test command permissions before running them. 2012-08-02 19:02:23 -05:00
feildmaster
110ad8c196 Update Bukkit for 1.3.1 changes 2012-08-02 04:54:21 -05:00
feildmaster
c65422de4b Don't "setLastDamageCause" in the DamageEvent constructor. Addresses BUKKIT-1881
This is now done after the event to allow you to be able to get previous damageCauses, and is now only applied if the event is not canceled.
2012-07-03 14:09:51 -05:00
feildmaster
81d9cacff8 Set help index page to 1 for invalid numbers. Fixes BUKKIT-1569 2012-04-30 17:47:27 -05:00
EvilSeph
e5ef8c2b40 Removed pointless counter and use .length in PluginsCommand. Thanks nallar! 2012-04-02 16:28:58 -04:00
Dinnerbone (Laptop)
d61f0dbe41 Updated version to 1.2.5-R0.1-SNAPSHOT, changed commands to match vanilla 2012-03-30 23:34:18 +02:00
EvilSeph
cec8ceab3c Added plugin count to the PluginsCommand. 2012-03-22 21:40:31 -04:00
rmichela
65bf74947f [Bleeding] Moved HelpTopicComparator to Bukkit.jar. Addresses BUKKIT-1193 2012-03-16 03:48:22 -04:00
rmichela
cbc8d3589f [Bleeding] Added automatically generated plugin-level sub-indexes to the master help index. Addresses BUKKIT-1180 2012-03-16 02:47:14 -04:00
rmichela
d47ad6cf57 Aesthetic changes to the /help command. 2012-03-16 02:44:30 -04:00
rmichela
7ea7959e69 [Bleeding] Added option to remove entire plugins from the help index using the help.yml file. Addresses BUKKIT-1178 2012-03-16 02:42:12 -04:00
rmichela
c254d84b06 [Bleeding] Help command should properly wrap command text - at least for english. Fixes BUKKIT-939 2012-03-08 02:02:12 -05:00
rmichela
bba2e1cd2f [Bleeding] Added Help API. Addresses BUKKIT-863 2012-03-01 04:28:21 -05:00
rmichela
49c34510e3 [Bleeding] Added Conversations API. Addresses BUKKIT-864 2012-03-01 03:52:18 -05:00
Wesley Wolfe
7db0e50da7 [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
145be1538d [Bleeding] Fixed file handle leak in /timings command. Addresses BUKKIT-853 2012-02-29 09:52:57 -05:00
TomyLobo
6c7fb871c5 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
eace91d627 Improved readability for /whitelist list. Addresses BUKKIT-772 2012-02-19 10:29:14 -05:00
Erik Broes
7a06777e19 Deprecation cleanup. 2012-02-18 13:05:58 -05:00
Travis Watkins
a688096fc5 Fixed typos and add usage message to timings command. 2012-02-10 18:19:58 -05:00
Wesley Wolfe
643ee73c41 [Bleeding] Implemented customizable permission messages. 2012-02-09 04:02:11 -05:00
Travis Watkins
103ead4346 [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
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