Commit Graph

598 Commits

Author SHA1 Message Date
EvilSeph
c5fc81a42d Added ItemSpawnEvent. Thanks myers! 2011-06-11 00:26:18 -04:00
sk89q
2f06becddc Made Location less annoying to use. Too bad Location can't simply inherit Vector at this point without breaking things. 2011-06-09 23:50:10 -07:00
sk89q
46d4e20093 Added the ability to set a header when saving configuration files. 2011-06-09 23:31:00 -07:00
sk89q
e2bab1d47c Added World.createExplosion() that takes a Location, instead of just raw X, Y, Z values. 2011-06-09 23:13:36 -07:00
sk89q
a00efd634c Cleaned up some Javadocs. 2011-06-09 23:11:35 -07:00
sk89q
febba495d8 Moved playSound/Effect(Player, ...) to Player.playEffect(Location, ...) to be consistent, and because the code didn't really do what the Javadoc said. 2011-06-09 23:07:45 -07:00
sk89q
c0dfb02c10 Changed sound playing to effect dispatching, since these seem more like more like encompassing effect than mere sounds. 2011-06-09 22:57:44 -07:00
sk89q
a220975dec Merge branch 'sound' of https://github.com/sunkid/Bukkit 2011-06-09 22:38:21 -07:00
sunkid
069df1b6e6 added playSound methods to the World interface and a utility method to Location 2011-06-09 12:32:55 -07:00
EvilSeph
01a273d9a6 Added method to create an explosion in world. Thanks Zaraza107! 2011-06-09 04:12:39 -04:00
EvilSeph
d6f3999b70 Added EntityTame event. Thanks halvors! 2011-06-09 04:03:53 -04:00
raphfrk
1ebedadb82 Adds update chunk method for sending fake chunk updates to the client. This is to match the sendBlockChange method. 2011-06-08 18:55:31 -04:00
Stephen
92f8f6aba8 Added various 1.6 portal events. 2011-06-08 18:30:48 -04:00
EvilSeph
e72fe8bfe3 Added .equals() and .hashCode() to MaterialData. Thanks Edoxile! 2011-06-08 17:49:40 -04:00
EvilSeph
9f1e911a3f Fixed the value of empty YAML nodes being written as "null". Thanks rcjrrjcr! 2011-06-07 18:21:14 -04:00
EvilSeph
d256eea548 Added UniqueId to entities. Thanks Afforess! 2011-06-07 04:21:11 -04:00
EvilSeph
58bd5d063d Added ChunkSnapshot for efficient, thread-safe copies of Chunk data. Thanks mikeprimm! 2011-06-07 03:22:03 -04:00
Rigby
826bcf1d4a Implemented WorldUnloadEvent and unloadWorld(). 2011-06-07 02:51:31 -04:00
EvilSeph
888d201388 Fixed some item durability values. Thanks jascotty2! 2011-06-07 02:23:01 -04:00
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
Erik Broes
f9d49fb048 src/site/apt/index.apt 2011-05-13 17:07:31 +02: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
Erik Broes
f1c83b013e Missed site.xml for javadocs 2011-05-02 21:19:43 +02: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