Commit Graph

193 Commits

Author SHA1 Message Date
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
Dinnerbone
103ceb2281 Switched to native weak hashmap instead of guavas for SimplePluginManager 2011-09-17 22:38:55 +01:00
Dinnerbone
6145ba5a7b Made JavaPluginLoader non-final 2011-09-03 20:46:04 +01:00
Dinnerbone
0484a8bd84 Added the ability to access offline players & more reverse lookup fixes in Permissible. 2011-09-03 00:41:22 +01:00
Dinnerbone
15be40194d Added method to retrieve all registered permissions 2011-08-29 14:58:42 +01:00
EvilSeph
7f12385332 Added API for manipulating map items. Thanks SpaceManiac, codename_B, sk89q and dested! 2011-08-12 22:02:15 -04:00
EvilSeph
57544d0d22 Added PlayerVelocityEvent. Thanks Evenprime! 2011-07-28 01:17:07 -04:00
EvilSeph
1f5c90052a 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
8fccc8ffca Made Permissions mutable, added methods to view which Permissibles are subscribed to which Permission 2011-07-20 18:05:04 +01:00
Dinnerbone
914da8e887 Added new permission system 2011-07-17 17:17:47 +01:00
Erik Broes
e403b3e000 Added Block.getPistonMoveReaction, BlockPistonExtend and BlockPistonRetractEvent 2011-07-17 17:02:37 +02:00
EvilSeph
d8d006200a Added PlayerFish event. 2011-07-03 01:31:09 -04:00
Dinnerbone
b76de1ee24 Register commands on any enable 2011-06-26 02:46:16 +01:00
Dinnerbone
5738f2e6fe Added new getDefaultWorldGenerator method to Plugin 2011-06-22 18:26:32 +01:00
Dinnerbone
90ca47e641 Added new plugin.yml option 'load', possible values are 'startup' and 'postworld' (default postworld) 2011-06-22 17:45:53 +01:00
EvilSeph
f4a2e801e9 Added Furnace smelt and burn events. 2011-06-20 01:29:29 -04:00
sunkid
7cab3de477 Added the concept of a projectile. 2011-06-18 22:20:47 -04:00
EvilSeph
7f333192cf Added BlockSpread, BlockForm and BlockFade events. 2011-06-17 23:04:45 -04:00
EvilSeph
99d9e5f66b Added EntityRegainHealthEvent. Thanks TimWolla! 2011-06-17 16:54:23 -04:00
Dinnerbone
6d51a64bc7 Added ChunkPopulateEvent, new "newChunk" property on ChunkLoadEvent 2011-06-16 19:32:14 +01:00
EvilSeph
c5fc81a42d Added ItemSpawnEvent. Thanks myers! 2011-06-11 00:26:18 -04:00
EvilSeph
d6f3999b70 Added EntityTame event. Thanks halvors! 2011-06-09 04:03:53 -04:00