Wesley Wolfe
5cdc3b3600
[Bleeding] Update serialVersionUID.
2012-02-13 02:42:05 -05:00
Feildmaster
c098ea4b56
[Bleeding] Added ability to register and listen to SubEvents. Addresses
...
BUKKIT-585
2012-02-13 01:08:15 -05:00
Zeerix
622399fa17
[Bleeding] Cleanup of exceptions org.bukkit.plugin.Invalid*
...
Removed throwable and message, because the superclass already stores them
Added message of inner exception to the outer exception to make the first line of the stacktrace more verbose
2012-02-13 01:05:18 -05:00
md_5
4c8cd25d91
[Bleeding] Add the ability for plugins to ignore cancelled events when
...
using the new event system.
2012-02-09 15:51:56 -05:00
Meaglin
c05887b956
Properly unregister plugin channels when a plugin gets disabled.
2012-02-09 03:49:51 -05:00
Nathan Adams
94e561ce50
onEnable and onDisable are no longer required implementations for JavaPlugins
2012-02-01 01:53:56 +00:00
EvilSeph
0a0fee8be2
Fixed plugin loader. Thanks Wolvereness!
2012-01-25 04:11:37 -05:00
Tahg
53261190cf
Updated timing code for new event system
2012-01-19 18:41:04 -05:00
Nathan Adams
c82666738f
Added new PlayerExpChangeEvent and PlayerLevelChangeEvent events. Thanks to feildmaster for the PR.
2012-01-19 16:07:03 +00:00
Erik Broes
792d2601e6
Use the type of the eventhandler method's parameter as type rather than specificing it. Thanks zml2008.
2012-01-19 08:13:49 +01:00
zml2008
a4ff34607b
Added a default to EventHandler.priority()
...
Fixed HandlerList.unregisterAll()
Fixed incorrect isAssignableFrom check in SimplePluginManager.getRegistrationClass()
2012-01-18 14:46:15 +01:00
Erik Broes
0062c83d81
Minor cleanup
2012-01-17 19:51:27 +01:00
Nathan Adams
e35037ab50
[Bleeding] Changed event system into a new, much faster design. Huge thanks to @zml2008 & @lahwran.
2012-01-17 19:46:22 +01:00
rmichela
05173f2200
[Bleeding] Added Plugin.getLogger() which returns a java.util.Logger that prefixes messages with the plugin name.
...
Note: the server when enabling or disabling a plugin will now by default log this.
2012-01-17 19:45:36 +01:00
Erik Broes
eb9dc64493
Generic cleaning
2012-01-15 14:37:43 +01:00
Nathan Adams
78cc950c50
Added "class-loader-of" field to plugin.yml. Big thanks to CmdrDats for the PR.
2012-01-15 12:54:06 +00:00
Nathan Adams
b2364780cb
Added an EntityCreatePortalEvent
2012-01-15 11:58:03 +00:00
Feildmaster
ec2ccae979
Don't send events to disabled plugins.
2012-01-15 08:18:44 +00:00
Nathan Adams
e9d96383f4
Changed PluginDisableEvent to fire before the disabling of a plugin, instead of after (where it's then invalid). Thanks to holic for the PR.
2012-01-15 08:16:57 +00:00
Feildmaster
0467c6aa06
Added ItemDespawnEvent
2012-01-14 17:01:03 +00:00
Nathan Adams
ebc7b22a10
Fixed nullcheck error message on null plugin (see previous commit)
2012-01-14 14:32:56 +00:00
Nathan Adams
987d277d91
Nullcheck in registerEvent (thanks to an old PR by LRFLEW - I'm sorry for the wait!)
2012-01-14 14:31:00 +00:00
Nathan Adams
55cc8722c8
Implemented new Plugin Message API - see http://dinnerbone.com/blog/2012/01/13/minecraft-plugin-channels-messaging/
2012-01-13 08:53:14 +00:00
Tahg
3d4c2010eb
Added timings command.
2012-01-09 23:44:17 -05:00
Nathan Adams
423974f236
Fix NPE when saving config before the config is loaded - thanks to Wolvereness for the pull request
2012-01-07 15:11:22 +00:00
Erik Broes
7235331440
Minor text changes
2012-01-04 09:09:25 +01:00
Erik Broes
dce83b6ce4
Generic cleanup of warnings, whitespace and style.
2011-12-25 16:02:30 +01:00
Nathan Adams
d9c22be882
Added plugin saveResources + saveDefaultConfig methods. This completes a bleeding branch by deltahat at http://forums.bukkit.org/threads/branch-complete-savedefaultconfig.48721/
2011-12-22 21:18:36 +00:00
Nathan Adams
09640d4ba3
Fixed silly NPE during shutdown when java becomes a meanie-pants and steals our lunch money :(
2011-12-09 17:14:00 +00:00
Nathan Adams
fc51ffee2e
Added onStructureGrow event, thanks to md-5.
2011-12-09 16:12:05 +00:00
Nathan Adams
146bc369f5
Fixed the fix of the fix of javaplugin.getResource
2011-11-22 00:03:16 +00:00
Nathan Adams
a13dc8f1b3
Fixed getResource not working post-reload, thanks to feildmaster
2011-11-13 11:11:45 +00: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
c97ea145ea
Added reloadConfig() plugin method
2011-10-11 15:50:59 +01:00
Nathan Adams
a714349005
Fixed NPE on unloading plugins
2011-10-11 04:41:34 +01:00
Nathan Adams
d75dd8b2cd
Lazy-load the old and new configs for plugins .getConfig
2011-10-10 23:04:01 +01:00
Nathan Adams
14d3401121
Small javadoc cleanup
2011-10-10 21:58:44 +01:00
Nathan Adams
dd7042407f
Updated snakeyaml to 1.9 (up from 1.7)
2011-10-10 21:39:27 +01:00
Dinnerbone
55f405f4a8
Added new Configuration classes
2011-10-10 21:06:34 +01:00
sunkid
e6fa9d9198
Added PlayerChangedWorldEvent.
2011-10-01 15:35:04 -04:00
EvilSeph
396e1866b8
Moved itr.remove() in loadPlugins(). Thanks lahwran!
...
This was moved so that the loop does not end until it has gone through a
whole pass without finding any loadable plugins.
2011-10-01 13:56:17 -04:00
EvilSeph
ebb8fdd6bc
Added SlimeSplit event. Thanks garbagemule!
...
The SlimeSplit event is fired when a Slime attempts to split upon death. The event may be cancelled, and the amount of smaller slimes may be customized.
2011-09-30 19:50:27 -04:00
sk89q
47a035440c
Added server list ping event.
2011-09-26 15:32:01 -07:00
Dinnerbone
e6c273e8b0
Many javadoc fixes thanks to Celtic Minstrel
2011-09-25 02:56:40 +01:00
EvilSeph
5480237d3b
Added FoodLevelChange event.
2011-09-21 22:16:45 -04:00
Rigby
b2e7c24e35
Added PlayerToggleSprint event and sprinting related API.
2011-09-21 16:19:17 -04:00
Dinnerbone
326f2aca9b
Permission registration in plugin.yml can now be easier, see https://gist.github.com/32dca3e937c1c42a4ed2 - also added "default-permission" option.
2011-09-20 21:20:07 +01:00
Wizjany
bed0cc340b
Added events for endermen pickup/placement blocks and methods to get/set the block that an enderman is holding. Thanks Wizjany
2011-09-20 18:48:56 +01:00
sunkid
c8b70c5a8f
addition of PlayerGameModeChangeEvent
2011-09-18 00:28:14 +01:00