Commit Graph

834 Commits

Author SHA1 Message Date
Feildmaster
b09c56d57d [Bleeding] Specify event name in exception. Addresses BUKKIT-778 2012-02-19 04:10:06 -05:00
Wesley Wolfe
08eed206b1 [Bleeding] Added Enchantment and misc tests to ItemStack (de)serialization 2012-02-19 04:10:05 -05:00
Wesley Wolfe
2131f6966e [Bleeding] Fixed class cast in ItemStack deserialization. Fixes BUKKIT-777 2012-02-19 01:22:07 -05:00
Wesley Wolfe
a294e9c246 [Bleeding] Exception cleanup. Addresses BUKKIT-774 2012-02-18 23:55:35 -05:00
Wesley Wolfe
f8804423bf [Bleeding] Skip InvocationTargetException. Addresses BUKKIT-774 2012-02-18 23:54:57 -05:00
SpaceManiac
45833c282d [Bleeding] Added ability to unregister listeners, updated javadoc and
renamed allLists. Addresses BUKKIT-773
2012-02-18 21:36:06 -05:00
Mike Primm
bdfe249fd7 Add getEntitiesByClass(Class<T>) and getEntitiesByClasses(Class<?>...), deprecate getEntitiesByClass(Class<T>...) 2012-02-18 21:36:06 -05:00
EvilSeph
9a80e7630a Fixed Validate message. 2012-02-18 15:28:33 -05:00
EvilSeph
2b137c5a9b Updated EntityTeleportEvent in line with deprecation cleanup. 2012-02-18 13:13:50 -05:00
Erik Broes
7a06777e19 Deprecation cleanup. 2012-02-18 13:05:58 -05:00
Erik Broes
52822729b0 Added RemoteServerCommandEvent. 2012-02-18 12:53:30 -05:00
fullwall
9e669d7d3d [Bleeding] Made PotionEffectTypes final, added reasons for deprecation.
Fixes BUKKIT-768 and BUKKIT-769
2012-02-18 10:48:19 -05:00
Wesley Wolfe
5cdc3b3600 [Bleeding] Update serialVersionUID. 2012-02-13 02:42:05 -05:00
Feildmaster
c098ea4b56 [Bleeding] Added ability to register and listen to SubEvents. Addresses
BUKKIT-585
2012-02-13 01:08:15 -05:00
Zeerix
622399fa17 [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
2012-02-13 01:05:18 -05:00
mushroomhostage
c634d7acdb Allow cloning ItemStacks with unsafe enchantments. Fixes BUKKIT-621
Prevents "IllegalArgumentException: Specified enchantment cannot be applied to this itemstack").
2012-02-13 00:46:34 -05:00
Travis Watkins
a688096fc5 Fixed typos and add usage message to timings command. 2012-02-10 18:19:58 -05:00
fullwall
f229d6fe83 [Bleeding] Added Potions API. Fixes BUKKIT-389 2012-02-10 17:26:38 -05:00
EvilSeph
43815ca003 Added configurable animal and monster ticks per spawn setting. 2012-02-10 12:52:41 -05:00
EvilSeph
17517673ba Added JOCKEY and CHUNK_GEN SpawnReasons. 2012-02-10 07:17:03 -05:00
Feildmaster
6b119f2dbb [Bleeding] setLastDamageCaused to ComplexEntityPart parent. 2012-02-09 19:52:53 -05:00
md_5
4c8cd25d91 [Bleeding] Add the ability for plugins to ignore cancelled events when
using the new event system.
2012-02-09 15:51:56 -05:00
Aidan Matzko
623ddc1bdd [Bleeding] Deprecate Enderman events in favor of EntityChangeBlock 2012-02-09 11:32:12 -05:00
Wesley Wolfe
643ee73c41 [Bleeding] Implemented customizable permission messages. 2012-02-09 04:02:11 -05:00
Meaglin
c05887b956 Properly unregister plugin channels when a plugin gets disabled. 2012-02-09 03:49:51 -05:00
craftycreeper
71eb1b25bb Added EntityTeleportEvent. Fixes BUKKIT-366 2012-02-09 03:20:08 -05:00
EvilSeph
8caca5f10d Added SpawnReason.BUILD_SNOWMAN. 2012-02-08 18:27:49 -05:00
EvilSeph
4ac909792f Added RegainReason.ENDER_CRYSTAL. 2012-02-08 10:54:30 -05:00
EvilSeph
b5a19bb632 setCancelled should probably not be hard-coded to true or it could put
fernferrets in danger of self-implosion.
2012-02-05 02:01:11 -05:00
EvilSeph
50939e7769 Added Spawner Egg support to CreatureSpawnEvent. 2012-02-05 01:54:27 -05:00
Travis Watkins
103ead4346 [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.
2012-02-03 03:32:21 -05:00
Jeremy Wood
4e92f59d4c Added entity type IDs as per vanilla spec. 2012-02-03 02:07:05 -05:00
starrynte
46284565a7 Fixed casting in ItemStack.deserialize. 2012-02-03 01:54:00 -05:00
Nathan Adams
94e561ce50 onEnable and onDisable are no longer required implementations for JavaPlugins 2012-02-01 01:53:56 +00:00
EvilSeph
7db4bd3336 Fixed comment from earlier commit. 2012-01-29 13:10:51 -05:00
Eric Stokes
33dd7cd0c7 Added 'generate-structure' setting support and WorldCreator property.
Fixes BUKKIT-655 and BUKKIT-592
2012-01-29 13:06:23 -05:00
EvilSeph
24f5cb0b5c 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.
2012-01-29 12:31:59 -05:00
Erik Broes
9c0f2f6d38 Add some testing 2012-01-29 11:17:44 +01:00
EvilSeph
6160de9c28 Cleanup. 2012-01-27 18:23:27 -05:00
EvilSeph
0a0fee8be2 Fixed plugin loader. Thanks Wolvereness! 2012-01-25 04:11:37 -05:00
EvilSeph
e2d27670cf Adhere to naming conventions. 2012-01-25 02:10:02 -05:00
EvilSeph
6e754de221 This will be re-added after the RB. 2012-01-25 02:08:00 -05:00
Mike Primm
1a9118f8d2 [Bleeding] Added EnchantmentTable API. 2012-01-24 06:13:48 -05:00
Zeerix
2b9c374865 [Bleeding] Added PotionSplashEvent for splash potions. Closes BUKKIT-307 2012-01-24 02:11:38 -05:00
EvilSeph
45f02a5c33 Added spacing to BanListCommand output. 2012-01-23 20:30:21 -05:00
Aidan Matzko
3a7c82f7cd [Bleeding] Added Sheep, Shear and EntityChangeBlock API. Thanks tips48! Closes BUKKIT-512 2012-01-23 18:57:37 -05:00
Tahg
53261190cf Updated timing code for new event system 2012-01-19 18:41:04 -05:00
Nathan Adams
c82666738f Added new PlayerExpChangeEvent and PlayerLevelChangeEvent events. Thanks to feildmaster for the PR. 2012-01-19 16:07:03 +00:00
Nathan Adams
d83c2e17ec Player.setPlayerListName no longer ignores colour length in size limit. This relates to BUKKIT-571 2012-01-19 15:10:14 +00:00
Erik Broes
792d2601e6 Use the type of the eventhandler method's parameter as type rather than specificing it. Thanks zml2008. 2012-01-19 08:13:49 +01:00