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
Dinnerbone
4415112ea3
DDL generation methods
2011-04-01 16:09:23 +01:00
Dinnerbone
61b8c36233
Implemented ebeans
2011-04-01 16:09:23 +01:00
Erik Broes
9c1210e312
Fix IIOB error when dealing with an incomplete YAML && Nagging
2011-04-01 10:24:48 +02:00
Erik Broes
8b7ac0b39e
Catch YAML exceptions as InvalidPluginExceptions
2011-04-01 09:59:24 +02:00
Dinnerbone
2362fc6511
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
2595d5ef33
Seal-fail workaround
2011-03-31 14:16:13 +00:00
Erik Broes
f5803e1876
Just NAG once, to be nice
2011-03-30 00:38:46 +02:00
Erik Broes
a3319e525b
Add 'NagException' to disclose plugin fail
2011-03-30 00:25:11 +02:00
Dinnerbone
a1e7fb38c1
RegisterInterface reload bug fix
2011-03-29 21:29:46 +01:00
Erik Broes
cc899b0048
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
7004b6f040
Fix some wrong event creations after previous change
2011-03-26 23:19:50 +01:00
Erik Broes
94894216e8
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
6ece05bc73
Added player join event
2011-03-26 15:32:29 +01:00
Raphfrk
2275372cb1
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
700c8a20dd
Add PLAYER_INTERACT, remove BLOCK_RIGHT_CLICK, BLOCK_INTERACT and PLAYER_ITEM
2011-03-23 16:58:43 +01:00
Erik Broes
f0544a90fc
Added PlayerBucket events
2011-03-23 16:58:43 +01:00
Erik Broes
8cf7b9e371
Renamed many events/constants to be not past tense <-- Major Break says: "HI"
2011-03-23 16:58:26 +01:00
Dinnerbone
eb534613ac
onLoad optional...
2011-03-15 11:45:11 +00:00
Dinnerbone
6f9b8479c6
Plugins can no longer register events while disabled
2011-03-14 15:11:43 +00:00
Raphfrk
ebf1904fff
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
d733a32f7c
Reverted classloader changes by 1f0d89be27, now actually works! Again!
2011-03-08 18:22:52 +00:00
Dinnerbone
4879aee1b5
Adds basic plugin dependencies, courtesy of Raphfrk
2011-03-07 14:04:00 +00:00
VictorD
aa0614d785
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
2b1dc975f1
Added JavaPlugin.getCommand
2011-02-28 01:35:03 +00:00
Dinnerbone
2d7d0d9bdd
Readded default onCommand on plugins
2011-02-28 00:45:44 +00:00
Dinnerbone
95d92e406e
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
72e6769d68
Removed onPlayerCommand (PLAYER_COMMAND) (and fixed Fillr to stop using it)
2011-02-26 19:09:57 +00:00
Dinnerbone
1dac795bf1
No longer supporting the TSLPC (inb4pitchforks)
2011-02-25 22:01:21 +00:00
Dinnerbone
a647006042
onPluginEnabled after plugin is enabled + same for onPluginDisabled
2011-02-25 12:54:08 +00:00
Dinnerbone
414a19e247
Updating plugin nags to use logger
2011-02-20 02:29:12 +00:00
Dinnerbone
3c1255da0c
Added Server.getLogger, changed a few anonymous loggers to use it
2011-02-20 02:27:31 +00:00
sk89q
e529e44d86
Lowered the priority of the old command handler event because a number of plugins were using this event incorrectly. A new event, the command preprocesser event, has replaced the previous function of the original command event.
2011-02-19 17:47:49 -08:00
Dinnerbone
bc8134c7a1
And this is so that we don't have to support misbehaving plugins.
2011-02-20 00:47:21 +00:00
Dinnerbone
346de2a934
... Supporting the plugins which really shouldn't be doing what they're doing. Don't put crap in the constructor!
2011-02-20 00:43:06 +00:00
Dinnerbone
1a2c154145
Removed TSLPC (That Stupidly Long Plugin Constructor)
2011-02-20 00:13:25 +00:00