13
0
geforkt von Mirrors/Paper
Commit graph

927 Commits

Autor SHA1 Nachricht Datum
Bukkit/Spigot
f2110f8072 Made Bukkit implement Server for simpler calls
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-08-18 12:55:25 +01:00
Bukkit/Spigot
90cd1c8c9b Revert "Interface for changing the view distance."
By: EvilSeph <evilseph@gmail.com>
2011-08-15 14:26:42 -04:00
Bukkit/Spigot
741f5e69ae Interface for changing the view distance.
Can be changed server wide, per world and per player.
Only server wide changes are kept between server restarts.

Setting the server or world view distance should fail if the
view distance is not between 3 and 15

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-08-12 00:19:52 +10:00
Bukkit/Spigot
cd7da9630a Added API for manipulating map items. Thanks SpaceManiac, codename_B, sk89q and dested!
By: EvilSeph <evilseph@gmail.com>
2011-08-12 21:59:10 -04:00
Bukkit/Spigot
df275c8376 Added DamageCause.SUICIDE.
By: EvilSeph <evilseph@gmail.com>
2011-08-12 21:35:55 -04:00
Bukkit/Spigot
52e317ee5e Added "getViewDistance()", "getAllowNether()", "hasWhitelist()" and "getAllowFlight()". Thanks robin0van0der0v!
By: EvilSeph <evilseph@gmail.com>
2011-08-07 20:24:43 -04:00
Bukkit/Spigot
57f0d1b824 Implemented per world setting to keep the spawn in memory or not.
By: Rigby <rigby@onarandombox.com>
2011-07-27 00:24:38 +01:00
Bukkit/Spigot
26305c7551 Made PlayerAnimation cancellable. Thanks desmin88!
By: EvilSeph <evilseph@gmail.com>
2011-07-28 10:53:19 -04:00
Bukkit/Spigot
1063f6cbeb Added ServerCommandEvent. Thanks celticminstrel!
By: EvilSeph <evilseph@gmail.com>
2011-07-28 10:35:52 -04:00
Bukkit/Spigot
8054b4db89 Retiring EntityDamageByProjectileEvent in favor of EntityDamageEvent.
By: sunkid <sunkid@iminurnetz.com>
2011-07-19 10:21:17 -07:00
Bukkit/Spigot
920854a915 Added missing Note getNote().
By: EvilSeph <evilseph@gmail.com>
2011-07-28 01:29:04 -04:00
Bukkit/Spigot
c9b9f56903 Added PlayerVelocityEvent. Thanks Evenprime!
By: EvilSeph <evilseph@gmail.com>
2011-07-28 01:17:07 -04:00
Bukkit/Spigot
26707ee929 Added various utility methods to make chunk handling easier. Thanks Meaglin!
By: EvilSeph <evilseph@gmail.com>
2011-07-28 00:32:28 -04:00
Bukkit/Spigot
68a6f96ea6 Removed deprecated methods.
getNote() that returns a byte has been replaced by getRawNote().
teleportTo(Location) has been replaced by teleport(location).
teleportTo(Entity) has been replaced by teleport(Entity).
SnowForm event has been replaced by BlockForm event.

