Commit graph

1001 commits

Author SHA1 Message Date
Bukkit/Spigot
91946d8857 Fixed Validate message.
By: EvilSeph <evilseph@gmail.com>
2012-02-18 15:28:33 -05:00
Bukkit/Spigot
4608ec4504 Updated EntityTeleportEvent in line with deprecation cleanup.
By: EvilSeph <evilseph@gmail.com>
2012-02-18 13:13:50 -05:00
Bukkit/Spigot
75fd934339 Deprecation cleanup.
By: Erik Broes <erikbroes@grum.nl>
2012-01-30 21:32:48 +01:00
Bukkit/Spigot
fe4de0bb01 Added RemoteServerCommandEvent.
By: Erik Broes <erikbroes@grum.nl>
2012-01-30 21:52:41 +01:00
Bukkit/Spigot
f7d527adf9 [Bleeding] Made PotionEffectTypes final, added reasons for deprecation.
Fixes BUKKIT-768 and BUKKIT-769

By: fullwall <fullwall@optusnet.com>
2012-02-15 16:21:49 +08:00
Bukkit/Spigot
86550000ce Updated version to 1.1-R5-SNAPSHOT for development towards next release.
By: EvilSeph <evilseph@gmail.com>
2012-02-13 14:29:32 -05:00
Bukkit/Spigot
bc459fa3f0 Updated version to 1.1-R4 in pom.xml for RB.
By: EvilSeph <evilseph@gmail.com>
2012-02-13 11:31:29 -05:00
Bukkit/Spigot
63464c3bb0 [Bleeding] Update serialVersionUID.
By: Wesley Wolfe <weswolf@aol.com>
2012-02-13 01:22:39 -06:00
Bukkit/Spigot
4e48b4725f [Bleeding] Added ability to register and listen to SubEvents. Addresses
BUKKIT-585

By: Feildmaster <admin@feildmaster.com>
2012-01-25 09:49:12 -06:00
Bukkit/Spigot
6492eb9683 [Bleeding] Cleanup of exceptions org.bukkit.plugin.Invalid*
Removed throwable and message, because the superclass already stores them
Added message of inner exception to the outer exception to make the first line of the stacktrace more verbose

By: Zeerix <zeerix@draig.de>
2012-02-11 02:16:16 +01:00
Bukkit/Spigot
e204abd0f0 Allow cloning ItemStacks with unsafe enchantments. Fixes BUKKIT-621
Prevents "IllegalArgumentException: Specified enchantment cannot be applied to this itemstack").

By: mushroomhostage <mushroomhostage@yahoo.com>
2012-02-10 17:53:22 -08:00
Bukkit/Spigot
b7a973b822 Fixed typos and add usage message to timings command.
By: Travis Watkins <amaranth@ubuntu.com>
2012-02-10 13:48:53 -06:00
Bukkit/Spigot
a66baab794 [Bleeding] Added Potions API. Fixes BUKKIT-389
By: fullwall <fullwall@optusnet.com>
2012-01-09 14:39:06 +08:00
Bukkit/Spigot
af8929507e Added configurable animal and monster ticks per spawn setting.
By: EvilSeph <evilseph@gmail.com>
2012-02-10 10:23:21 -05:00
Bukkit/Spigot
8aedc0a4b8 Added JOCKEY and CHUNK_GEN SpawnReasons.
By: EvilSeph <evilseph@gmail.com>
2012-02-10 00:48:19 -05:00
Bukkit/Spigot
4363ae55e0 [Bleeding] setLastDamageCaused to ComplexEntityPart parent.
By: Feildmaster <admin@feildmaster.com>
2012-02-08 16:14:33 -06:00
Bukkit/Spigot
cb2fe27653 [Bleeding] Add the ability for plugins to ignore cancelled events when
using the new event system.

