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
sk89q
2406a4496d
Added dispenser event.
2011-05-08 02:57:26 -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
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
EvilSeph
4e3d770ad3
Added PlayerInteractEntityEvent which fires when a player right clicks an entity. Thanks fullwall!
2011-05-02 04:31:42 -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
EvilSeph
f0d14d156e
Added SnowFormEvent. Thanks aPunch!
2011-05-02 01:46:55 -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
Erik Broes
d94fce59ff
Updated README for line-ending demands, also fixed line-endigs.
2011-04-25 13:24:32 +02:00
sk89q
a7724a5138
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
ef5d72ec02
Added bed events and methods.
2011-04-07 11:26:33 -07:00
sk89q
b2dd16984f
Added a check for when the old and new data folders are the same.
2011-04-03 23:05:25 -07:00
Tahg
1723111b36
added some API for entities
2011-04-04 01:14:26 -04:00
Erik Broes
78c87ee4bf
Pluginnames can also space out now
2011-04-03 19:17:18 +02:00
Erik Broes
ead1f771c9
Forgot we have windows to support as well
2011-04-03 16:42:33 +02:00
Erik Broes
0de380f51c
A plugin's name can now only contain: [A-Za-z0-9()\[\]{}_.-]
2011-04-03 16:26:27 +02:00
Erik Broes
9b1c7348bd
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
49be099147
Added VEHICLE_DESTROY event
2011-04-02 17:10:36 +02:00
William Bowers
c105f68327
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
3fb7d7e240
Added {NAME} replacement in database location
2011-04-01 16:51:33 +01:00
Dinnerbone
8ba69aaf28
DDL generation methods
2011-04-01 16:09:23 +01:00
Dinnerbone
cf6b46bda9
Implemented ebeans
2011-04-01 16:09:23 +01:00
Erik Broes
d9c309d82c
Fix IIOB error when dealing with an incomplete YAML && Nagging
2011-04-01 10:24:48 +02:00
Erik Broes
faa15bc068
Catch YAML exceptions as InvalidPluginExceptions
2011-04-01 09:59:24 +02:00
Dinnerbone
fe2c6c7b1c
We weren't supposed to break things *that* hard. Plugins still need to update but here's a TEMPORARY fix.
2011-03-31 22:51:26 +01:00
lukegb
96305c2bc2
Seal-fail workaround
2011-03-31 14:16:13 +00:00
Erik Broes
d208614fcc
Just NAG once, to be nice
2011-03-30 00:38:46 +02:00
Erik Broes
f9767d4025
Add 'NagException' to disclose plugin fail
2011-03-30 00:25:11 +02:00
Dinnerbone
9c63b27755
RegisterInterface reload bug fix
2011-03-29 21:29:46 +01:00
Erik Broes
325fbdc01a
Change some more signatures :(
...
onPlayerCommandPreprocess(PlayerChatEvent event) -> onPlayerCommandPreprocess(PlayerCommandPreprocessEvent event)
onBlockFlow(BlockFromToEvent event) -> onBlockFromTo(BlockFromToEvent event)
onPlayerJoin(PlayerEvent event) -> onPlayerJoin(PlayerJoinEvent event)
onPlayerQuit(PlayerEvent event) -> onPlayerQuit(PlayerQuitEvent event)
onPlayerTeleport(PlayerMoveEvent event) -> onPlayerTeleport(PlayerTeleportEvent event)
2011-03-27 00:16:06 +01:00
Erik Broes
e07a997517
Fix some wrong event creations after previous change
2011-03-26 23:19:50 +01:00
Erik Broes
158906c132
Some more backwards incompatible changes (minor though), also a ton of small cleanup.
...
onPluginEnable(PluginEvent event) -> onPluginEnable(PluginEnableEvent event)
onPluginDisable(PluginEvent event) -> onPluginDisable(PluginDisableEvent event)
onVehicleUpdate(VehicleEvent event) -> onVehicleUpdate(VehicleUpdateEvent event)
onWorldSave(WorldEvent event) -> onWorldSave(WorldSaveEvent event)
onWorldLoad(WorldEvent event) -> onWorldLoad(WorldLoadEvent event)
2011-03-26 22:32:14 +01:00
Raphfrk
aa0732519c
Added player join event
2011-03-26 15:32:29 +01:00
Raphfrk
5aa266fd8c
Fixed basic dependency functionality - If class can't be found, all other .jar files are scanned
2011-03-25 20:36:59 +01:00
Erik Broes
49976e8ef3
Add PLAYER_INTERACT, remove BLOCK_RIGHT_CLICK, BLOCK_INTERACT and PLAYER_ITEM
2011-03-23 16:58:43 +01:00
Erik Broes
ae47996105
Added PlayerBucket events
2011-03-23 16:58:43 +01:00
Erik Broes
a6a128197c
Renamed many events/constants to be not past tense <-- Major Break says: "HI"
2011-03-23 16:58:26 +01:00
Dinnerbone
9768ecc96b
onLoad optional...
2011-03-15 11:45:11 +00:00
Dinnerbone
3d750c5440
Plugins can no longer register events while disabled
2011-03-14 15:11:43 +00:00
Raphfrk
157f9d9d9f
Adds an onLoad method to Plugin. The onLoad method is called for all plugins before the onEnable calls
2011-03-14 14:46:11 +00:00
Dinnerbone
8a0500b596
Reverted classloader changes by 1f0d89be27, now actually works! Again!
2011-03-08 18:22:52 +00:00
Dinnerbone
1f0d89be27
Adds basic plugin dependencies, courtesy of Raphfrk
2011-03-07 14:04:00 +00:00
VictorD
cd490d826b
Added a few null pointer checks and performed minor touchups (tried improving a few equals, clone and hashCode methods).
2011-03-05 12:27:51 +01:00
Dinnerbone
e8519fc347
Added JavaPlugin.getCommand
2011-02-28 01:35:03 +00:00
Dinnerbone
adcb291d05
Readded default onCommand on plugins
2011-02-28 00:45:44 +00:00
Dinnerbone
4fa84d995c
Tweaks to command system to allow setting executors via plugins (no more ambiguous onCommand in plugins)
2011-02-28 00:30:59 +00:00
Dinnerbone
dc313db919
Removed onPlayerCommand (PLAYER_COMMAND) (and fixed Fillr to stop using it)
2011-02-26 19:09:57 +00:00
Dinnerbone
72e3c06651
No longer supporting the TSLPC (inb4pitchforks)
2011-02-25 22:01:21 +00:00