162 Commits

Author SHA1 Message Date
Dinnerbone
e1f69e0867 Added the ability to access offline players & more reverse lookup fixes in Permissible. 2011-09-03 00:41:22 +01:00
Dinnerbone
320d3ca835 Added method to retrieve all registered permissions 2011-08-29 14:58:42 +01:00
EvilSeph
b04d766ab0 Added API for manipulating map items. Thanks SpaceManiac, codename_B, sk89q and dested! 2011-08-12 22:02:15 -04:00
EvilSeph
ce36ff1cf9 Added PlayerVelocityEvent. Thanks Evenprime! 2011-07-28 01:17:07 -04:00
EvilSeph
f3fcc6f81f 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
ca86ea1eb7 Made Permissions mutable, added methods to view which Permissibles are subscribed to which Permission 2011-07-20 18:05:04 +01:00
Dinnerbone
fb594732b5 Added new permission system 2011-07-17 17:17:47 +01:00
Erik Broes
36d901c6b1 Added Block.getPistonMoveReaction, BlockPistonExtend and BlockPistonRetractEvent 2011-07-17 17:02:37 +02:00
EvilSeph
f92bc8a15f Added PlayerFish event. 2011-07-03 01:31:09 -04:00
Dinnerbone
c8b4ecc00a Register commands on any enable 2011-06-26 02:46:16 +01:00
Dinnerbone
faf2216d5c Added new getDefaultWorldGenerator method to Plugin 2011-06-22 18:26:32 +01:00
Dinnerbone
5978812c50 Added new plugin.yml option 'load', possible values are 'startup' and 'postworld' (default postworld) 2011-06-22 17:45:53 +01:00
EvilSeph
82a04fda10 Added Furnace smelt and burn events. 2011-06-20 01:29:29 -04:00
sunkid
230d6dfa7f Added the concept of a projectile. 2011-06-18 22:20:47 -04:00
EvilSeph
c42ee3f065 Added BlockSpread, BlockForm and BlockFade events. 2011-06-17 23:04:45 -04:00
EvilSeph
a5e6cfa714 Added EntityRegainHealthEvent. Thanks TimWolla! 2011-06-17 16:54:23 -04:00
Dinnerbone
04494c5b07 Added ChunkPopulateEvent, new "newChunk" property on ChunkLoadEvent 2011-06-16 19:32:14 +01:00
EvilSeph
7837906a2a Added ItemSpawnEvent. Thanks myers! 2011-06-11 00:26:18 -04:00
EvilSeph
8c3a7e75f6 Added EntityTame event. Thanks halvors! 2011-06-09 04:03:53 -04:00
Stephen
55bc828c2c Added various 1.6 portal events. 2011-06-08 18:30:48 -04:00
Rigby
4ef2edfc5b Implemented WorldUnloadEvent and unloadWorld(). 2011-06-07 02:51:31 -04:00
Dinnerbone
f784af8f3e Added custom world generator API 2011-06-06 18:37:20 +01:00
stevenh
a308c24a59 Added check and catch for errors during cancelTasks and unregister of services during plugin disable 2011-05-22 22:18:05 +01:00
EvilSeph
6590ff82f4 Reverted commits that broke plugin class loading, pending investigation. 2011-05-15 19:20:30 -04:00
Erik Broes
992f1f2bf3 Whitespace + general cleanup 2011-05-15 14:06:02 +02:00
sk89q
56816c9aa8 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
f3b752c5d9 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
e0c9b44db9 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
2011-05-13 01:57:00 +01:00
Dinnerbone
4188ba6215 Added @DontExport annotation for telling Bukkit not to share a class with another plugin 2011-05-12 23:09:24 +01:00
Dinnerbone
ed7a7ab265 Line endings. Don't make me yell at you. 2011-05-12 22:28:09 +01:00
sk89q
b87835c16d Added dispenser event. 2011-05-08 02:57:26 -07:00
EvilSeph
6d4df77586 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
25faa992ec 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
EvilSeph
7570b5bfaf Added PlayerInteractEntityEvent which fires when a player right clicks an entity. Thanks fullwall! 2011-05-02 04:31:42 -04:00
Raphfrk
4c06eff3be 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
EvilSeph
8b1190626b Added SnowFormEvent. Thanks aPunch! 2011-05-02 01:46:55 -04:00
EvilSeph
a5aa113ce3 Added a lot of events relating to weather, including those for entities. Thanks wizjany! 2011-04-25 19:46:10 -04:00
Stephen
bd5d86665a Added painting events (thanks verrier and tanelsuurhans) 2011-04-25 23:25:55 +02:00
Erik Broes
b39503de71 Updated README for line-ending demands, also fixed line-endigs. 2011-04-25 13:24:32 +02:00
sk89q
3791a158de Added pre-login event for catching logins right after name verification has completed. This happens in a different thread from the server (and thus can also block). 2011-04-16 03:08:05 -07:00
sk89q
bd533b3c8a Added bed events and methods. 2011-04-07 11:26:33 -07:00
sk89q
e6a51fb149 Added a check for when the old and new data folders are the same. 2011-04-03 23:05:25 -07:00
Tahg
4378464989 added some API for entities 2011-04-04 01:14:26 -04:00
Erik Broes
4d0acea6c9 Pluginnames can also space out now 2011-04-03 19:17:18 +02:00
Erik Broes
bb3e3325ad Forgot we have windows to support as well 2011-04-03 16:42:33 +02:00
Erik Broes
d2d7ea50eb A plugin's name can now only contain: [A-Za-z0-9()\[\]{}_.-] 2011-04-03 16:26:27 +02:00
Erik Broes
5fd890208f Plugin's datafolders are now named after the plugin's name (from config.yml)
The code will automagically rename the old data folder to the new format (if it can)
or else throw a fatal error you better solve :D
2011-04-03 16:12:44 +02:00
Robert Sargant
c5fbd41659 Added VEHICLE_DESTROY event 2011-04-02 17:10:36 +02:00
William Bowers
287114f8ed Added the SPAWN_CHANGE event, which occurs when a world's spawn is changed.
This event includes the world who's spawn changed and its previous spawn location.

To listen for this event:
  PluginManager pm = getServer().getPluginManager();
  YourWorldListener worldListener = new YourWorldListener(this);
  pm.registerEvent(Event.Type.SPAWN_CHANGE, worldListener, Priority.Normal, this);

To use this event:
  public class YourWorldListener extends WorldListener {
      @Override
      public void onSpawnChange(SpawnChangeEvent event) {
          World world = event.getWorld();
          Location previousLocation = event.getPreviousLocation();
      }
  }
2011-04-02 17:00:29 +02:00
Dinnerbone
3f2a31fa5e Added {NAME} replacement in database location 2011-04-01 16:51:33 +01:00