Commit Graph

610 Commits

Author SHA1 Message Date
Bukkit/Spigot
4af56e3d16 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

By: stevenh <steven.hartland@multiplay.co.uk>
2011-05-13 01:57:00 +01:00
Bukkit/Spigot
11804b78a5 Added @DontExport annotation for telling Bukkit not to share a class with another plugin
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-05-12 23:09:24 +01:00
Bukkit/Spigot
2282eb15a5 Line endings. Don't make me yell at you.
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-05-12 22:28:09 +01:00
Bukkit/Spigot
3ce3db7f3a Added ability to saddle a pig to the API. Thanks xPaw!
By: Andrew Ardill <andrew.ardill@gmail.com>
2011-05-11 17:44:31 -07:00
Bukkit/Spigot
e40b7ab7c1 Added dispenser event.
By: sk89q <the.sk89q@gmail.com>
2011-05-08 02:56:38 -07:00
Bukkit/Spigot
e7d4bff770 Added World.strikeLightningEffect() that does no damage.
By: sk89q <the.sk89q@gmail.com>
2011-05-06 19:25:43 -07:00
Bukkit/Spigot
56ff9f5abd Changed LightningStrikeEvent to return a LightningStrike and not an Entity.
By: sk89q <the.sk89q@gmail.com>
2011-05-06 19:24:40 -07:00
Bukkit/Spigot
d6f44121b1 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.

By: EvilSeph <evilseph@unaligned.org>
2011-05-05 16:52:50 -04:00
Bukkit/Spigot
5b05f71501 Unadded (redundant) Wolf.isTamed().
By: sk89q <the.sk89q@gmail.com>
2011-05-02 21:36:48 -07:00
Bukkit/Spigot
a51630d16d Missed site.xml for javadocs
By: Erik Broes <erikbroes@grum.nl>
2011-05-02 21:19:14 +02:00
Bukkit/Spigot
705681db9b Added Wolf.isTamed().
By: sk89q <the.sk89q@gmail.com>
2011-05-02 11:33:37 -07:00
Bukkit/Spigot
960732b9f0 Added services manager framework. Services are interfaces that specifies capabilities to be implemented by providers. Example services include economy, <insert example 2>, etc.
By: sk89q <the.sk89q@gmail.com>
2011-05-02 11:31:00 -07:00
Bukkit/Spigot
fb2e2b7dcd Added method to fake a block change request for a player. Alas, my Justin Bieber playing sign can work again!
By: sk89q <the.sk89q@gmail.com>
2011-05-02 01:51:48 -07:00
Bukkit/Spigot
27488bda7e Added Player.playNote().
By: sk89q <the.sk89q@gmail.com>
2011-05-02 01:29:38 -07:00
Bukkit/Spigot
ab33042e35 Added NoteBlock.play(instrument, note).
By: sk89q <the.sk89q@gmail.com>
2011-05-02 01:19:57 -07:00
Bukkit/Spigot
f1e98caef2 Added javadoc generation, thanks lukegb
By: Erik Broes <erikbroes@grum.nl>
2011-05-02 19:42:01 +02:00
Bukkit/Spigot
b9681b5415 AnimalTamer and Tameable interfaces, and corresponding features.
Documentation improvements.

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-05-03 00:36:02 +10:00
Bukkit/Spigot
be1e3989c3 Add new Wolf methods for taming
By: Mike Primm <mike@primmhome.com>
2011-04-06 07:52:43 -05:00
Bukkit/Spigot
03ff88b71d Added PlayerInteractEntityEvent which fires when a player right clicks an entity. Thanks fullwall!
By: EvilSeph <evilseph@unaligned.org>
2011-05-02 04:30:10 -04:00
Bukkit/Spigot
33d8037626 Removed trailing spaces.
By: EvilSeph <evilseph@unaligned.org>
2011-05-02 04:15:27 -04:00
Bukkit/Spigot
5ef26c647b 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.

By: Raphfrk <raphfrk@gmail.com>
2011-04-27 20:35:08 +01:00
Bukkit/Spigot
788c41c330 Improved the Scheduler.
Adds nag message when async tasks are not properly shut down and adds a limiter for sync tasks. Once they use 35ms in a single tick, any remaining tasks are not executed until later ticks. Adds a method to report the pending tasks and one to report active worker threads

