524 Commits

Author SHA1 Message Date
Tanel Suurhans
f03df70557 Added World.getPlayers 2011-02-28 16:37:21 +00: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
f2d19008c9 Added Server.getPluginCommand 2011-02-28 00:57:32 +00:00
Dinnerbone
a27b2703dd Case-insensitive commands 2011-02-28 00:52:43 +00:00
Dinnerbone
2d7d0d9bdd Readded default onCommand on plugins 2011-02-28 00:45:44 +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
27b680375f Added PlayerChatEvent.getRecipients 2011-02-26 19:31:13 +00:00
Dinnerbone
72e6769d68 Removed onPlayerCommand (PLAYER_COMMAND) (and fixed Fillr to stop using it) 2011-02-26 19:09:57 +00:00
Raphfrk
b53769f088 small change 2011-02-27 01:22:24 +08:00
Dinnerbone
1dac795bf1 No longer supporting the TSLPC (inb4pitchforks) 2011-02-25 22:01:21 +00:00
Dinnerbone
a647006042 onPluginEnabled after plugin is enabled + same for onPluginDisabled 2011-02-25 12:54:08 +00:00
Dinnerbone
bb4c973ada Added easy locToBlock in Location 2011-02-25 09:51:52 +00:00
sk89q
a69e19a9f7 Added Item.(get|set)ItemStack(). 2011-02-23 10:03:33 -08:00
Dinnerbone
fb30fd5fad Changed ConsoleCommandSender to use stripColor instead of hardcoded 2011-02-23 11:44:12 +00:00
Dinnerbone
0e0a76625b Added ChatColor.stripColor 2011-02-23 11:43:40 +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
Dinnerbone
090e066c27 ... And fixed diodes 2011-02-23 03:18:08 +00:00
Dinnerbone
f11b0d5932 Fixed bed items crashing 2011-02-23 03:12:44 +00:00
Dinnerbone
50d26af740 Added new materials 2011-02-23 02:45:19 +00:00
Tahg
dbab772ca8 refactor Items 2011-02-21 19:57:06 -05:00
Andrew Ardill
b93f044983 add isQueued() to allow plugins to know a task is still in the queue.
Currently, there is no way to know if a task is still being handled by
the scheduler. This method, along with isCurrentlyRunning() allows a
plugin author to determine if a task is waiting to be executed, being
executed, or neither.
2011-02-21 12:33:40 +11:00
Tahg
b2847fdf8c added yield to explosions 2011-02-19 23:36:59 -05:00
Dinnerbone
414a19e247 Updating plugin nags to use logger 2011-02-20 02:29:12 +00:00
Dinnerbone
3c1255da0c Added Server.getLogger, changed a few anonymous loggers to use it 2011-02-20 02:27:31 +00:00
sk89q
e529e44d86 Lowered the priority of the old command handler event because a number of plugins were using this event incorrectly. A new event, the command preprocesser event, has replaced the previous function of the original command event. 2011-02-19 17:47:49 -08:00
sk89q
5e7a59167d Added Entity.remove() which marks an entity for removal. 2011-02-19 17:47:48 -08:00
sk89q
eaddcfc675 Added slime as a possible creature type. 2011-02-19 17:47:47 -08:00
Dinnerbone
bc8134c7a1 And this is so that we don't have to support misbehaving plugins. 2011-02-20 00:47:21 +00:00
Dinnerbone
346de2a934 ... Supporting the plugins which really shouldn't be doing what they're doing. Don't put crap in the constructor! 2011-02-20 00:43:06 +00:00
Dinnerbone
1a2c154145 Removed TSLPC (That Stupidly Long Plugin Constructor) 2011-02-20 00:13:25 +00:00
Dinnerbone
e5db796188 Replaced Vector.hashCode with a more reliable method 2011-02-19 23:11:56 +00:00
Dinnerbone
3f971e42eb (Relatively) minor javadoc cleanup 2011-02-19 22:49:55 +00:00
Dinnerbone
eb7d3710e1 Fixed event priorities 2011-02-19 20:43:35 +00:00
Dinnerbone
361d8f2b9f Shifting damage events per http://forums.bukkit.org/threads/oops-i-broke-your-plugins.599/#post-67424 (This breaks stuff!) 2011-02-19 17:08:14 +00:00
EvilSeph
050f21b2f0 When deprecating, the alternative should be provided. 2011-02-19 06:00:55 -05:00
EvilSeph
a748069eb3 We need to set cmdSuccess accordingly. 2011-02-18 21:30:19 -05:00
Raphfrk
52954911bd Added target block ray trace functionality. 2011-02-18 20:47:59 -05:00
Protected
85a4bbce35 Added setFireTicks(), getFireTicks() and getMaxFireTicks(). 2011-02-18 17:34:58 -05:00
Dinnerbone
31f67329ce Added a whole buncha overloads for Location in World 2011-02-18 16:34:49 +00:00
Dinnerbone
1e94bb16f5 Location.getBlock() helper method 2011-02-18 16:28:42 +00:00
Dinnerbone
2188275a00 Exception handling in commands 2011-02-18 16:25:06 +00:00
Andrew Ardill
64e82042a6 Added spawnCreature(Location, CreatureType)
This function will allow spawning of creatures in the world, removing
the need to interface with CraftBukkit directly.
2011-02-17 18:02:12 +11:00
Andrew Ardill
ac68b8594e Renamed MobType->CreatureType and MobSpawner->CreatureSpawner.
This is to bring the names in line with the rest of bukkit.

Deprecated code has been left in to ensure nothing breaks as
a result of refactoring MobType.
This will be removed after 1 week, to give plugin devs time to
migrate
2011-02-17 18:01:25 +11: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
sk89q
69d3880730 Deprecated PlayerListener.onPlayerCommand(PlayerChatEvent event). 2011-02-16 21:47:05 -08:00
sk89q
eb150b642f Added Player.chat(). 2011-02-16 21:47:04 -08:00
ss2man44
93f6e5191e Added CREATURE_SPAWN event 2011-02-16 22:28:44 -05:00
Andrew Ardill
e345a982eb add function isCurrentlyRunning(int taskId);
returns if the given task is currently running.
2011-02-17 13:26:20 +11:00