Commit Graph

512 Commits

Author SHA1 Message Date
EvilSeph
abbfb8e6e9 Added Instrument enum, Note class and get/setNote functions. Thanks xZise! 2011-06-17 03:13:34 -04:00
EvilSeph
a1c56e6d52 Added per player time support. Thanks eisental, Shamebot and needspeed10! 2011-06-17 02:28:25 -04:00
sunkid
a005d0a65d Added a general spawn method. 2011-06-17 01:57:12 -04:00
sunkid
52b7edc1ed Added setFire option to createExplosion methods. 2011-06-17 01:42:26 -04:00
sunkid
77a71670b4 Added setters to applicable MaterialData classes. 2011-06-17 01:39:30 -04:00
Dinnerbone
aec82a1fc9 Added set/getSpawnRadius in Server 2011-06-17 04:49:21 +01:00
Dinnerbone
95484bba53 Server administrators can now specify custom aliases in bukkit.yml which override any aliases set by plugins. 2011-06-17 04:07:17 +01:00
Dinnerbone
a329cf151b Removing 14 deprecated methods per http://bit.ly/mO2f4d 2011-06-16 22:06:18 +01:00
Dinnerbone
d920779bc8 Javadoc fix for BlockPopulator.java explaining which chunks exist and which don't 2011-06-16 20:34:12 +01:00
Dinnerbone
6d51a64bc7 Added ChunkPopulateEvent, new "newChunk" property on ChunkLoadEvent 2011-06-16 19:32:14 +01:00
EvilSeph
bacd83cb81 Made Pig extend Vehicle. 2011-06-15 15:05:12 -04:00
stevenh
ff73db325b Fixed fallbackPrefix not being lowercased, which would break prefixes for plugins with an uppercase char in the name 2011-06-12 16:35:26 +01:00
Erik Broes
c54ec090c8 Generic cleanup 2011-06-12 12:49:08 +02:00
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
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