By: md_5 <md_5@bigpond.com>
2012-01-21 15:34:22 +11:00
Bukkit/Spigot
3dcab1536a [Bleeding] Deprecate Enderman events in favor of EntityChangeBlock
By: Aidan Matzko <amatzko48@gmail.com>
2012-02-04 12:40:16 -05:00
Bukkit/Spigot
0293f10d23 [Bleeding] Implemented customizable permission messages.
By: Wesley Wolfe <weswolf@aol.com>
2012-02-08 17:03:50 -06:00
Bukkit/Spigot
3dadfe5e85 Properly unregister plugin channels when a plugin gets disabled.
By: Meaglin <meaglin.wasabi@gmail.com>
2012-01-28 03:45:49 +01:00
Bukkit/Spigot
b51e8579ef Added EntityTeleportEvent. Fixes BUKKIT-366
By: craftycreeper <diagonalfish+craftycreeper@gmail.com>
2012-02-07 23:42:43 -05:00
Bukkit/Spigot
202521ce54 Added SpawnReason.BUILD_SNOWMAN.
By: EvilSeph <evilseph@gmail.com>
2012-02-08 18:27:49 -05:00
Bukkit/Spigot
238ceb0afd Added RegainReason.ENDER_CRYSTAL.
By: EvilSeph <evilseph@gmail.com>
2012-02-08 10:54:30 -05:00
Bukkit/Spigot
60f92a8572 setCancelled should probably not be hard-coded to true or it could put
fernferrets in danger of self-implosion.

By: EvilSeph <evilseph@gmail.com>
2012-02-05 01:56:06 -05:00
Bukkit/Spigot
552bb7f085 Added Spawner Egg support to CreatureSpawnEvent.
By: EvilSeph <evilseph@gmail.com>
2012-02-05 01:54:27 -05:00
Bukkit/Spigot
f7f18879e3 [Bleeding] Added Vanish API for hiding players from each other.
Adds Player.hidePlayer, Player.showPlayer, and Player.canSee for managing
what players are hidden from a player. When someone is hidden from a player
the player cannot see them in the user list or /list and they cannot /tell
them so they appear to be completely gone from the server.

By: Travis Watkins <amaranth@ubuntu.com>
2012-01-31 13:50:12 -06:00
Bukkit/Spigot
b2d95b3937 Added entity type IDs as per vanilla spec.
By: Jeremy Wood <farachan@gmail.com>
2012-02-01 10:53:36 -05:00
Bukkit/Spigot
1749f26e03 Fixed casting in ItemStack.deserialize.
By: starrynte <starrynte@gmail.com>
2012-02-01 21:30:01 -08:00
Bukkit/Spigot
e423860f9f onEnable and onDisable are no longer required implementations for JavaPlugins
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-02-01 01:53:38 +00:00
Bukkit/Spigot
11220aa522 Updated version to 1.1-R4-SNAPSHOT for development towards next release.
By: EvilSeph <evilseph@gmail.com>
2012-01-30 04:00:42 -05:00
Bukkit/Spigot
667921b112 Updated version to 1.1-R3 in pom.xml for RB.
By: EvilSeph <evilseph@gmail.com>
2012-01-30 03:22:03 -05:00
Bukkit/Spigot
3638799211 Updated version to 1.1-R3-SNAPSHOT for development towards next release.
By: EvilSeph <evilseph@gmail.com>
2012-01-29 13:48:02 -05:00
Bukkit/Spigot
72f2aa9a46 Updated version to 1.1-R2 in pom.xml for RB.
By: EvilSeph <evilseph@gmail.com>
2012-01-29 13:22:24 -05:00
Bukkit/Spigot
bab651a1bb Fixed comment from earlier commit.
By: EvilSeph <evilseph@gmail.com>
2012-01-29 13:10:51 -05:00
Bukkit/Spigot
b4c3ba3d33 Added 'generate-structure' setting support and WorldCreator property.
Fixes BUKKIT-655 and BUKKIT-592

By: Eric Stokes <fernferret@gmail.com>
2012-01-29 10:22:45 -07:00
Bukkit/Spigot
378815c162 Added useExactLoginLocation(). Closes BUKKIT-145
useExactLoginLocation() looks for settings.use-exact-login-location within bukkit.yml.

If true, we will bypass Vanilla's behaviour of checking for collisions and moving the player if needed when they login.

If false, we will continue to follow Vanilla's behaviour and move players that 'collide' with objects when they login.

