Commit Graph

662 Commits

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