Commit graph

583 commits

Author SHA1 Message Date
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
Bukkit/Spigot
70faad257f Remove lingering PlayerItemEvent file
By: Erik Broes <erikbroes@grum.nl>
2011-03-24 00:11:26 +01:00
Bukkit/Spigot
e492d55dc4 Replaced void teleportTo(Location) with boolean teleport(Location).
- The return value indicates if the teleport was successful.
 - void teleportTo(...) should delegate to the new teleport(...).

By: Byron Shelden <byron.shelden@gmail.com>
2011-03-23 00:15:46 -07:00
Bukkit/Spigot
1a8031fc8f Reworked BlockDamageEvent to match with the latest Mojang client/server changes.
By: Erik Broes <erikbroes@grum.nl>
2011-03-23 16:53:52 +01:00
Bukkit/Spigot
7824cc02e7 Add PLAYER_INTERACT, remove BLOCK_RIGHT_CLICK, BLOCK_INTERACT and PLAYER_ITEM
By: Erik Broes <erikbroes@ripe.net>
2011-03-23 12:30:54 +01:00
Bukkit/Spigot
4819bb5819 Added PlayerBucket events
By: Erik Broes <erikbroes@grum.nl>
2011-03-21 00:48:34 +01:00
Bukkit/Spigot
6a1bad5d41 Renamed many events/constants to be not past tense <-- Major Break says: "HI"
By: Erik Broes <erikbroes@grum.nl>
2011-03-13 15:21:09 +01:00
Bukkit/Spigot
f240cdf831 added MaterialData classes and associated Enums for COAL, CROPS, LOG, LEAVES, STEP, and DOUBLE_STEP
By: sunkid <sunkid@iminurnetz.com>
2011-03-14 18:08:57 -07:00
Bukkit/Spigot
e36fc0c867 Added DamageType.VOID
By: Gunther De Wachter <GuntherDW@gmail.com>
2011-03-17 18:21:40 +01:00
Bukkit/Spigot
9256bcd67e onLoad optional...
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-03-15 11:45:11 +00:00
Bukkit/Spigot
8117c7771d Plugins can no longer register events while disabled
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-03-14 15:11:43 +00:00
Bukkit/Spigot
7e9974d53c All previous deprecated methods removed (OH GOD EVERYTHING BROKEN)
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-03-14 15:05:46 +00:00
Bukkit/Spigot
e377a96a02 Adds an onLoad method to Plugin. The onLoad method is called for all plugins before the onEnable calls
By: Raphfrk <raphfrk@gmail.com>
2011-03-12 17:39:51 +00:00
Bukkit/Spigot
dfc8620a1b Added server methods required to support RemoteBukkit:
* getPort()
* getIP()
* getServerName()
* dispatchCommand(...)

By: stevenh <steven.hartland@multiplay.co.uk>
2011-03-12 17:57:22 +00:00
Bukkit/Spigot
9bb9985c21 Corrected description of CommandSender.getServer()
By: stevenh <steven.hartland@multiplay.co.uk>
2011-03-12 17:55:55 +00:00
Bukkit/Spigot
2465a33543 Removed unneeded string constant concat
Note: editor removed spaces on otherwise empty lines