By: EvilSeph <evilseph@gmail.com>
2011-07-27 21:09:07 -04:00
Bukkit/Spigot
bfd0ab1851 Made Permissions mutable, added methods to view which Permissibles are subscribed to which Permission
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-07-20 18:05:04 +01:00
Bukkit/Spigot
2be5996714 Added world.getMaxHeight (currently static until 1.8)
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-07-20 00:03:16 +01:00
Bukkit/Spigot
c9d867579e Correctly report bad values for children perms in plugin.yml
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-07-18 20:52:38 +01:00
Bukkit/Spigot
2b6b449dbc Fixed fast floor in NoiseGenerator
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-07-18 18:19:43 +01:00
Bukkit/Spigot
67a52cca79 Added new permission system
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-07-17 17:17:47 +01:00
Bukkit/Spigot
3c852a3c8f Remove superfluous javadocs
By: Erik Broes <erikbroes@grum.nl>
2011-07-17 17:02:03 +02:00
Bukkit/Spigot
c11905550e Refactor Bucket events
By: Erik Broes <erikbroes@grum.nl>
2011-07-17 17:01:05 +02:00
Bukkit/Spigot
ecc7ca0477 Remove some deprecated methods in World
By: Erik Broes <erikbroes@grum.nl>
2011-07-17 16:59:04 +02:00
Bukkit/Spigot
ed47624667 Deprecated Block.getFace(Face) and Block.getFace(Face,int); use getRelative()
By: Erik Broes <erikbroes@grum.nl>
2011-07-17 15:01:15 +02:00
Bukkit/Spigot
86ab32254f Added Block.getPistonMoveReaction, BlockPistonExtend and BlockPistonRetractEvent
By: Erik Broes <erikbroes@grum.nl>
2011-07-15 23:59:12 +02:00
Bukkit/Spigot
402794beff More JavaDoc improvements.
By: EvilSeph <evilseph@gmail.com>
2011-07-15 01:15:05 -04:00
Bukkit/Spigot
dc424c2943 Added interface for setting and getting a pig zombie's anger level.
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2011-07-14 11:30:45 -04:00
Bukkit/Spigot
7a2afd1206 Fixed setFacingDirection and removed redundant interface. Thanks DiddiZ!
By: EvilSeph <evilseph@gmail.com>
2011-07-14 14:33:39 -04:00
Bukkit/Spigot
0c05778bc3 Made ConfigurationNode.getAll() more maintainable. Thanks devinsba!
By: EvilSeph <evilseph@gmail.com>
2011-07-14 14:41:55 -04:00
Bukkit/Spigot
656403dc86 Added additional BlockFace enum members and fixed Sign class.
By: sunkid <sunkid@iminurnetz.com>
2011-07-13 14:14:04 -07:00
Bukkit/Spigot
77399b9d2e Fix missing/incorrect stack sizes and max damages. Thanks celticminstrel and sunkid!
By: EvilSeph <evilseph@gmail.com>
2011-07-12 02:24:14 -04:00
Bukkit/Spigot
c68daa00bd Added helper methods World.getHighestBlockAt, Block.isEmpty, Block.isLiquid. Added methods to safely retrieve biome/temperature/humidity data for a block without generating the block.
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-07-13 06:52:19 +01:00
Bukkit/Spigot
7bcdc12da0 Added unbiased octave generators + normalized argument to generating noise through octaves
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-07-13 06:06:41 +01:00
Bukkit/Spigot
fa0ea3b75c uuid changes
By: Tahg <tahgtahv@gmail.com>
2011-07-13 00:15:47 -04:00
Bukkit/Spigot
0664487563 Fixed static methods in PerlinNoiseGenerator
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-07-08 14:39:20 +01:00
Bukkit/Spigot
52c737b3c1 Implements World UID.
By: Rigby <rigby@onarandombox.com>
2011-07-05 04:49:03 +01:00
Bukkit/Spigot
642692f84f IntelliJ is awesome.
By: EvilSeph <evilseph@unaligned.org>
2011-07-05 00:14:31 -04:00
Bukkit/Spigot
84a45a3927 Added PlayerFish event.
By: EvilSeph <evilseph@unaligned.org>
2011-07-03 00:23:37 -04:00
Bukkit/Spigot
ccbd9a6709 Fixed PlayerPickupItem event returning wrong amount picked up and added function to get the amount remaining on the ground.
By: EvilSeph <evilseph@unaligned.org>
2011-07-02 14:04:57 -04:00
Bukkit/Spigot
f82f291deb Improved FurnaceBurn event.
- Added the ability to set the burn time of the fuel.
- Added the ability to set if a fuel should burn or not.

