Commit graph

680 commits

Author SHA1 Message Date
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
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
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