By: stevenh <steven.hartland@multiplay.co.uk>
2011-03-12 17:51:57 +00:00
Bukkit/Spigot
b191786a1b Compensate for sendMessage losing its 'unintended splitting on existing newlines'-feature
By: Erik Broes <erikbroes@grum.nl>
2011-03-12 17:01:56 +01:00
Bukkit/Spigot
56aa606e2b Kill stupid encoding warnings finally
By: Erik Broes <erikbroes@grum.nl>
2011-03-12 14:56:56 +01:00
Bukkit/Spigot
0fe75a4e0f Added Player.sendRawMessage().
By: sk89q <the.sk89q@gmail.com>
2011-03-12 01:05:09 -08:00
Bukkit/Spigot
2f7446f382 Merge branch 'master' of github.com:Bukkit/Bukkit
By: stevenh <steven.hartland@multiplay.co.uk>
2011-03-11 20:12:53 +00:00
Bukkit/Spigot
e9c8ccda5e Fixed blank yaml config files throwing a null pointer exception
By: stevenh <steven.hartland@multiplay.co.uk>
2011-03-11 20:07:49 +00:00
Bukkit/Spigot
1ddbee3e40 added methods for getting redstone power
By: Tahg <tahgtahv@gmail.com>
2011-03-10 13:23:54 -05:00
Bukkit/Spigot
97f4798d51 Reverted classloader changes by 1f0d89be27, now actually works! Again!
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-03-08 18:20:34 +00:00
Bukkit/Spigot
16c73e630d Chunk hooks
By: Tahg <tahgtahv@gmail.com>
2011-03-07 14:06:15 -05:00
Bukkit/Spigot
b5b33a5f28 Added LivingEntity.getEyeLocation() for getting the eyes location.
By: Andrew Ardill <andrew.ardill@gmail.com>
2011-03-10 05:36:41 +11:00
Bukkit/Spigot
bfad019c31 Don't throw commands if the plugin is disabled
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-03-07 16:41:50 +00:00
Bukkit/Spigot
de5eddce7d Purged deprecated MobType and MobSpawner
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-03-07 16:29:03 +00:00
Bukkit/Spigot
188c435e67 Added damage(int) and damage(int, Entity) for LivingEntity
By: Forsaken <darkmaster87@gmx.de>
2011-02-04 01:01:48 +01:00
Bukkit/Spigot
6dc6946312 Adds basic plugin dependencies, courtesy of Raphfrk
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-03-07 13:56:34 +00:00
Bukkit/Spigot
f370268047 Fixed Material constructor
By: holic <kingersoll@gmail.com>
2011-03-02 00:23:48 -08:00
Bukkit/Spigot
2c403adf74 Regenerate and refresh chunk methods
By: Raphfrk <raphfrk@gmail.com>
2011-03-02 20:28:49 +00:00
Bukkit/Spigot
0ebd910f1b Deprecated momentum on player (remove tomorrow), added velocity
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-03-05 18:48:32 +00:00
Bukkit/Spigot
bb755bb9a2 Added a few null pointer checks and performed minor touchups (tried improving a few equals, clone and hashCode methods).
By: VictorD <victor.danell@gmail.com>
2011-03-05 12:27:51 +01:00
Bukkit/Spigot
5673661da0 Added entity.get/setMomentum
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-03-04 14:24:09 +00:00
Bukkit/Spigot
9cadbbc93d You shouldn't be here, little method. We already have a getData.
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-03-04 14:10:55 +00:00
Bukkit/Spigot
38896d9cfb Small change for CraftBukkit BlockFlowing fix
By: Erik Broes <erikbroes@ripe.net>
2011-03-02 21:23:37 +01:00
Bukkit/Spigot
56f58d646a Add World.save() and Server.savePlayers();
By: Morgan Humes <mrh9724@lanaddict.com>
2011-02-25 21:32:25 -05:00
Bukkit/Spigot
6410e49ab9 Java 1.5 compat.
By: Erik Broes <erikbroes@ripe.net>
2011-03-02 15:23:15 +01:00
Bukkit/Spigot
2d93fec7d2 Added method to set spawn location
By: SpeaKeasY <mekevin1917@gmail.com>
2011-02-28 20:19:47 -06:00
Bukkit/Spigot
a7d6c7c660 Added World.getPlayers
By: Tanel Suurhans <tanel.suurhans@perfectline.ee>
2011-02-24 21:37:54 +02:00
Bukkit/Spigot
2e97b270d4 command.set/getDescription replaces a now deprecated set/getTooltip + javadocs
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-28 11:42:09 +00:00
Bukkit/Spigot
5256cbb8a8 PluginCommand getExecutor + javadocs
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-28 10:35:58 +00:00
Bukkit/Spigot
9c2782bea7 Added JavaPlugin.getCommand
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-28 01:35:03 +00:00
Bukkit/Spigot
3eb015141a Added Server.getPluginCommand
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-28 00:57:32 +00:00
Bukkit/Spigot
dbfb262c5d Case-insensitive commands
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-28 00:52:43 +00:00
Bukkit/Spigot
2a6a5d5dc5 Readded default onCommand on plugins
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-28 00:45:44 +00:00
Bukkit/Spigot
0a0e475f83 Tweaks to command system to allow setting executors via plugins (no more ambiguous onCommand in plugins)
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-28 00:30:59 +00:00
Bukkit/Spigot
258fa8e21c Added PlayerChatEvent.getRecipients
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-26 19:31:13 +00:00
Bukkit/Spigot
1595230d40 Removed onPlayerCommand (PLAYER_COMMAND) (and fixed Fillr to stop using it)
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-26 19:08:12 +00:00
Bukkit/Spigot
1da9ef3c9f small change
By: Raphfrk <raphfrk@gmail.com>
2011-02-22 06:09:46 +08:00
Bukkit/Spigot
e2042c4cfa No longer supporting the TSLPC (inb4pitchforks)
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-25 22:00:58 +00:00
Bukkit/Spigot
d88a7b4f90 onPluginEnabled after plugin is enabled + same for onPluginDisabled
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-25 12:54:08 +00:00
Bukkit/Spigot
54e0c4db29 Added easy locToBlock in Location
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-25 09:51:52 +00:00
Bukkit/Spigot
f712d6011d Added Item.(get|set)ItemStack().
By: sk89q <the.sk89q@gmail.com>
2011-02-23 10:03:33 -08:00
Bukkit/Spigot
6132abb1f5 Changed ConsoleCommandSender to use stripColor instead of hardcoded
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-23 11:44:12 +00:00
Bukkit/Spigot
d4374e647f Added ChatColor.stripColor
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-23 11:43:40 +00:00
Bukkit/Spigot
858c8bee96 ConsoleCommandSender no longer has a default constructor, use ConsoleCommandSender(server). Added entity.getServer
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-23 11:33:03 +00:00
Bukkit/Spigot
51ec34dd60 ... And fixed diodes
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-23 03:18:08 +00:00
Bukkit/Spigot
cce5f895f9 Fixed bed items crashing
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-23 03:12:36 +00:00
Bukkit/Spigot
965290b214 Added new materials
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-23 02:45:19 +00:00
Bukkit/Spigot
3cc14ab40f refactor Items
By: Tahg <tahgtahv@gmail.com>
2011-02-21 19:57:06 -05:00
Bukkit/Spigot
dc15009d48 add isQueued() to allow plugins to know a task is still in the queue.
Currently, there is no way to know if a task is still being handled by
the scheduler. This method, along with isCurrentlyRunning() allows a
plugin author to determine if a task is waiting to be executed, being
executed, or neither.

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-02-21 12:33:40 +11:00
Bukkit/Spigot
2c05cb355f added yield to explosions
By: Tahg <tahgtahv@gmail.com>
2011-02-19 11:09:23 -05:00
Bukkit/Spigot
1257e0d24f Updating plugin nags to use logger
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-20 02:27:16 +00:00
Bukkit/Spigot
f398397845 Added Server.getLogger, changed a few anonymous loggers to use it
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-20 02:24:47 +00:00
Bukkit/Spigot
e3b86cda50 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.
By: sk89q <the.sk89q@gmail.com>
2011-02-19 01:41:33 -08:00
Bukkit/Spigot
d3a7253d68 Added Entity.remove() which marks an entity for removal.
By: sk89q <the.sk89q@gmail.com>
2011-02-18 20:00:18 -08:00
Bukkit/Spigot
c0710323a9 Added slime as a possible creature type.
By: sk89q <the.sk89q@gmail.com>
2011-02-18 19:44:32 -08:00
Bukkit/Spigot
bff4790a18 And this is so that we don't have to support misbehaving plugins.
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-20 00:47:21 +00:00
Bukkit/Spigot
03a61a197f ... Supporting the plugins which really shouldn't be doing what they're doing. Don't put crap in the constructor!
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-20 00:43:06 +00:00
Bukkit/Spigot
4bb9f83d53 Removed TSLPC (That Stupidly Long Plugin Constructor)
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-20 00:13:25 +00:00
Bukkit/Spigot
08fd2073ce Replaced Vector.hashCode with a more reliable method
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-19 23:11:56 +00:00
Bukkit/Spigot
6203fc2652 (Relatively) minor javadoc cleanup
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-19 22:47:23 +00:00
Bukkit/Spigot
314bf387b5 Fixed event priorities
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-19 20:43:35 +00:00
Bukkit/Spigot
a36de75a17 Shifting damage events per http://forums.bukkit.org/threads/oops-i-broke-your-plugins.599/#post-67424 (This breaks stuff!)
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-19 17:08:14 +00:00
Bukkit/Spigot
ffe5fb2dfb When deprecating, the alternative should be provided.
By: EvilSeph <evilseph@unaligned.org>
2011-02-19 06:00:55 -05:00
Bukkit/Spigot
023ff0a43d We need to set cmdSuccess accordingly.
By: EvilSeph <evilseph@unaligned.org>
2011-02-18 21:30:19 -05:00
Bukkit/Spigot
5ba9ae942a Added target block ray trace functionality.
By: Raphfrk <raphfrk@gmail.com>
2011-02-13 17:03:57 +00:00
Bukkit/Spigot
09916f398f Added setFireTicks(), getFireTicks() and getMaxFireTicks().
By: Protected <myshelter@gmail.com>
2011-02-14 17:35:43 +00:00
Bukkit/Spigot
77a963e3eb Added pull request conventions that should be followed if you want your pull requests accepted.
By: EvilSeph <evilseph@unaligned.org>
2011-02-18 17:14:18 -05:00
Bukkit/Spigot
d7633fa07b Added a whole buncha overloads for Location in World
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-18 16:34:49 +00:00
Bukkit/Spigot
9adb4e4d92 Location.getBlock() helper method
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-18 16:28:42 +00:00
Bukkit/Spigot
636c1ec83a Exception handling in commands
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-18 16:25:06 +00:00
Bukkit/Spigot
eb206f49c1 Added spawnCreature(Location, CreatureType)
This function will allow spawning of creatures in the world, removing
the need to interface with CraftBukkit directly.

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-02-17 14:33:31 +11:00
Bukkit/Spigot
ca55cacd67 Renamed MobType->CreatureType and MobSpawner->CreatureSpawner.
This is to bring the names in line with the rest of bukkit.

