231 Commits

Author SHA1 Message Date
sk89q
b04b8379c6 Added the ability to register commands dynamically. 2011-10-13 01:17:10 -07:00
Nathan Adams
984c8ec90d Added reloadConfig() plugin method 2011-10-11 15:50:59 +01:00
Nathan Adams
c97dbc198d Fixed NPE on unloading plugins 2011-10-11 04:41:34 +01:00
Nathan Adams
5d8833a11c Lazy-load the old and new configs for plugins .getConfig 2011-10-10 23:04:01 +01:00
Nathan Adams
4485364e17 Small javadoc cleanup 2011-10-10 21:58:44 +01:00
Nathan Adams
8fd0cfc07f Updated snakeyaml to 1.9 (up from 1.7) 2011-10-10 21:39:27 +01:00
Dinnerbone
ee27cc07f0 Added new Configuration classes 2011-10-10 21:06:34 +01:00
sunkid
a457ea9784 Added PlayerChangedWorldEvent. 2011-10-01 15:35:04 -04:00
EvilSeph
0f885de3ba 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
7e210807f6 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
fff5598704 Added server list ping event. 2011-09-26 15:32:01 -07:00
Dinnerbone
fe4f4c5f58 Many javadoc fixes thanks to Celtic Minstrel 2011-09-25 02:56:40 +01:00
EvilSeph
abd8cf7bef Added FoodLevelChange event. 2011-09-21 22:16:45 -04:00
Rigby
81d2064441 Added PlayerToggleSprint event and sprinting related API. 2011-09-21 16:19:17 -04:00
Dinnerbone
5774aaa6a0 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
4f02864447 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
627e2af265 addition of PlayerGameModeChangeEvent 2011-09-18 00:28:14 +01:00
Dinnerbone
3d04c67ae4 Switched to native weak hashmap instead of guavas for SimplePluginManager 2011-09-17 22:38:55 +01:00
Dinnerbone
36995a46d1 Made JavaPluginLoader non-final 2011-09-03 20:46:04 +01:00
Dinnerbone
e1f69e0867 Added the ability to access offline players & more reverse lookup fixes in Permissible. 2011-09-03 00:41:22 +01:00
Dinnerbone
320d3ca835 Added method to retrieve all registered permissions 2011-08-29 14:58:42 +01:00
EvilSeph
b04d766ab0 Added API for manipulating map items. Thanks SpaceManiac, codename_B, sk89q and dested! 2011-08-12 22:02:15 -04:00
EvilSeph
ce36ff1cf9 Added PlayerVelocityEvent. Thanks Evenprime! 2011-07-28 01:17:07 -04:00
EvilSeph
f3fcc6f81f Removed deprecated methods.
getNote() that returns a byte has been replaced by getRawNote().
teleportTo(Location) has been replaced by teleport(location).
teleportTo(Entity) has been replaced by teleport(Entity).
SnowForm event has been replaced by BlockForm event.
2011-07-27 23:18:33 -04:00
Dinnerbone
ca86ea1eb7 Made Permissions mutable, added methods to view which Permissibles are subscribed to which Permission 2011-07-20 18:05:04 +01:00
Dinnerbone
fb594732b5 Added new permission system 2011-07-17 17:17:47 +01:00
Erik Broes
36d901c6b1 Added Block.getPistonMoveReaction, BlockPistonExtend and BlockPistonRetractEvent 2011-07-17 17:02:37 +02:00
EvilSeph
f92bc8a15f Added PlayerFish event. 2011-07-03 01:31:09 -04:00
Dinnerbone
c8b4ecc00a Register commands on any enable 2011-06-26 02:46:16 +01:00
Dinnerbone
faf2216d5c Added new getDefaultWorldGenerator method to Plugin 2011-06-22 18:26:32 +01:00
Dinnerbone
5978812c50 Added new plugin.yml option 'load', possible values are 'startup' and 'postworld' (default postworld) 2011-06-22 17:45:53 +01:00
EvilSeph
82a04fda10 Added Furnace smelt and burn events. 2011-06-20 01:29:29 -04:00
sunkid
230d6dfa7f Added the concept of a projectile. 2011-06-18 22:20:47 -04:00
EvilSeph
c42ee3f065 Added BlockSpread, BlockForm and BlockFade events. 2011-06-17 23:04:45 -04:00
EvilSeph
a5e6cfa714 Added EntityRegainHealthEvent. Thanks TimWolla! 2011-06-17 16:54:23 -04:00
Dinnerbone
04494c5b07 Added ChunkPopulateEvent, new "newChunk" property on ChunkLoadEvent 2011-06-16 19:32:14 +01:00
EvilSeph
7837906a2a Added ItemSpawnEvent. Thanks myers! 2011-06-11 00:26:18 -04:00
EvilSeph
8c3a7e75f6 Added EntityTame event. Thanks halvors! 2011-06-09 04:03:53 -04:00
Stephen
55bc828c2c Added various 1.6 portal events. 2011-06-08 18:30:48 -04:00
Rigby
4ef2edfc5b Implemented WorldUnloadEvent and unloadWorld(). 2011-06-07 02:51:31 -04:00
Dinnerbone
f784af8f3e Added custom world generator API 2011-06-06 18:37:20 +01:00
stevenh
a308c24a59 Added check and catch for errors during cancelTasks and unregister of services during plugin disable 2011-05-22 22:18:05 +01:00
EvilSeph
6590ff82f4 Reverted commits that broke plugin class loading, pending investigation. 2011-05-15 19:20:30 -04:00
Erik Broes
992f1f2bf3 Whitespace + general cleanup 2011-05-15 14:06:02 +02:00
sk89q
56816c9aa8 Fixed errors during plugin enable/disable leaving Bukkit in an undefined state. Previous fix would at least prevent plugins from breaking the server, but it aborted the enable/disable process prematurely. 2011-05-13 18:18:26 -07:00
stevenh
f3b752c5d9 Guarded against plugins throwing exceptions on enable and disable to prevent potential corruption issues on server start and stop 2011-05-13 14:50:03 +01:00
stevenh
e0c9b44db9 Fixed java plugin class loader so it works with plugins that contain classes also present in other plugins.
This also removes the changes from commit 1c4bde50bc12d130f6c8 which was added in order to fix this issue but wasn't ideal as it required plugins to be updated which isnt required with this fix
2011-05-13 01:57:00 +01:00
Dinnerbone
4188ba6215 Added @DontExport annotation for telling Bukkit not to share a class with another plugin 2011-05-12 23:09:24 +01:00
Dinnerbone
ed7a7ab265 Line endings. Don't make me yell at you. 2011-05-12 22:28:09 +01:00
sk89q
b87835c16d Added dispenser event. 2011-05-08 02:57:26 -07:00