By: EvilSeph <evilseph@gmail.com>
2012-01-29 06:33:50 -05:00
Bukkit/Spigot
ac2271958e Add some testing
By: Erik Broes <erikbroes@grum.nl>
2012-01-29 11:10:40 +01:00
Bukkit/Spigot
ae0eb736d1 Cleanup.
By: EvilSeph <evilseph@gmail.com>
2012-01-27 18:23:27 -05:00
Bukkit/Spigot
f7d35b29ad Updated version to 1.1-R2-SNAPSHOT for development towards next release.
By: EvilSeph <evilseph@gmail.com>
2012-01-25 04:39:46 -05:00
Bukkit/Spigot
5541a29f2d Fixed plugin loader. Thanks Wolvereness!
By: EvilSeph <evilseph@gmail.com>
2012-01-25 04:11:37 -05:00
Bukkit/Spigot
34d002f275 Adhere to naming conventions.
By: EvilSeph <evilseph@gmail.com>
2012-01-25 02:10:02 -05:00
Bukkit/Spigot
e223475be3 This will be re-added after the RB.
By: EvilSeph <evilseph@gmail.com>
2012-01-25 02:08:00 -05:00
Bukkit/Spigot
228eae3e08 Updated versions to 1.1-R1 in pom.xml for RB.
By: EvilSeph <evilseph@gmail.com>
2012-01-25 01:11:57 -05:00
Bukkit/Spigot
58d9efad7c [Bleeding] Added EnchantmentTable API.
By: Mike Primm <mike@primmhome.com>
2012-01-21 01:26:45 -06:00
Bukkit/Spigot
b3642a04e1 [Bleeding] Added PotionSplashEvent for splash potions. Closes BUKKIT-307
By: Zeerix <zeerix@draig.de>
2012-01-20 08:16:45 +01:00
Bukkit/Spigot
f2ec9604cb Added spacing to BanListCommand output.
By: EvilSeph <evilseph@gmail.com>
2012-01-23 20:30:21 -05:00
Bukkit/Spigot
7e5c1baee9 [Bleeding] Added Sheep, Shear and EntityChangeBlock API. Thanks tips48! Closes BUKKIT-512
By: Aidan Matzko <amatzko48@gmail.com>
2012-01-21 21:20:49 -05:00
Bukkit/Spigot
05b6ad92d1 Updated timing code for new event system
By: Tahg <tahgtahv@gmail.com>
2012-01-16 15:03:41 -05:00
Bukkit/Spigot
b19803ff66 Add updated repos to pom.xml
By: Erik Broes <erikbroes@grum.nl>
2012-01-19 23:01:28 +01:00
Bukkit/Spigot
1a86a7e3f7 Added new PlayerExpChangeEvent and PlayerLevelChangeEvent events. Thanks to feildmaster for the PR.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-19 16:07:03 +00:00
Bukkit/Spigot
ef6edf9ee2 Player.setPlayerListName no longer ignores colour length in size limit. This relates to BUKKIT-571
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-19 15:07:46 +00:00
Bukkit/Spigot
84372f7cd5 Use the type of the eventhandler method's parameter as type rather than specificing it. Thanks zml2008.
By: Erik Broes <erikbroes@grum.nl>
2012-01-19 08:13:49 +01:00
Bukkit/Spigot
0c50b9eeb1 Added a default to EventHandler.priority()
Fixed HandlerList.unregisterAll()
Fixed incorrect isAssignableFrom check in SimplePluginManager.getRegistrationClass()

