Commit graph

503 commits

Author SHA1 Message Date
Bukkit/Spigot
0d5f7ece8a 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

By: Erik Broes <erikbroes@grum.nl>
2011-04-03 16:12:44 +02:00
Bukkit/Spigot
84a31c3951 Ton of Material extensions handling the meta-data of blocks.
By: sunkid <sunkid@iminurnetz.com>
2011-04-02 16:42:12 -07:00
Bukkit/Spigot
a449fb01d1 Package org.avaje:ebean, org.yaml:snakeyaml inside Bukkit's jar so people refusing to use maven have an easier time
By: Erik Broes <erikbroes@grum.nl>
2011-04-03 11:20:01 +02:00
Bukkit/Spigot
a977e93d7f Added the ability to set the quit message
By: Raphfrk <raphfrk@gmail.com>
2011-04-02 15:40:25 +01:00
Bukkit/Spigot
db2b313ee6 Added getNearbyEntities
By: Stephen <stephen@jazer.com>
2011-03-27 19:43:35 -04:00
Bukkit/Spigot
cd5056a7f6 Entity.isDead returns true if the entity has been marked for removal
By: afforess <afforess@gmail.com>
2011-04-02 01:07:41 -04:00
Bukkit/Spigot
22b860367d Added VEHICLE_DESTROY event
By: Robert Sargant <robert@sargant.com>
2011-03-16 13:11:13 +00:00
Bukkit/Spigot
531a69463a 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();
      }
  }

By: William Bowers <william.bowers@gmail.com>
2011-03-29 01:59:00 -07:00
Bukkit/Spigot
e7f980d6e9 Added {NAME} replacement in database location
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-04-01 16:51:33 +01:00
Bukkit/Spigot
2870b0e9bc DDL generation methods
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-04-01 04:48:12 +01:00
Bukkit/Spigot
7f8be3e195 Configuration tweaks - enforce default + parent file nullcheck
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-04-01 00:32:51 +01:00
Bukkit/Spigot
0373e53844 Implemented ebeans
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-04-01 16:04:43 +01:00
Bukkit/Spigot
41bcf14b27 Made Server a singleton, accessible by Bukkit.getServer().
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-03-30 14:54:37 +01:00
Bukkit/Spigot
9d24880b0e Fix IIOB error when dealing with an incomplete YAML && Nagging
By: Erik Broes <erikbroes@grum.nl>
2011-04-01 10:24:48 +02:00
Bukkit/Spigot
412fb96061 Catch YAML exceptions as InvalidPluginExceptions
By: Erik Broes <erikbroes@grum.nl>
2011-04-01 09:59:24 +02:00
Bukkit/Spigot
857d950045 Missed a hard break
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-03-31 23:02:39 +01:00
Bukkit/Spigot
19ec204cc9 We weren't supposed to break things *that* hard. Plugins still need to update but here's a TEMPORARY fix.
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-03-31 22:51:26 +01:00
Bukkit/Spigot
d15ff4b638 Added Wolf creature interface
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-03-31 22:10:28 +01:00
Bukkit/Spigot
a687d992de Added COOKIE and LOCKED_CHEST
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-03-31 21:55:16 +01:00
Bukkit/Spigot
598a09dcee Can now create worlds with specific seeds
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-03-31 21:46:05 +01:00
Bukkit/Spigot
8d8700833f Line-endings!
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-03-31 16:37:56 +01:00
Bukkit/Spigot
5ac485db46 Seal-fail workaround
By: lukegb <github@lukegb.com>
2011-03-31 14:16:13 +00:00
Bukkit/Spigot
69973b8617 Just NAG once, to be nice
By: Erik Broes <erikbroes@grum.nl>
2011-03-30 00:38:46 +02:00
Bukkit/Spigot
db5dfb3f10 Force compile-time failures for the subtle changes done in the API
By: Erik Broes <erikbroes@grum.nl>
2011-03-30 00:25:59 +02:00
Bukkit/Spigot
2e99a0f17d Add 'NagException' to disclose plugin fail
By: Erik Broes <erikbroes@grum.nl>
2011-03-30 00:25:11 +02:00
Bukkit/Spigot
ac1bef5739 Add 'MONSTER' to CreatureType
By: Erik Broes <erikbroes@grum.nl>
2011-03-29 23:09:37 +02:00
Bukkit/Spigot
d17f2813d9 Move passenger-handling to Entity
By: Erik Broes <erikbroes@grum.nl>
2011-03-29 23:09:05 +02:00
Bukkit/Spigot
de1f8b0dba Added the KICK_WHITELIST Result for players being kicked from not being on the whitelist, just because KICK_BANNED didn't seem to fit.
By: HACKhalo2 <hackhalotwo@gmail.com>
2011-03-20 02:06:19 -04:00
Bukkit/Spigot
8cef9edf82 RegisterInterface reload bug fix
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-03-29 21:29:46 +01:00
Bukkit/Spigot
7e6d0bd531 fixed PlayerCommandPreprocessEvent inheritance
By: sunkid <sunkid@iminurnetz.com>
2011-03-28 17:15:41 -07:00
Bukkit/Spigot
7237d8aa07 Fixed PlayerTeleportEvent so getType() returns Type.PLAYER_TELEPORT
By: Byron Shelden <byron.shelden@gmail.com>
2011-03-27 16:08:57 -07:00
Bukkit/Spigot
9418264170 Line endings, consistency!
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-03-27 21:27:27 +01:00
Bukkit/Spigot
125a380385 Fix Type of VehicleDamageEvent
By: Erik Broes <erikbroes@grum.nl>
2011-03-27 12:35:16 +02:00
Bukkit/Spigot
c640518469 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)