By: Raphfrk <raphfrk@gmail.com>
2011-04-28 20:05:48 +01:00
Bukkit/Spigot
894465d3b7 Added setArmorContents as a method for PlayerInventory.
By: Raphfrk <raphfrk@gmail.com>
2011-04-29 00:28:13 +01:00
Bukkit/Spigot
2fc8673c04 Added SnowFormEvent. Thanks aPunch!
By: EvilSeph <evilseph@unaligned.org>
2011-05-02 01:21:47 -04:00
Bukkit/Spigot
4baa59e20f Removed trailing spaces.
By: EvilSeph <evilseph@unaligned.org>
2011-05-02 01:18:23 -04:00
Bukkit/Spigot
709aa84d2f Added per world PVP setting support.
By: Rigby <rigby@onarandombox.com>
2011-04-30 00:03:36 +01:00
Bukkit/Spigot
437f5c3f51 Add recipe classes and an addRecipe method in the server interface.
By: Celtic Minstrel <celtic.minstrel.ca@>
2011-04-16 11:34:31 -04:00
Bukkit/Spigot
7d382b5ee6 Fixed formatting and removed tabs.
By: EvilSeph <evilseph@unaligned.org>
2011-04-27 23:48:43 -04:00
Bukkit/Spigot
de05942efa Added a lot of events relating to weather, including those for entities. Thanks wizjany!
By: EvilSeph <evilseph@unaligned.org>
2011-04-25 19:46:10 -04:00
Bukkit/Spigot
08decac14e Added painting events (thanks verrier and tanelsuurhans)
By: Stephen <stephen@jazer.com>
2011-04-11 23:06:34 -04:00
Bukkit/Spigot
314c53177e Added MaterialData support for SAPPLING, POWERED_RAIL, and DETECTOR_RAIL.
By: sunkid <sunkid@iminurnetz.com>
2011-04-25 13:26:58 -07:00
Bukkit/Spigot
24eb39b2e6 Added the ability to retrieve a world's Seed.
By: Rigby <rigby@onarandombox.com>
2011-04-23 17:57:30 +01:00
Bukkit/Spigot
2556140901 Updated README for line-ending demands, also fixed line-endigs.
By: Erik Broes <erikbroes@grum.nl>
2011-04-25 13:24:32 +02:00
Bukkit/Spigot
485a47aac4 Fixed getData() not returning the correct values.
By: EvilSeph <evilseph@unaligned.org>
2011-04-25 07:17:12 -04:00
Bukkit/Spigot
865f44281e Fixed AIOOBE when entering a space into console and hitting enter.
By: EvilSeph <evilseph@unaligned.org>
2011-04-24 21:49:45 -04:00
Bukkit/Spigot
fbb5ca1dc6 Add methods to control thunder.
By: sk89q <the.sk89q@gmail.com>
2011-04-22 03:12:54 -07:00
Bukkit/Spigot
28011b1217 Added weather control methods.
By: sk89q <the.sk89q@gmail.com>
2011-04-22 02:17:53 -07:00
Bukkit/Spigot
60bfea1fce Added World.strikeLightning(). Also renamed WeatherStorm -> LightningStrike.
By: sk89q <the.sk89q@gmail.com>
2011-04-22 01:25:41 -07:00
Bukkit/Spigot
5b405adff6 Added lightning as a cause for fires.
By: sk89q <the.sk89q@gmail.com>
2011-04-22 01:17:53 -07:00
Bukkit/Spigot
d1dd71d6e5 Added Achievement and Statistics
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-04-21 20:56:19 +01:00
Bukkit/Spigot
b88fc4c09c Added LIGHTNING as a possible source of damage
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-04-21 17:29:07 +01:00
Bukkit/Spigot
a6d7f003fd Added Weather and WeatherStorm
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-04-21 16:51:43 +01:00
Bukkit/Spigot
101cdea636 Added Creeper.set/isPowered
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-04-21 16:15:59 +01:00
Bukkit/Spigot
60dcfade3c Added WEB, POWERED_RAIL and DETECTOR_RAIL to block list
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-04-21 15:41:40 +01:00
Bukkit/Spigot
42104fcf61 Dammit, line endings!
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-04-21 15:27:18 +01:00
Bukkit/Spigot
e943cffb00 Backwards incompatible change to match 1.4_00_01
By: Erik Broes <erikbroes@grum.nl>
2011-04-20 18:59:31 +02:00
Bukkit/Spigot
a53996b243 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).
By: sk89q <the.sk89q@gmail.com>
2011-04-16 03:08:05 -07:00
Bukkit/Spigot
752c217557 Fixin' the problem of AFK people not in bed.
By: sk89q <the.sk89q@gmail.com>
2011-04-11 11:48:30 -07:00
Bukkit/Spigot
f31d7de587 Added bed events and methods.
By: sk89q <the.sk89q@gmail.com>
2011-04-07 11:26:33 -07:00
Bukkit/Spigot
b6e68ee5e5 Line endings. This is getting very annoying.
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-04-05 16:35:57 +01:00
Bukkit/Spigot
871953413c Fixed PlayerInventoryEvent Type.
By: EvilSeph <evilseph@unaligned.org>
2011-04-04 20:40:46 -04:00
Bukkit/Spigot
2427d3835e Added a check for when the old and new data folders are the same.
By: sk89q <the.sk89q@gmail.com>
2011-04-03 23:05:25 -07:00
Bukkit/Spigot
97fd93727d added some API for entities
By: Tahg <tahgtahv@gmail.com>
2011-04-04 00:44:52 -04:00
Bukkit/Spigot
1a1d4e95f4 Added interface for player.saveData and player.loadData.
By: afforess <afforess@gmail.com>
2011-04-03 11:40:38 -04:00
Bukkit/Spigot
39ceba6c4f Pluginnames can also space out now
By: Erik Broes <erikbroes@grum.nl>
2011-04-03 19:17:18 +02:00
Bukkit/Spigot
07b4fca3ae Forgot we have windows to support as well
By: Erik Broes <erikbroes@grum.nl>
2011-04-03 16:42:33 +02:00
Bukkit/Spigot
434f054e38 A plugin's name can now only contain: [A-Za-z0-9()\[\]{}_.-]
By: Erik Broes <erikbroes@grum.nl>
2011-04-03 16:26:27 +02:00
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