VictorD
aa0614d785
Added a few null pointer checks and performed minor touchups (tried improving a few equals, clone and hashCode methods).
2011-03-05 12:27:51 +01:00
Dinnerbone
2b1dc975f1
Added JavaPlugin.getCommand
2011-02-28 01:35:03 +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
72e6769d68
Removed onPlayerCommand (PLAYER_COMMAND) (and fixed Fillr to stop using it)
2011-02-26 19:09:57 +00: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
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
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
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
ss2man44
93f6e5191e
Added CREATURE_SPAWN event
2011-02-16 22:28:44 -05:00
EvilSeph
c2020def62
Exposes recently added PLAYER_PICKUP_ITEM event.
2011-02-12 07:58:03 -05:00
culturespy
01ca4cc35b
Added EXPLOSION_PRIMED event.
2011-02-12 02:47:27 -05:00
Timberjaw
3cc8c0dae0
Added SIGN_CHANGE event.
2011-02-11 20:34:02 -05:00
Dinnerbone
2db95ba0b9
Added event for when a world is saved (EyvindRM)
2011-02-09 12:57:48 +00:00
Alexander Hesse
6ba990ecfd
Added Sneaking Event
2011-02-08 17:09:11 +01:00
Dinnerbone
634daae4f6
Just breaking some redstone plugins, don't mind me
2011-02-08 12:53:30 +00:00
Dinnerbone
46bc44ed5f
New event WORLD_LOADED
2011-02-08 12:06:34 +00:00
Raphfrk
2d43dcc125
Scheduler
2011-02-07 01:06:20 +01:00
Forsaken
0b998a2fe4
Added PlayerKick (setReason, setLeaveMessage, setCancelled) and PlayerRespawn (setLocation)
2011-02-06 12:13:18 +01:00
Meaglin
af9d2b86c3
Interface for BlockBreakEvent
2011-02-01 18:07:16 +01:00
Dinnerbone
1dba6e8874
Added PLAYER_DROP_ITEM
2011-02-01 10:45:39 +00:00
Dinnerbone
630f9a89d6
Added VEHICLE_UPDATE
2011-02-01 10:18:27 +00:00
Dinnerbone
000d2a300f
Added PLAYER_ITEM_HELD event
2011-01-31 01:34:23 +00:00
Dinnerbone
99bc01b602
Added INVENTORY_OPEN as a player event
2011-01-30 22:06:17 +00:00
stevenh
3b9f5f5e6c
Added new EventExecutor, missed in last commit
2011-01-29 21:18:47 +00:00
stevenh
47af4404bf
Renamed IExecutor -> CommandExecutor and fixed SERVER_COMMAND doc
2011-01-29 21:17:36 +00:00
stevenh
a984e73ac1
Finalising merge with head
2011-01-29 17:28:31 +00:00
stevenh
39c4a5a2e9
merge with head
2011-01-29 17:18:32 +00:00
stevenh
a89a96416b
Refactored event calling so its front loading avoiding the lookup for each event call.
...
This now uses an annoymous class implementing IExecutor that facilitates direct event method handler calling
Changed commands from being executed exclusively by a player to by a CommandSender to facilitate external command callers such as rcon
Fixed CustomEventListener
Merged in additional events
Added getFullName to PluginDescriptionFile which returns the combination of Name and Version
There's also a few bits of reformatting as it seems someones been editing with either tabs or dos eol :(
2011-01-29 16:23:56 +00:00
Dinnerbone
99549ef8cc
clearPlugins() and clearCommands() for PluginManager and CommandMap respectively
2011-01-28 14:18:24 +00:00
Taylor Kelly
54059e34bb
onDisable on stop - stephank
2011-01-27 16:15:24 -05:00
Dinnerbone
6c4698c313
ENTITY_DEATH
2011-01-27 13:25:20 +00:00
Taylor Kelly
b2efe28122
BlockBurnEvent
2011-01-26 16:13:04 -05:00
Taylor Kelly
30144a15d1
EntityTargetEvent
2011-01-26 14:27:43 -05:00
Dinnerbone
6a2a2c4218
Added extra plugin description fields
2011-01-20 16:26:56 +00:00
Dinnerbone
eee866bf25
Fixed empty check in PluginCommand
2011-01-20 03:08:15 +00:00
Nathan Wolf
dad2a46ba9
Address Feature#105:Implement support for PLAYER_ANIMATION hook/event.
...
Requires corresponding CraftBukkit change.
NOTE: The email address of this commit used to be: "Nathan Wolf < <nteske@gmail.com>"
This has been fixed but will cause all commits after to change.
2014-09-09 06:47:54 +02:00
mcasper
ab5cdfe224
Event hooks were ordered in backwards order versus the expected way. To avoid sorting problems and manual sorting, changed priority to be handled by a PriorityQueue<>() rather than a manually sorted List().
...
Resolves issue 211 http://bugs.bukkit.org/issues/211
2011-01-20 07:52:55 +08:00
VictorD
0951ed5de8
Updated commands to have optional aliases, and to fallback to /pluginName:cmdName on name conflict.
2011-01-18 01:12:50 +01:00
Tal Eisenberg
d06e0c1562
added call to onBlockRedstoneChange
2011-01-18 04:47:11 +08:00
speakeasy
f4908db7c1
Added EntityExplodeEvent :D
2011-01-18 00:22:02 +08:00
VictorD
8eeb293d2b
Added null check and removed unused method from Fillr
2011-01-16 17:05:13 +01:00
VictorD
267afcb0ea
Added command registration to plugin config file. Registered commands are sent to the corresponding plugin.onCommand method when executed.
2011-01-16 16:30:34 +01:00
durron597
d41105f3af
Removed unnecessary imports
2011-01-16 09:00:25 -05:00