524 Commits

Author SHA1 Message Date
Dinnerbone
cfb241f275 Added Creeper.set/isPowered 2011-04-21 16:15:59 +01:00
Dinnerbone
8bdbe6303b Added WEB, POWERED_RAIL and DETECTOR_RAIL to block list 2011-04-21 15:41:40 +01:00
Dinnerbone
df18fad33f Dammit, line endings! 2011-04-21 15:27:18 +01:00
Erik Broes
8cd170a819 Backwards incompatible change to match 1.4_00_01 2011-04-20 18:59:31 +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
93a3e2448d Fixin' the problem of AFK people not in bed. 2011-04-11 11:48:30 -07:00
sk89q
bd533b3c8a Added bed events and methods. 2011-04-07 11:26:33 -07:00
Dinnerbone
a521a8ae77 Line endings. This is getting very annoying. 2011-04-05 16:35:57 +01:00
EvilSeph
aa7c55627d Fixed PlayerInventoryEvent Type. 2011-04-04 20:40:46 -04: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
afforess
47d436c386 Added interface for player.saveData and player.loadData. 2011-04-03 15:53: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
sunkid
3d0781c8bf Ton of Material extensions handling the meta-data of blocks. 2011-04-03 11:28:19 +02:00
Raphfrk
04ddb17fce Added the ability to set the quit message 2011-04-02 18:25:33 +02:00
Stephen
a8be58032f Added getNearbyEntities 2011-04-02 17:24:45 +02:00
afforess
446dfee6d5 Entity.isDead returns true if the entity has been marked for removal 2011-04-02 17:20:05 +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
be4b01bf28 Configuration tweaks - enforce default + parent file nullcheck 2011-04-01 16:09:23 +01:00
Dinnerbone
61b8c36233 Implemented ebeans 2011-04-01 16:09:23 +01:00
Dinnerbone
a6b67158dc Made Server a singleton, accessible by Bukkit.getServer(). 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
0d98e831cc Missed a hard break 2011-03-31 23:02:39 +01: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
Dinnerbone
88771cac97 Added Wolf creature interface 2011-03-31 22:10:28 +01:00
Dinnerbone
97072919fb Added COOKIE and LOCKED_CHEST 2011-03-31 21:55:16 +01:00
Dinnerbone
eae2711738 Can now create worlds with specific seeds 2011-03-31 21:46:05 +01:00
Dinnerbone
e1055afd1f Line-endings! 2011-03-31 16:37:56 +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
6929a1830e Force compile-time failures for the subtle changes done in the API 2011-03-30 00:25:59 +02:00
Erik Broes
a3319e525b Add 'NagException' to disclose plugin fail 2011-03-30 00:25:11 +02:00
Erik Broes
08e33ad0c6 Add 'MONSTER' to CreatureType 2011-03-29 23:09:44 +02:00
Erik Broes
57b1b50610 Move passenger-handling to Entity 2011-03-29 23:09:44 +02:00
HACKhalo2
9baed69563 Added the KICK_WHITELIST Result for players being kicked from not being on the whitelist, just because KICK_BANNED didn't seem to fit. 2011-03-29 21:37:31 +01:00
Dinnerbone
a1e7fb38c1 RegisterInterface reload bug fix 2011-03-29 21:29:46 +01:00
sunkid
1ae3433d89 fixed PlayerCommandPreprocessEvent inheritance 2011-03-28 17:15:41 -07:00
Byron Shelden
2b3698d6b1 Fixed PlayerTeleportEvent so getType() returns Type.PLAYER_TELEPORT 2011-03-28 01:15:21 +02:00
Dinnerbone
32b3c77165 Line endings, consistency! 2011-03-27 21:27:27 +01:00
Erik Broes
6d987ec850 Fix Type of VehicleDamageEvent 2011-03-27 12:35:16 +02: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