Commit Graph

680 Commits

Author SHA1 Message Date
EvilSeph
2342c01048 Fixed TrapDoor and added MaterialData for LONG_GRASS. Thanks sunkid! 2011-06-07 02:15:55 -04:00
Dinnerbone
d9ee96bdd4 Plugins may now set a custom spawn point for a world during initialization 2011-06-06 21:38:19 +01:00
Dinnerbone
44fd5b2952 Moved BlockProvider and ChunkGenerator to abstract classes for future backwards compat (ironically, this isn't backwards compat!) 2011-06-06 21:11:47 +01:00
Dinnerbone
bca3b8d0c5 Added custom world generator API 2011-06-06 18:37:20 +01:00
Dinnerbone
6a23a9122b Added new Materials 2011-05-26 13:45:55 +01:00
Dinnerbone
e7019b40e3 Added new World.Environment 2011-05-26 06:14:48 +01:00
stevenh
7a035d60ea Fixed no command found being sent to the command sender for command handlers which return failure (false) 2011-05-23 23:59:47 +01:00
stevenh
127e1adc4c Added check and catch for errors during cancelTasks and unregister of services during plugin disable 2011-05-22 22:18:05 +01:00
stevenh
801132b89f Reworked command registration so that aliases are secondary to the primary command label requested
Updated docs to reflect what the code really does
This adds a few new methods to Command including:-
* A full constructor that takes descriptio, usageMassage and aliases for convenience
* getLabel() which returns the active label for a command, which is derived from the Command name or subsiquent call to setLabel(..)
* A number of registration functions for use in the CommandMap implementer
Also of note is Command.getAliases() no returns the "active" aliases
2011-05-22 20:42:26 +01:00
Celtic Minstrel
764ef1c25d Fixed command aliases priorities.
Command aliases are now given lower weight than the "official" name of the command; this allows you to define aliases without worrying about them overriding someone else's command.
2011-05-16 00:41:51 -04:00
EvilSeph
7c9b2b9f40 Added get/setLastDamageCause. Thanks sunkid! 2011-05-16 00:25:35 -04:00
EvilSeph
86ca0f5c67 Made disabled plugins show up in red in the plugins list. Thanks Yetanotherx! 2011-05-15 20:07:53 -04:00
EvilSeph
5709858cf0 Reverted commits that broke plugin class loading, pending investigation. 2011-05-15 19:20:30 -04:00
Erik Broes
c4d444ce98 Whitespace + general cleanup 2011-05-15 14:06:02 +02:00
sk89q
4e0d676b2c 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
2bdb275663 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
29d16f43af 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 1c4bde50bc 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
1c4bde50bc Added @DontExport annotation for telling Bukkit not to share a class with another plugin 2011-05-12 23:09:24 +01:00
Dinnerbone
5e82e3b3ea Line endings. Don't make me yell at you. 2011-05-12 22:28:09 +01:00
Andrew Ardill
ccedca6cb6 Added ability to saddle a pig to the API. Thanks xPaw! 2011-05-11 17:44:31 -07:00
sk89q
2406a4496d Added dispenser event. 2011-05-08 02:57:26 -07:00
sk89q
b09635228e Added World.strikeLightningEffect() that does no damage. 2011-05-06 19:25:43 -07:00
sk89q
b67483a069 Changed LightningStrikeEvent to return a LightningStrike and not an Entity. 2011-05-06 19:24:40 -07:00
EvilSeph
bb7b91b4d4 Added support for an update on load feature for plugins. Thanks Raphfrk!
Any files placed in the new (optional) update folder are automatically copied into the plugins directory the next time a reload happens. This allows safe updating of the plugin .jar files.
2011-05-05 20:18:12 -04:00
sk89q
e3ce0071fd Unadded (redundant) Wolf.isTamed(). 2011-05-02 21:36:48 -07:00
sk89q
ad6346bda8 Added Wolf.isTamed(). 2011-05-02 11:34:01 -07:00
sk89q
67f1d7b041 Added services manager framework. Services are interfaces that specifies capabilities to be implemented by providers. Example services include economy, <insert example 2>, etc. 2011-05-02 11:31:30 -07:00
sk89q
267814484a Added method to fake a block change request for a player. Alas, my Justin Bieber playing sign can work again! 2011-05-02 11:31:29 -07:00
sk89q
b34ba416c6 Added Player.playNote(). 2011-05-02 11:31:29 -07:00
sk89q
967fa10425 Added NoteBlock.play(instrument, note). 2011-05-02 11:31:29 -07:00
Andrew Ardill
906992e590 AnimalTamer and Tameable interfaces, and corresponding features.
Documentation improvements.
2011-05-03 00:36:02 +10:00
Mike Primm
cf049d53e5 Add new Wolf methods for taming 2011-05-02 23:51:50 +10:00
EvilSeph
4e3d770ad3 Added PlayerInteractEntityEvent which fires when a player right clicks an entity. Thanks fullwall! 2011-05-02 04:31:42 -04:00
EvilSeph
5c4f940bff Removed trailing spaces. 2011-05-02 04:15:27 -04:00
Raphfrk
4475e0f160 Added support for soft dependencies.
Soft dependencies allow plugins to request to be loaded after another plugin, but they will not throw an UnknownDependency exception if the other plugin is not present.
2011-05-02 03:33:46 -04:00
Raphfrk
e5d04dc923 Improved the Scheduler.
Adds nag message when async tasks are not properly shut down and adds a limiter for sync tasks. Once they use 35ms in a single tick, any remaining tasks are not executed until later ticks. Adds a method to report the pending tasks and one to report active worker threads
2011-05-02 02:34:59 -04:00
Raphfrk
f96a416785 Added setArmorContents as a method for PlayerInventory. 2011-05-02 02:08:06 -04:00
EvilSeph
f0d14d156e Added SnowFormEvent. Thanks aPunch! 2011-05-02 01:46:55 -04:00
EvilSeph
de28e15e50 Removed trailing spaces. 2011-05-02 01:18:23 -04:00
Rigby
d9593800e6 Added per world PVP setting support. 2011-05-02 00:28:33 -04:00
Celtic Minstrel
2b408e236a Add recipe classes and an addRecipe method in the server interface. 2011-05-01 23:40:15 -04:00
EvilSeph
22e7e7afcf Fixed formatting and removed tabs. 2011-04-27 23:48:43 -04:00
EvilSeph
b0e81bcc7b Added a lot of events relating to weather, including those for entities. Thanks wizjany! 2011-04-25 19:46:10 -04:00
Stephen
a6c61782ac Added painting events (thanks verrier and tanelsuurhans) 2011-04-25 23:25:55 +02:00
sunkid
51731221d0 Added MaterialData support for SAPPLING, POWERED_RAIL, and DETECTOR_RAIL. 2011-04-25 17:17:21 -04:00
Rigby
3081b6ad16 Added the ability to retrieve a world's Seed. 2011-04-25 16:48:44 -04:00
Erik Broes
d94fce59ff Updated README for line-ending demands, also fixed line-endigs. 2011-04-25 13:24:32 +02:00
EvilSeph
4ffc9a6d57 Fixed getData() not returning the correct values. 2011-04-25 07:17:12 -04:00
EvilSeph
54fc471ec5 Fixed AIOOBE when entering a space into console and hitting enter. 2011-04-24 21:49:45 -04:00
sk89q
6a92cc783e Add methods to control thunder. 2011-04-22 03:12:54 -07:00