feildmaster
bbc75c4a68
Improve javadoc in 26 files.
...
Addresses:
BUKKIT-1643, BUKKIT-1868, BUKKIT-1846, BUKKIT-2632, BUKKIT-3196,
BUKKIT-3187, BUKKIT-3198, BUKKIT-3200, BUKKIT-3201 and BUKKIT-3417.
2013-01-22 16:41:00 -06:00
Travis Watkins
601df7d25f
Remove duplicate message for console. Fixes BUKKIT-3267
2012-12-23 02:33:25 -06:00
feildmaster
c8150a3428
Apply commandBlockOutput to broadcastMessage. Addresses BUKKIT-3117
2012-12-18 04:47:56 -06:00
feildmaster
f3dfe8bd01
An executor set to null will now use the plugin. Fixes BUKKIT-3127
2012-12-09 00:31:25 -06:00
feildmaster
74a6fb9834
Add getShutdownMessage() and stop command arguments. Adds BUKKIT-3031
2012-12-05 06:06:44 -06:00
EvilSeph
288ec65421
Add ability to pass 'max' as 'level' for EnchantCommand.
2012-11-18 17:45:00 -05:00
EvilSeph
ea864fbaf7
Add default EnchantCommand. Tim, The Enchanter - I AM DEATH! Adds BUKKIT-2961
2012-11-17 01:14:41 -05:00
EvilSeph
f3468327b9
Essential core commands shouldn't be overriden. Fixes BUKKIT-1546
2012-11-17 00:27:36 -05:00
EvilSeph
9421e618b9
Add aliases to TellCommand to bring us in line with Vanilla behaviour.
2012-11-15 23:04:45 -05:00
EvilSeph
d31ca9e797
Remove unnecessary Overrides in Default commands.
2012-11-15 23:03:03 -05:00
EvilSeph
b2870e185a
Made KillCommand set the player health to 0 to allow it to work in Creative. Fixes BUKKIT-2949
2012-11-15 22:52:10 -05:00
EvilSeph
50814db38a
Added proper feedback to default commands.
2012-11-15 22:52:04 -05:00
EvilSeph
e94003894b
Add yaw and rotation to default TeleportCommand. Fixes BUKKIT-2774
2012-10-31 22:02:47 -04:00
Travis Watkins
07ba841f34
Add BlockCommandSender for Command block
2012-10-31 10:54:53 -05:00
Wesley Wolfe
bacc2e3596
Replace 'Magic Numbers' in commands.
...
These numbers are mirrored in vanilla code as the coordinate limits for
a world. Replaced usages to a static final member for code readability.
2012-10-31 04:19:11 -05:00
feildmaster
5fb6a4f82b
Add default GameRule command. Fixes BUKKIT-2671
2012-10-31 03:45:26 -04:00
EvilSeph
d9fdd9084e
Add default Clear command. Partially fixes BUKKIT-2671
2012-10-30 04:53:42 -04:00
EvilSeph
2bc78a82fe
Revert "Clear" commit, was not meant to be pushed.
...
This reverts commit bdf5d326f5 .
2012-10-30 02:50:38 -04:00
mbax
629f2e5c58
[Bleeding] Check for player validity in spawnpoint command. Fixes BUKKIT-2742
2012-10-30 02:11:14 -04:00
EvilSeph
bdf5d326f5
Clear
2012-10-30 01:18:01 -04:00
EvilSeph
b9dda28b5b
Update ExpCommand with levels support. Fixes BUKKIT-2683 and partially fixes BUKKIT-2671
2012-10-29 23:18:18 -04:00
EvilSeph
1bf5267f8a
Add default SpawnpointCommand. Partially fixes BUKKIT-2671
2012-10-29 05:06:04 -04:00
EvilSeph
012b814619
Add default WeatherCommand. Partially fixes BUKKIT-2671
2012-10-29 02:48:40 -04:00
EvilSeph
3b2e425abd
Remove invalid tab completions from DefaultGameModeCommand as player names are not an accepted parameter.
2012-10-29 02:12:07 -04:00
EvilSeph
05876e9042
Add default DifficultyCommand. Partially fixes BUKKIT-2671
2012-10-29 01:53:31 -04:00
Travis Watkins
d5d1b41c02
Update Bukkit for Minecraft 1.4(.2) changes.
2012-10-27 22:15:59 -04:00
Wesley Wolfe
7adaf4bb6b
Override toString() method in Command
...
Overriding the toString() method provides more human-readable feedback
when a problem occurs, including the version of the plugin if
applicable.
2012-10-19 15:46:28 -05:00
Score_Under
ede3fd278d
Add tab-completion API. Fixes BUKKIT-2181. Adds BUKKIT-2602
...
CommandMap contains a method that will auto-complete commands
appropriately. Before the first space, it searches for commands of which
the sender has permission. After the first space, it delegates to the
individual command.
Vanilla commands contain implementations to mimic vanilla
implementation. Exception would be give, that allows for name matching;
a feature we already allowed as part of the command is now supported for
auto-complete as well.
Plugin commands can get a tab completer set to delegate the completion
for. If no tab completer is set, it can check the executor to see if it
implements the tab completion interface. It will also attempt to chain
calls if null gets returned from these interfaces. Plugins also
implement the new TabCompleter interface, to add ease-of-use for plugin
developers, similar to the onCommand() method.
The default command implementation simply searches for player names.
To help facilitate command completion, a utility class was added with
two functions. One checks two strings, to see if the specified string
starts with (ignoring case) the second. The other method uses the first
to selectively copy elements from one collection to another.
2012-10-16 00:05:40 -05:00
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