Commit graph

583 commits

Author SHA1 Message Date
Bukkit/Spigot
b3c007d3a7 Added .equals() and .hashCode() to MaterialData. Thanks Edoxile!
By: EvilSeph <evilseph@unaligned.org>
2011-06-08 17:49:40 -04:00
Bukkit/Spigot
46b2baddf6 Fixed the value of empty YAML nodes being written as "null". Thanks rcjrrjcr!
By: EvilSeph <evilseph@unaligned.org>
2011-06-07 18:14:32 -04:00
Bukkit/Spigot
b91a8f0389 Added UniqueId to entities. Thanks Afforess!
By: EvilSeph <evilseph@unaligned.org>
2011-06-07 04:21:11 -04:00
Bukkit/Spigot
c6821f93c4 Added ChunkSnapshot for efficient, thread-safe copies of Chunk data. Thanks mikeprimm!
By: EvilSeph <evilseph@unaligned.org>
2011-06-07 03:22:03 -04:00
Bukkit/Spigot
516d253953 Implemented WorldUnloadEvent and unloadWorld().
By: Rigby <rigby@onarandombox.com>
2011-06-04 06:46:21 +01:00
Bukkit/Spigot
1dca6874d8 Fixed some item durability values. Thanks jascotty2!
By: EvilSeph <evilseph@unaligned.org>
2011-06-07 02:23:01 -04:00
Bukkit/Spigot
3996bf8026 Fixed TrapDoor and added MaterialData for LONG_GRASS. Thanks sunkid!
By: EvilSeph <evilseph@unaligned.org>
2011-06-07 02:15:19 -04:00
Bukkit/Spigot
e12c49e9d1 Plugins may now set a custom spawn point for a world during initialization
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-06-06 21:38:19 +01:00
Bukkit/Spigot
e82da4c5d2 Moved BlockProvider and ChunkGenerator to abstract classes for future backwards compat (ironically, this isn't backwards compat!)
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-06-06 21:11:47 +01:00
Bukkit/Spigot
6ad28ba607 Added custom world generator API
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-06-06 13:23:30 +01:00
Bukkit/Spigot
63a68b3e10 Added new Materials
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-05-26 06:28:24 +01:00
Bukkit/Spigot
6778c953f4 Added new World.Environment
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-05-26 06:14:48 +01:00
Bukkit/Spigot
e96e0e657f Fixed no command found being sent to the command sender for command handlers which return failure (false)
By: stevenh <steven.hartland@multiplay.co.uk>
2011-05-23 23:59:47 +01:00
Bukkit/Spigot
9469bb110d Added check and catch for errors during cancelTasks and unregister of services during plugin disable
By: stevenh <steven.hartland@multiplay.co.uk>
2011-05-22 22:18:05 +01:00
Bukkit/Spigot
8eddaae2f2 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

By: stevenh <steven.hartland@multiplay.co.uk>
2011-05-22 20:42:26 +01:00
Bukkit/Spigot
a679c0c906 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.

By: Celtic Minstrel <celtic.minstrel.ca@>
2011-03-30 17:36:39 -04:00
Bukkit/Spigot
12a93a05ff Added get/setLastDamageCause. Thanks sunkid!
By: EvilSeph <evilseph@unaligned.org>
2011-05-16 00:20:58 -04:00
Bukkit/Spigot
940c9f9974 Made disabled plugins show up in red in the plugins list. Thanks Yetanotherx!
By: EvilSeph <evilseph@unaligned.org>
2011-05-15 20:07:53 -04:00
Bukkit/Spigot
8afcd239d8 Reverted commits that broke plugin class loading, pending investigation.
By: EvilSeph <evilseph@unaligned.org>
2011-05-15 19:20:30 -04:00
Bukkit/Spigot
855f4133b6 Whitespace + general cleanup
By: Erik Broes <erikbroes@grum.nl>
2011-05-14 23:22:54 +02:00
Bukkit/Spigot
8217ff1836 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.
By: sk89q <the.sk89q@gmail.com>
2011-05-13 18:17:28 -07:00
Bukkit/Spigot
c9d98c3313 src/site/apt/index.apt
By: Erik Broes <erikbroes@grum.nl>
2011-05-13 17:07:31 +02:00
Bukkit/Spigot
94aac786c6 Guarded against plugins throwing exceptions on enable and disable to prevent potential corruption issues on server start and stop
By: stevenh <steven.hartland@multiplay.co.uk>
2011-05-13 14:50:03 +01:00
Bukkit/Spigot
4af56e3d16 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

By: stevenh <steven.hartland@multiplay.co.uk>
2011-05-13 01:57:00 +01:00
Bukkit/Spigot
11804b78a5 Added @DontExport annotation for telling Bukkit not to share a class with another plugin
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-05-12 23:09:24 +01:00
Bukkit/Spigot
2282eb15a5 Line endings. Don't make me yell at you.
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-05-12 22:28:09 +01:00
Bukkit/Spigot
3ce3db7f3a Added ability to saddle a pig to the API. Thanks xPaw!
By: Andrew Ardill <andrew.ardill@gmail.com>
2011-05-11 17:44:31 -07:00
Bukkit/Spigot
e40b7ab7c1 Added dispenser event.
By: sk89q <the.sk89q@gmail.com>
2011-05-08 02:56:38 -07:00
Bukkit/Spigot
e7d4bff770 Added World.strikeLightningEffect() that does no damage.
By: sk89q <the.sk89q@gmail.com>
2011-05-06 19:25:43 -07:00
Bukkit/Spigot
56ff9f5abd Changed LightningStrikeEvent to return a LightningStrike and not an Entity.
By: sk89q <the.sk89q@gmail.com>
2011-05-06 19:24:40 -07:00
Bukkit/Spigot
d6f44121b1 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.

By: EvilSeph <evilseph@unaligned.org>
2011-05-05 16:52:50 -04:00
Bukkit/Spigot
5b05f71501 Unadded (redundant) Wolf.isTamed().
By: sk89q <the.sk89q@gmail.com>
2011-05-02 21:36:48 -07:00
Bukkit/Spigot
a51630d16d Missed site.xml for javadocs
By: Erik Broes <erikbroes@grum.nl>
2011-05-02 21:19:14 +02:00
Bukkit/Spigot
705681db9b Added Wolf.isTamed().
By: sk89q <the.sk89q@gmail.com>
2011-05-02 11:33:37 -07:00
Bukkit/Spigot
960732b9f0 Added services manager framework. Services are interfaces that specifies capabilities to be implemented by providers. Example services include economy, <insert example 2>, etc.
By: sk89q <the.sk89q@gmail.com>
2011-05-02 11:31:00 -07:00
Bukkit/Spigot
fb2e2b7dcd Added method to fake a block change request for a player. Alas, my Justin Bieber playing sign can work again!
By: sk89q <the.sk89q@gmail.com>
2011-05-02 01:51:48 -07:00
Bukkit/Spigot
27488bda7e Added Player.playNote().
By: sk89q <the.sk89q@gmail.com>
2011-05-02 01:29:38 -07:00
Bukkit/Spigot
ab33042e35 Added NoteBlock.play(instrument, note).
By: sk89q <the.sk89q@gmail.com>
2011-05-02 01:19:57 -07:00
Bukkit/Spigot
f1e98caef2 Added javadoc generation, thanks lukegb
By: Erik Broes <erikbroes@grum.nl>
2011-05-02 19:42:01 +02:00
Bukkit/Spigot
b9681b5415 AnimalTamer and Tameable interfaces, and corresponding features.
Documentation improvements.

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-05-03 00:36:02 +10:00
Bukkit/Spigot
be1e3989c3 Add new Wolf methods for taming
By: Mike Primm <mike@primmhome.com>
2011-04-06 07:52:43 -05:00
Bukkit/Spigot
03ff88b71d Added PlayerInteractEntityEvent which fires when a player right clicks an entity. Thanks fullwall!
By: EvilSeph <evilseph@unaligned.org>
2011-05-02 04:30:10 -04:00
Bukkit/Spigot
33d8037626 Removed trailing spaces.
By: EvilSeph <evilseph@unaligned.org>
2011-05-02 04:15:27 -04:00
Bukkit/Spigot
5ef26c647b 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.

By: Raphfrk <raphfrk@gmail.com>
2011-04-27 20:35:08 +01:00
Bukkit/Spigot
788c41c330 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

By: Raphfrk <raphfrk@gmail.com>
2011-04-28 20:05:48 +01:00
Bukkit/Spigot
894465d3b7 Added setArmorContents as a method for PlayerInventory.
By: Raphfrk <raphfrk@gmail.com>
2011-04-29 00:28:13 +01:00
Bukkit/Spigot
2fc8673c04 Added SnowFormEvent. Thanks aPunch!
By: EvilSeph <evilseph@unaligned.org>
2011-05-02 01:21:47 -04:00
Bukkit/Spigot
4baa59e20f Removed trailing spaces.
By: EvilSeph <evilseph@unaligned.org>
2011-05-02 01:18:23 -04:00
Bukkit/Spigot
709aa84d2f Added per world PVP setting support.
By: Rigby <rigby@onarandombox.com>
2011-04-30 00:03:36 +01:00
Bukkit/Spigot
437f5c3f51 Add recipe classes and an addRecipe method in the server interface.
By: Celtic Minstrel <celtic.minstrel.ca@>
2011-04-16 11:34:31 -04:00