Deprecated code has been left in to ensure nothing breaks as
a result of refactoring MobType.
This will be removed after 1 week, to give plugin devs time to
migrate

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-02-17 14:19:57 +11:00
Bukkit/Spigot
d3b62214a6 Fixed alias parsing for commands. object.toString().split(",") is NOT how you parse a YAML list!
By: sk89q <the.sk89q@gmail.com>
2011-02-16 21:45:15 -08:00
Bukkit/Spigot
7bfb006b2c Deprecated PlayerListener.onPlayerCommand(PlayerChatEvent event).
By: sk89q <the.sk89q@gmail.com>
2011-02-16 21:23:47 -08:00
Bukkit/Spigot
6a86cbbe8e Added Player.chat().
By: sk89q <the.sk89q@gmail.com>
2011-02-16 21:23:29 -08:00
Bukkit/Spigot
6190a55cad Added CREATURE_SPAWN event
By: ss2man44 <frigids@gmail.com>
2011-01-11 21:29:48 -05:00
Bukkit/Spigot
7cefb730d7 add function isCurrentlyRunning(int taskId);
returns if the given task is currently running.

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-02-14 15:31:21 +11:00
Bukkit/Spigot
3274723ced Allows calling of functions in the main thread
By: Raphfrk <raphfrk@gmail.com>
2011-02-12 00:03:41 +00:00
Bukkit/Spigot
7b32aee768 Exposes the recently added updateInventory method.
We've decided to expose updateInventory as a temporary work-around for
 the inventory not updating issue we're aware of. The reasoning behind
 this is that addressing it properly will take some time and work and
 as this is clearly a roadblock for some plugin authors, the delay is
 not really acceptable.