By: EvilSeph <evilseph@unaligned.org>
2011-06-30 23:03:26 -04:00
Bukkit/Spigot
1325d8f15d Added reasons for entities regaining health.
By: EvilSeph <evilseph@unaligned.org>
2011-06-28 20:10:50 -04:00
Bukkit/Spigot
eae5329f9c Update to 1.7
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-06-30 15:18:11 +01:00
Bukkit/Spigot
abb947190f Change PortalCreateEvent constructor ArrayList to Collection
By: Erik Broes <erikbroes@grum.nl>
2011-06-25 18:07:04 +02:00
Bukkit/Spigot
416567d5bc Added a Perlin and Simplex noise generator for utils
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-06-26 17:41:25 +01:00
Bukkit/Spigot
c54128077a More JavaDoc improvements.
By: EvilSeph <evilseph@unaligned.org>
2011-06-24 02:32:04 -04:00
Bukkit/Spigot
0630db640b Register commands on any enable
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-06-26 02:46:16 +01:00
Bukkit/Spigot
4fc6adbf6b Fixed Note class.
By: sunkid <sunkid@iminurnetz.com>
2011-06-23 16:11:06 -07:00
Bukkit/Spigot
490a4d92e8 Fixed 'bad aliases' error output.
By: EvilSeph <evilseph@unaligned.org>
2011-06-23 15:32:53 -04:00
Bukkit/Spigot
0a4fb615fc Added missing 'implements Cancellable' to several classes.
By: EvilSeph <evilseph@unaligned.org>
2011-06-22 17:23:44 -04:00
Bukkit/Spigot
08cfa11ba6 JavaDoc cleanup.
By: EvilSeph <evilseph@unaligned.org>
2011-06-22 17:05:45 -04:00
Bukkit/Spigot
244635242e The server config can now specify aliases to multiple (or none) commands, for example "debug: [version, plugin]" to run both version and plugin, or "plugins: []" to disable the plugins command
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-06-22 19:07:07 +01:00
Bukkit/Spigot
22bfa512a9 Added new getDefaultWorldGenerator method to Plugin
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-06-22 18:26:32 +01:00
Bukkit/Spigot
ba32a78b3b Added new plugin.yml option 'load', possible values are 'startup' and 'postworld' (default postworld)
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-06-22 17:45:53 +01:00
Bukkit/Spigot
e2779f623c Added SpawnReasons to CreatureSpawn events. Thanks winsock!
By: EvilSeph <evilseph@unaligned.org>
2011-06-21 15:58:41 -04:00
Bukkit/Spigot
43c34bae27 Added Sky biome for the Skylands. Thanks robin0van0der0v!
By: EvilSeph <evilseph@unaligned.org>
2011-06-21 15:41:47 -04:00
Bukkit/Spigot
a46d76e11a Added a method to retreive all fully qualified configuration values for a config. Thanks devinsba!
By: EvilSeph <evilseph@unaligned.org>
2011-06-21 15:39:29 -04:00
Bukkit/Spigot
d9d0416069 Implements isBedSpawn() to the PlayerRespawnEvent.
By: Rigby <rigby@onarandombox.com>
2011-06-21 04:32:47 +01:00
Bukkit/Spigot
8c6ccaee27 Implements customiseable PortalTravelAgent and updated PlayerPortalEvent.
By: Rigby <rigby@onarandombox.com>
2011-06-18 00:59:14 +01:00
Bukkit/Spigot
cd5882a07f Added Furnace smelt and burn events.
By: EvilSeph <evilseph@unaligned.org>
2011-06-19 21:47:15 -04:00
Bukkit/Spigot
797f79e621 Added API to allow plugins to set the world's spawn flags.
By: EvilSeph <evilseph@unaligned.org>
2011-06-19 06:08:43 -04:00
Bukkit/Spigot
250810823d Added getOnlineMode() for the Server. Thanks Rigby!
By: EvilSeph <evilseph@unaligned.org>
2011-06-19 06:13:28 -04:00
Bukkit/Spigot
d081f1a06f Added Target Reasons for Wolf events. Thanks Deaygo!
By: EvilSeph <evilseph@unaligned.org>
2011-06-18 22:29:07 -04:00
Bukkit/Spigot
31e3c65440 Added the concept of a projectile.
By: sunkid <sunkid@iminurnetz.com>
2011-06-18 08:09:41 -07:00
Bukkit/Spigot
2a62ac59bf Added PlayerToggleSneakEvent.isSneaking().
By: sk89q <the.sk89q@gmail.com>
2011-06-18 14:34:59 -07:00
Bukkit/Spigot
c3373081e2 Added BlockSpread, BlockForm and BlockFade events.
By: EvilSeph <evilseph@unaligned.org>
2011-06-17 14:46:01 -04:00
Bukkit/Spigot
5d515f5a85 Added EntityRegainHealthEvent. Thanks TimWolla!
By: EvilSeph <evilseph@unaligned.org>
2011-06-17 16:47:52 -04:00
Bukkit/Spigot
8e7ef46f6f Added the concept of an Explosive.
By: sunkid <sunkid@iminurnetz.com>
2011-06-14 10:55:47 -07:00
Bukkit/Spigot
05163fbadc Added ChunkSnapShot improvements. Thanks mikeprimm!
Added support for biome data to chunk snapshot
Added method for returning empty chunk snapshot (for ungenerated chunks)