By: Erik Broes <erikbroes@grum.nl>
2011-03-27 00:16:06 +01:00
Bukkit/Spigot
41325be679 Fix some wrong event creations after previous change
By: Erik Broes <erikbroes@grum.nl>
2011-03-26 23:19:50 +01:00
Bukkit/Spigot
020da84ad2 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)

By: Erik Broes <erikbroes@grum.nl>
2011-03-26 22:21:20 +01:00
Bukkit/Spigot
f7b70eb07b Add setSheared() to Sheep and setSize() to Slimes.
By: Celtic Minstrel <celtic.minstrel.ca@>
2011-03-18 17:12:00 -04:00
Bukkit/Spigot
9c5c4622e2 Add material data classes for cake, jukeboxes, and diodes. Remove some unneeded ones.
By: Celtic Minstrel <celtic.minstrel.ca@>
2011-03-26 12:29:52 -04:00
Bukkit/Spigot
ae9f2fb195 World.spawnCreature now returns LivingEntity instead of Creature.
By: Celtic Minstrel <celtic.minstrel.ca@>
2011-03-19 01:33:38 -04:00
Bukkit/Spigot
6269963857 Fixed missing breaks breaking stuff.
By: Erik Broes <erikbroes@grum.nl>
2011-03-26 16:53:39 +01:00
Bukkit/Spigot
0bde75cc9d Added player join event
By: Raphfrk <raphfrk@gmail.com>
2011-03-26 11:29:48 +00:00
Bukkit/Spigot
0196ba1320 Added Server.getServerId() for ID purposes.
By: sk89q <the.sk89q@gmail.com>
2011-03-26 01:39:10 -07:00
Bukkit/Spigot
67b6abb580 Updated README.md
By: Erik Broes <erikbroes@grum.nl>
2011-03-25 23:22:00 +01:00
Bukkit/Spigot
26c1772bd8 added the MaterialData subclass Door
By: sunkid <sunkid@iminurnetz.com>
2011-03-25 14:54:58 -07:00
Bukkit/Spigot
022f95b2f1 Add: player.getCompassTarget
By: Erik Broes <erikbroes@grum.nl>
2011-03-25 21:01:55 +01:00
Bukkit/Spigot
65e79b2885 Fixed basic dependency functionality - If class can't be found, all other .jar files are scanned
By: Raphfrk <raphfrk@gmail.com>
2011-03-09 22:14:13 +00:00
Bukkit/Spigot
b4e1f91936 Add CreatureType.GIANT
By: Erik Broes <erikbroes@grum.nl>
2011-03-24 22:50:36 +01:00
Bukkit/Spigot
c51e8f2f54 Fix wrong useItemInHand setting
By: Erik Broes <erikbroes@grum.nl>
2011-03-24 22:50:12 +01:00
Bukkit/Spigot
b0cbecff2b Fix for placing blocks after interacting with a block
By: Erik Broes <erikbroes@grum.nl>
2011-03-24 12:12:21 +01:00
Bukkit/Spigot
3e56181918 Long overdue LivingEntity maximumNoDamageTicks, noDamageTicks, lastDamage
By: Erik Broes <erikbroes@grum.nl>
2011-03-24 00:31:59 +01:00