By: EvilSeph <evilseph@unaligned.org>
2011-02-13 00:22:00 -05:00
Bukkit/Spigot
66761d2d4d Added getPlayer method to SignChangeEvent
By: Timberjaw <timberjaw@gmail.com>
2011-02-12 00:39:37 -08:00
Bukkit/Spigot
e30e2d1364 Windows and executable, should be 0644
By: Erik Broes <erikbroes@grum.nl>
2011-02-12 16:16:14 +01:00
Bukkit/Spigot
1336c08f59 Exposes recently added PLAYER_PICKUP_ITEM event.
By: EvilSeph <evilseph@unaligned.org>
2011-02-12 07:52:08 -05:00
Bukkit/Spigot
cc9f2e45fb Added MaxSpeed methods to minecards. Added MaxSpeed methods to boats. Added SlowWhenEmpty, FlyingMod, and DerailedMod methods to minecarts.
Signed-off-by: afforess <afforess@gmail.com>

By: afforess <afforess@gmail.com>
2011-02-12 00:25:48 -05:00
Bukkit/Spigot
8d18ce772e Added EXPLOSION_PRIMED event.
By: culturespy <culturespy@gmail.com>
2011-02-03 21:59:42 -05:00
Bukkit/Spigot
13a3b24c47 Adds removeProperty(String path) and getEmptyNode()
By: Simon Rigby <rigby@rigbydev.co.uk>
2011-02-12 01:44:03 +00:00
Bukkit/Spigot
204952eed0 Added SIGN_CHANGE event.
By: Timberjaw <timberjaw@gmail.com>
2011-02-10 18:18:56 -08:00
Bukkit/Spigot
a3f7361535 Added Colorable interface, and made Sheep, Wool and Dye implement it.
Inspired by xpansive

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-02-12 12:28:38 +11:00
Bukkit/Spigot
fd090160f2 Adding PLAYER_PICKUP_ITEM event
By: James Logsdon <dwarf@girsbrain.org>
2011-02-11 17:08:53 -05:00
Bukkit/Spigot
7bbba13655 Cleaning up PlayerDropItemEvent
By: James Logsdon <dwarf@girsbrain.org>
2011-02-11 16:49:47 -05:00
Bukkit/Spigot
33c6be20bd Adding EntityDamageEvent.setDamage()
By: James Logsdon <dwarf@girsbrain.org>
2011-02-11 16:12:43 -05:00
Bukkit/Spigot
45d9101f82 Fixed Button/Lever, using a logical AND instead of XOR to get 3 face bits
By: Tal Eisenberg <eisental@gmail.com>
2011-01-21 16:30:18 -08:00
Bukkit/Spigot
845e8fbc2e PlayerChatEvent.setFormat validation
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-09 19:08:45 +00:00
Bukkit/Spigot
f0f2768937 Added Creature.getTarget
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-09 13:44:57 +00:00
Bukkit/Spigot
913e6d484a Adding Creature.setTarget() per jlogsdon
By: James Logsdon <dwarf@girsbrain.org>
2011-02-03 18:18:20 -05:00
Bukkit/Spigot
290d9aedc9 Added event for when a world is saved (EyvindRM)
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-09 12:53:33 +00:00
Bukkit/Spigot
b280199e83 Added Sneaking Event
By: Alexander Hesse <azi@MacBook-Pro.local>
2011-01-25 19:04:52 +01:00
Bukkit/Spigot
d245d54634 Added loadChunk, unloadChunk and unloadChunkRequest.
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-08 14:29:52 +00:00
Bukkit/Spigot
d19bdf7a67 Just breaking some redstone plugins, don't mind me
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-08 12:53:30 +00:00
Bukkit/Spigot
516b5b2226 New event WORLD_LOADED
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-08 12:06:34 +00:00
Bukkit/Spigot
002613da66 Added Server.getWorld(), Server.createWorld() now checks this to avoid duplication
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-08 11:58:28 +00:00
Bukkit/Spigot
2dee4ab20e Commands should not be case-sensitive.
By: EvilSeph <evilseph@unaligned.org>
2011-02-06 21:56:38 -05:00
Bukkit/Spigot
4f683383bb Added World.Environment enum, changed createWorld to use it
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-06 20:47:39 +00:00
Bukkit/Spigot
91b977548f Changed getWorlds to List, and added createWorld
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-05 19:24:35 +00:00
Bukkit/Spigot
a5886d6edc Scheduler
By: Raphfrk <raphfrk@gmail.com>
2011-02-02 23:51:52 +00:00
Bukkit/Spigot
d7e0bed36b Adds suppport for node lists. Tested and verified in CraftIRC
By: Animosity <nullcline@gmail.com>
2011-02-07 03:20:59 +08:00
Bukkit/Spigot
ed824523e8 Deprecate BlockRightClickEvent.getBlockAgainst - use BlockRightClickEvent.getBlock
By: Erik Broes <erikbroes@grum.nl>
2011-02-06 14:49:08 +01:00
Bukkit/Spigot
a72a6cba8e Add Server.getMaxPlayers
By: Erik Broes <erikbroes@grum.nl>
2011-02-06 13:40:31 +01:00
Bukkit/Spigot
566638ff0c Added PlayerKick (setReason, setLeaveMessage, setCancelled) and PlayerRespawn (setLocation)
By: Forsaken <darkmaster87@gmx.de>
2011-02-04 16:02:49 +01:00