By: EvilSeph <evilseph@unaligned.org>
2011-06-17 09:21:56 -04:00
Bukkit/Spigot
f1a6e194ef Added Instrument enum, Note class and get/setNote functions. Thanks xZise!
By: EvilSeph <evilseph@unaligned.org>
2011-06-17 03:00:49 -04:00
Bukkit/Spigot
e7815b7313 Added per player time support. Thanks eisental, Shamebot and needspeed10!
By: EvilSeph <evilseph@unaligned.org>
2011-06-17 02:28:25 -04:00
Bukkit/Spigot
bdcef14cde Added a general spawn method.
By: sunkid <sunkid@iminurnetz.com>
2011-06-08 15:50:22 -07:00
Bukkit/Spigot
e1ffe6625c Added setFire option to createExplosion methods.
By: sunkid <sunkid@iminurnetz.com>
2011-06-12 15:48:05 -07:00
Bukkit/Spigot
615b1a9f3f Added setters to applicable MaterialData classes.
By: sunkid <sunkid@iminurnetz.com>
2011-06-16 15:45:50 -07:00
Bukkit/Spigot
93406ae5d2 Added set/getSpawnRadius in Server
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-06-17 04:49:21 +01:00
Bukkit/Spigot
b02e6095bd Server administrators can now specify custom aliases in bukkit.yml which override any aliases set by plugins.
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-06-17 04:07:17 +01:00
Bukkit/Spigot
dc11d556ba Removing 14 deprecated methods per http://bit.ly/mO2f4d
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-06-16 22:06:18 +01:00
Bukkit/Spigot
876c4074ba Javadoc fix for BlockPopulator.java explaining which chunks exist and which don't
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-06-16 20:34:12 +01:00
Bukkit/Spigot
ae44a5e666 Added ChunkPopulateEvent, new "newChunk" property on ChunkLoadEvent
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-06-16 19:32:14 +01:00
Bukkit/Spigot
caf78a759e Made Pig extend Vehicle.
By: EvilSeph <evilseph@unaligned.org>
2011-06-15 15:05:12 -04:00
Bukkit/Spigot
089c229c1d Fixed fallbackPrefix not being lowercased, which would break prefixes for plugins with an uppercase char in the name
By: stevenh <steven.hartland@multiplay.co.uk>
2011-06-12 16:35:26 +01:00
Bukkit/Spigot
c5408f1030 Generic cleanup
By: Erik Broes <erikbroes@grum.nl>
2011-06-12 01:18:17 +02:00
Bukkit/Spigot
da51cfa4b1 Add JavaDoc source indexing, as per EvilSeph's request
By: Luke GB <github@lukegb.com>
2011-06-10 15:48:09 +01:00
Bukkit/Spigot
4d68ae490e Added ItemSpawnEvent. Thanks myers!
By: EvilSeph <evilseph@unaligned.org>
2011-06-11 00:26:18 -04:00
Bukkit/Spigot
1e4c2bd7b1 Made Location less annoying to use. Too bad Location can't simply inherit Vector at this point without breaking things.
By: sk89q <the.sk89q@gmail.com>
2011-06-09 23:50:10 -07:00
Bukkit/Spigot
bdd890d0ae Added the ability to set a header when saving configuration files.
By: sk89q <the.sk89q@gmail.com>
2011-06-09 23:31:00 -07:00
Bukkit/Spigot
727890f5a8 Added World.createExplosion() that takes a Location, instead of just raw X, Y, Z values.
By: sk89q <the.sk89q@gmail.com>
2011-06-09 23:13:36 -07:00
Bukkit/Spigot
c70487a3ee Cleaned up some Javadocs.
By: sk89q <the.sk89q@gmail.com>
2011-06-09 23:11:35 -07:00
Bukkit/Spigot
4cc21b5ce6 Moved playSound/Effect(Player, ...) to Player.playEffect(Location, ...) to be consistent, and because the code didn't really do what the Javadoc said.
By: sk89q <the.sk89q@gmail.com>
2011-06-09 23:07:45 -07:00
Bukkit/Spigot
e471f45bae Changed sound playing to effect dispatching, since these seem more like more like encompassing effect than mere sounds.
By: sk89q <the.sk89q@gmail.com>
2011-06-09 22:57:44 -07:00
Bukkit/Spigot
db11d49745 Merge branch 'sound' of https://github.com/sunkid/Bukkit
By: sk89q <the.sk89q@gmail.com>
2011-06-09 22:38:21 -07:00
Bukkit/Spigot
e8e27a86f4 added playSound methods to the World interface and a utility method to Location
By: sunkid <sunkid@iminurnetz.com>
2011-06-09 12:32:55 -07:00
Bukkit/Spigot
0786934ce5 Added method to create an explosion in world. Thanks Zaraza107!
By: EvilSeph <evilseph@unaligned.org>
2011-06-09 04:12:39 -04:00
Bukkit/Spigot
10d7e607c8 Added EntityTame event. Thanks halvors!
By: EvilSeph <evilseph@unaligned.org>
2011-06-09 03:57:50 -04:00
Bukkit/Spigot
b91a8f0389 Added UniqueId to entities. Thanks Afforess!
By: EvilSeph <evilseph@unaligned.org>
2011-06-07 04:21:11 -04:00
Bukkit/Spigot
c6821f93c4 Added ChunkSnapshot for efficient, thread-safe copies of Chunk data. Thanks mikeprimm!
By: EvilSeph <evilseph@unaligned.org>
2011-06-07 03:22:03 -04:00
Bukkit/Spigot
516d253953 Implemented WorldUnloadEvent and unloadWorld().
By: Rigby <rigby@onarandombox.com>
2011-06-04 06:46:21 +01:00
Bukkit/Spigot
1dca6874d8 Fixed some item durability values. Thanks jascotty2!
By: EvilSeph <evilseph@unaligned.org>
2011-06-07 02:23:01 -04:00
Bukkit/Spigot
3996bf8026 Fixed TrapDoor and added MaterialData for LONG_GRASS. Thanks sunkid!
By: EvilSeph <evilseph@unaligned.org>
2011-06-07 02:15:19 -04:00
Bukkit/Spigot
e12c49e9d1 Plugins may now set a custom spawn point for a world during initialization
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-06-06 21:38:19 +01:00
Bukkit/Spigot
e82da4c5d2 Moved BlockProvider and ChunkGenerator to abstract classes for future backwards compat (ironically, this isn't backwards compat!)
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-06-06 21:11:47 +01:00
Bukkit/Spigot
6ad28ba607 Added custom world generator API
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-06-06 13:23:30 +01:00
Bukkit/Spigot
63a68b3e10 Added new Materials
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-05-26 06:28:24 +01:00
Bukkit/Spigot
6778c953f4 Added new World.Environment
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-05-26 06:14:48 +01:00
Bukkit/Spigot
e96e0e657f Fixed no command found being sent to the command sender for command handlers which return failure (false)
By: stevenh <steven.hartland@multiplay.co.uk>
2011-05-23 23:59:47 +01:00
Bukkit/Spigot
9469bb110d Added check and catch for errors during cancelTasks and unregister of services during plugin disable
By: stevenh <steven.hartland@multiplay.co.uk>
2011-05-22 22:18:05 +01:00
Bukkit/Spigot
8eddaae2f2 Reworked command registration so that aliases are secondary to the primary command label requested
Updated docs to reflect what the code really does
This adds a few new methods to Command including:-
* A full constructor that takes descriptio, usageMassage and aliases for convenience
* getLabel() which returns the active label for a command, which is derived from the Command name or subsiquent call to setLabel(..)
* A number of registration functions for use in the CommandMap implementer
Also of note is Command.getAliases() no returns the "active" aliases

By: stevenh <steven.hartland@multiplay.co.uk>
2011-05-22 20:42:26 +01:00
Bukkit/Spigot
6e1fca7350 Adds update chunk method for sending fake chunk updates to the client. This is to match the sendBlockChange method.
By: raphfrk <raphfrk@gmail.com>
2011-05-21 20:28:42 +01:00
Bukkit/Spigot
2c4ba8815e Added various 1.6 portal events.
By: Stephen <stephen@jazer.com>
2011-06-07 14:12:08 -04:00
Bukkit/Spigot
b3c007d3a7 Added .equals() and .hashCode() to MaterialData. Thanks Edoxile!
By: EvilSeph <evilseph@unaligned.org>
2011-06-08 17:49:40 -04:00
Bukkit/Spigot
46b2baddf6 Fixed the value of empty YAML nodes being written as "null". Thanks rcjrrjcr!
By: EvilSeph <evilseph@unaligned.org>
2011-06-07 18:14:32 -04:00
Bukkit/Spigot
a679c0c906 Fixed command aliases priorities.
Command aliases are now given lower weight than the "official" name of the command; this allows you to define aliases without worrying about them overriding someone else's command.

By: Celtic Minstrel <celtic.minstrel.ca@>
2011-03-30 17:36:39 -04:00
Bukkit/Spigot
12a93a05ff Added get/setLastDamageCause. Thanks sunkid!
By: EvilSeph <evilseph@unaligned.org>
2011-05-16 00:20:58 -04:00
Bukkit/Spigot
940c9f9974 Made disabled plugins show up in red in the plugins list. Thanks Yetanotherx!
By: EvilSeph <evilseph@unaligned.org>
2011-05-15 20:07:53 -04:00
Bukkit/Spigot
8afcd239d8 Reverted commits that broke plugin class loading, pending investigation.
By: EvilSeph <evilseph@unaligned.org>
2011-05-15 19:20:30 -04:00
Bukkit/Spigot
855f4133b6 Whitespace + general cleanup
By: Erik Broes <erikbroes@grum.nl>
2011-05-14 23:22:54 +02:00
Bukkit/Spigot
8217ff1836 Fixed errors during plugin enable/disable leaving Bukkit in an undefined state. Previous fix would at least prevent plugins from breaking the server, but it aborted the enable/disable process prematurely.
By: sk89q <the.sk89q@gmail.com>
2011-05-13 18:17:28 -07:00
Bukkit/Spigot
c9d98c3313 src/site/apt/index.apt
By: Erik Broes <erikbroes@grum.nl>
2011-05-13 17:07:31 +02:00
Bukkit/Spigot
94aac786c6 Guarded against plugins throwing exceptions on enable and disable to prevent potential corruption issues on server start and stop
By: stevenh <steven.hartland@multiplay.co.uk>
2011-05-13 14:50:03 +01:00
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
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