Commit graph

19027 commits

Author SHA1 Message Date
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
CraftBukkit/Spigot
64354406fc Added Creature.setTarget per jlogsdon
By: James Logsdon <dwarf@girsbrain.org>
2011-02-03 18:17:53 -05:00
CraftBukkit/Spigot
f3a00a79b4 Implemented Sneak event
By: Alexander Hesse <webmasterœaquanasoft.de>
2011-01-25 19:08:54 +01:00
CraftBukkit/Spigot
beb34ae835 Just cleaning some commits. Don't mind me.
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-08 15:22:46 +00:00
CraftBukkit/Spigot
32ebb2e2e1 Added loadChunk, unloadChunk and unloadChunkRequest.
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-08 14:26:55 +00:00
CraftBukkit/Spigot
c68ddf76c0 Implemented WORLD_LOADED
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-08 12:50:36 +00:00
CraftBukkit/Spigot
0996ee1a6d Implemented new Server methods (getWorld + changes to createWorld)
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-08 12:03:36 +00:00
CraftBukkit/Spigot
6a5734b2ff @Override interface implementation is 1.6 exclusively
By: Erik Broes <erikbroes@grum.nl>
2011-02-07 11:03:56 +01:00
CraftBukkit/Spigot
ca376a1225 I'm quite aware that I fail at merging.
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-07 01:59:06 +00:00
CraftBukkit/Spigot
7ebb3fa77c CraftWorld.toString has name
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-07 01:22:43 +00:00
CraftBukkit/Spigot
7804a304fb Fixed inventory transition
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-07 00:03:34 +00:00
CraftBukkit/Spigot
970239f979 Possibly fixed block/chunk leaking
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-06 22:53:48 +00:00
CraftBukkit/Spigot
defd90752e Changes to reflect new Environment enum
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-06 20:50:57 +00:00
CraftBukkit/Spigot
be3e8a666e NPE
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-02-06 14:25:19 +00:00