By: zml2008 <zach@zachsthings.com>
2012-01-17 19:06:48 -08:00
Bukkit/Spigot
0251111b0d Add Player.setBedSpawnLocation(Location). Thanks md_5
By: Erik Broes <erikbroes@grum.nl>
2012-01-17 22:39:37 +01:00
Bukkit/Spigot
33f366c08d Minor cleanup
By: Erik Broes <erikbroes@grum.nl>
2012-01-17 19:35:28 +01:00
Bukkit/Spigot
85c66fd6f3 [Bleeding] Added EntityShootBowEvent. Thanks Zeerix.
By: Erik Broes <erikbroes@grum.nl>
2012-01-17 18:58:29 +01:00
Bukkit/Spigot
bacfd8931d [Bleeding] Add BrewingStand API. Thanks N3X15 & md_5
By: Erik Broes <erikbroes@grum.nl>
2012-01-17 17:11:23 +01:00
Bukkit/Spigot
52bcc1c28e [Bleeding] Added DamageCause.POISON/MAGIC and RegainReason.MAGIC/MAGIC_REGEN for potions
By: Zeerix <zeerix@draig.de>
2012-01-14 01:25:12 +01:00
Bukkit/Spigot
4ad64ea3f5 [Bleeding] Added Block.breakNaturally and Block.getDrops
By: Zeerix <zeerix@draig.de>
2012-01-12 03:08:31 +01:00
Bukkit/Spigot
e0c7fc6bf5 [Bleeding] Changed event system into a new, much faster design. Huge thanks to @zml2008 & @lahwran.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-16 18:25:17 +00:00
Bukkit/Spigot
94bc6ec0e6 [Bleeding] Added Block.getLightFromSky and getLightFromBlocks
By: Mike Primm <mike@primmhome.com>
2011-12-29 13:26:01 -06:00
Bukkit/Spigot
c02d8155ad [Bleeding] Added Plugin.getLogger() which returns a java.util.Logger that prefixes messages with the plugin name.
Note: the server when enabling or disabling a plugin will now by default log this.

By: rmichela <deltahat@gmail.com>
2011-12-15 00:31:13 -05:00
Bukkit/Spigot
81c2625a0e [Bleeding] Added: <T extends Entity> Collection<T> World.getEntitiesByClass(Class<T>... classes)
By: Mike Primm <mike@primmhome.com>
2011-12-11 17:27:31 -06:00
Bukkit/Spigot
fff2c4278c [Bleeding] Add Animals: setAgeLock(bool), bool getAgeLock, void setBaby, void setAdult, void setBreed(bool), bool canBreed and bool isAdult.
By: Erik Broes <erikbroes@grum.nl>
2012-01-05 19:27:22 +01:00
Bukkit/Spigot
d4b3279707 Fixed incorrect value for ChatColor.BLACK (was 1, should be 0)
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-16 19:49:16 +00:00
Bukkit/Spigot
b59a919a08 Added ChatColor.MAGIC, changed to char based values and deprecated old methods. Added unit tests for ChatColor
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-16 19:38:08 +00:00
Bukkit/Spigot
b91d0d5a5f Added a World.getWorldType() method
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-15 17:43:53 +00:00
Bukkit/Spigot
4c80a49933 Generic cleaning
By: Erik Broes <erikbroes@grum.nl>
2012-01-15 14:37:30 +01:00
Bukkit/Spigot
8377ee22f8 Added "class-loader-of" field to plugin.yml. Big thanks to CmdrDats for the PR.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-15 12:54:06 +00:00
Bukkit/Spigot
77c577bdf8 Added an EntityCreatePortalEvent
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-15 11:58:03 +00:00
Bukkit/Spigot
cff0c0ecc5 Configurations now properly support lists of serializable objects, and ItemStack is properly serializable. Big thanks to GICodeWarrior for the PR. This fixes BUKKIT-425
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-15 11:15:19 +00:00
Bukkit/Spigot
768732a914 Added Player set/getAllowFlight methods. Thanks to Qala for the PR.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-15 10:55:33 +00:00
Bukkit/Spigot
8670d01e58 Fixed typo in Event javadoc, thanks to robin0van0der0v for the PR
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-15 10:43:42 +00:00
Bukkit/Spigot
62510f93b8 ItemStack.getMaxStackSize no longer incorrectly returns -1 when not backed by an NMS instance. Thanks to feildmaster for the PR. This fixes BUKKIT-530
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-15 09:52:56 +00:00
Bukkit/Spigot
10700630bb Add commons-lang to deps
By: Erik Broes <erikbroes@grum.nl>
2012-01-14 21:34:05 +01:00
Bukkit/Spigot
8c73372220 Fix unambiguous import
By: Erik Broes <erikbroes@grum.nl>
2012-01-14 21:32:48 +01:00
Bukkit/Spigot
bbe66b2985 Changed Material to use an array for lookups, instead of a hashmap. Thanks to zml2008 for the PR
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-15 09:18:20 +00:00
Bukkit/Spigot
72ce6fab3e Added EntityBlockFormEvent for block forming by entity actions (snowmen etc). Thanks to fieldmaster for the PR.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-15 09:13:00 +00:00
Bukkit/Spigot
f320f18067 Config .get*List will return an empty list of the appropriate type instead of null when the value does not exist. Thanks to krinsdeath for the PR.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-15 09:04:08 +00:00
Bukkit/Spigot
44c58c4952 Don't send events to disabled plugins.
By: Feildmaster <admin@feildmaster.com>
2012-01-15 02:14:28 -06:00
Bukkit/Spigot
4e9fcec4a4 Changed PluginDisableEvent to fire before the disabling of a plugin, instead of after (where it's then invalid). Thanks to holic for the PR.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-15 08:16:57 +00:00
Bukkit/Spigot
0c182ec82d Fixed documentation of getNearbyEntities in Entity. Thanks to epuidokas for the PR.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-15 07:38:14 +00:00
Bukkit/Spigot
9b1383591b Fixed Leaves.getSpecies returning null on higher data values. Thanks to Wolvereness for the PR.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-15 07:33:02 +00:00
Bukkit/Spigot
a80bc820c6 Added new methods to set a players respawned level/exp/totalExp in PlayerDeathEvent. Thanks to Feildmaster for the PR.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-14 17:54:03 +00:00
Bukkit/Spigot
72add08a6d Updated javadocs of Player.setPlayerListName to reflect that the char limit is based on length without colours
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-14 17:42:57 +00:00
Bukkit/Spigot
39874ebf1a Added entity.playEffect, thanks to main-- in an (unfortunately old) PR.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-14 17:35:52 +00:00
Bukkit/Spigot
40f4710726 Added ItemDespawnEvent
By: Feildmaster <admin@feildmaster.com>
2011-10-16 20:47:49 -05:00
Bukkit/Spigot
544b0a05ae Fixed nullcheck error message on null plugin (see previous commit)
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-14 14:32:56 +00:00
Bukkit/Spigot
d87866b158 Nullcheck in registerEvent (thanks to an old PR by LRFLEW - I'm sorry for the wait!)
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-14 14:31:00 +00:00
Bukkit/Spigot
35da0ddfa3 Added 5 new biomes as included in MC 1.1 as part of #BUKKIT-496
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-14 13:13:25 +00:00
Bukkit/Spigot
c0bb2b55b2 Allow proper integration with NMS WorldTypes
By: md-5 <md_5@bigpond.com>
2012-01-14 11:15:56 +11:00
Bukkit/Spigot
48ecb11c09 Implemented new Plugin Message API - see http://dinnerbone.com/blog/2012/01/13/minecraft-plugin-channels-messaging/
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-13 08:51:10 +00:00
Bukkit/Spigot
dee3ecfa81 Make getByName actually return values.
By: md-5 <md_5@bigpond.com>
2012-01-13 16:12:55 +11:00
Bukkit/Spigot
ae73f553fc Added new 1.1 items, enchantments. Added WorldType, and a method to set/get the type of a world at creation.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-12 22:16:31 +00:00
Bukkit/Spigot
bc02c87c2a Bumped version to 1.1-R1-SNAPSHOT
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-12 19:09:21 +00:00
Bukkit/Spigot
d03379a043 Further fix to Location.
By: Tahg <tahgtahv@gmail.com>
2012-01-10 00:20:03 -05:00
Bukkit/Spigot
0bc50733b5 Revert "Improved some debug in Location."
This reverts commit 0569e71b26ffc88a5b752ce1217c3ba33e6586e9.

By: EvilSeph <evilseph@gmail.com>
2012-01-09 23:55:43 -05:00
Bukkit/Spigot
21e1a5b725 Improved some debug in Location.
By: Tahg <tahgtahv@gmail.com>
2012-01-09 23:44:46 -05:00
Bukkit/Spigot
387d09faa1 Added timings command.
By: Tahg <tahgtahv@gmail.com>
2012-01-09 01:09:10 -05:00
Bukkit/Spigot
05581b02a4 Added data argument to vanilla give command
By: Tahg <tahgtahv@gmail.com>
2012-01-09 01:09:36 -05:00