874 Commits

Author SHA1 Message Date
Nathan Adams
ed34f17ddf Added ChatColor.MAGIC, changed to char based values and deprecated old methods. Added unit tests for ChatColor 2012-01-16 19:38:08 +00:00
Nathan Adams
2e547c5b33 Added a World.getWorldType() method 2012-01-15 17:43:53 +00:00
Erik Broes
88c17a7f86 Generic cleaning 2012-01-15 14:37:43 +01:00
Nathan Adams
bc95edd4dc Added "class-loader-of" field to plugin.yml. Big thanks to CmdrDats for the PR. 2012-01-15 12:54:06 +00:00
Nathan Adams
a10057b541 Added an EntityCreatePortalEvent 2012-01-15 11:58:03 +00:00
Nathan Adams
ea3e91b416 Configurations now properly support lists of serializable objects, and ItemStack is properly serializable. Big thanks to GICodeWarrior for the PR. This fixes BUKKIT-425 2012-01-15 11:15:58 +00:00
Nathan Adams
96b3a075af Added Player set/getAllowFlight methods. Thanks to Qala for the PR. 2012-01-15 10:55:33 +00:00
Nathan Adams
bf123c8b02 Fixed typo in Event javadoc, thanks to robin0van0der0v for the PR 2012-01-15 10:43:42 +00:00
Nathan Adams
f442a92c1e ItemStack.getMaxStackSize no longer incorrectly returns -1 when not backed by an NMS instance. Thanks to feildmaster for the PR. This fixes BUKKIT-530 2012-01-15 10:00:27 +00:00
Nathan Adams
5ba2e0e158 Changed Material to use an array for lookups, instead of a hashmap. Thanks to zml2008 for the PR 2012-01-15 09:18:20 +00:00
Nathan Adams
11adb74a23 Added EntityBlockFormEvent for block forming by entity actions (snowmen etc). Thanks to fieldmaster for the PR. 2012-01-15 09:13:00 +00:00
Nathan Adams
9e3ce5cd24 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. 2012-01-15 09:04:08 +00:00
Feildmaster
42f7a6b8e4 Don't send events to disabled plugins. 2012-01-15 08:18:44 +00:00
Nathan Adams
b2f0af9499 Changed PluginDisableEvent to fire before the disabling of a plugin, instead of after (where it's then invalid). Thanks to holic for the PR. 2012-01-15 08:16:57 +00:00
Nathan Adams
65cf915a15 Fixed documentation of getNearbyEntities in Entity. Thanks to epuidokas for the PR. 2012-01-15 07:38:14 +00:00
Nathan Adams
87ee353d4d Fixed Leaves.getSpecies returning null on higher data values. Thanks to Wolvereness for the PR. 2012-01-15 07:33:02 +00:00
Nathan Adams
d36385d28f Added new methods to set a players respawned level/exp/totalExp in PlayerDeathEvent. Thanks to Feildmaster for the PR. 2012-01-14 17:54:03 +00:00
Nathan Adams
2c1cd77cdc Updated javadocs of Player.setPlayerListName to reflect that the char limit is based on length without colours 2012-01-14 17:42:57 +00:00
Nathan Adams
2d1e365c43 Added entity.playEffect, thanks to main-- in an (unfortunately old) PR. 2012-01-14 17:35:52 +00:00
Feildmaster
c16210e2e2 Added ItemDespawnEvent 2012-01-14 17:01:03 +00:00
Nathan Adams
88a1512ee3 Fixed nullcheck error message on null plugin (see previous commit) 2012-01-14 14:32:56 +00:00
Nathan Adams
63673c496f Nullcheck in registerEvent (thanks to an old PR by LRFLEW - I'm sorry for the wait!) 2012-01-14 14:31:00 +00:00
Nathan Adams
682988ca75 Added 5 new biomes as included in MC 1.1 as part of #BUKKIT-496 2012-01-14 13:13:25 +00:00
md-5
d4a9b5c489 Allow proper integration with NMS WorldTypes 2012-01-14 11:15:56 +11:00
Nathan Adams
ce4f4af087 Implemented new Plugin Message API - see http://dinnerbone.com/blog/2012/01/13/minecraft-plugin-channels-messaging/ 2012-01-13 08:53:14 +00:00
md-5
389d70dbe2 Make getByName actually return values. 2012-01-13 07:32:32 +01:00
Nathan Adams
1cba399b72 Added new 1.1 items, enchantments. Added WorldType, and a method to set/get the type of a world at creation. 2012-01-12 22:17:18 +00:00
Tahg
db392bc0f2 Further fix to Location. 2012-01-10 00:20:43 -05:00
EvilSeph
af8b5d0b9b Revert "Improved some debug in Location."
This reverts commit 0569e71b26ffc88a5b752ce1217c3ba33e6586e9.
2012-01-09 23:55:43 -05:00
Tahg
774a3b1342 Improved some debug in Location. 2012-01-09 23:44:46 -05:00
Tahg
b063a7246a Added timings command. 2012-01-09 23:44:17 -05:00
Tahg
f6154042c0 Added data argument to vanilla give command 2012-01-09 01:20:54 -05:00
Tahg
355c7ba241 improved some debug in Location 2012-01-09 01:20:54 -05:00
Nathan Adams
7f37ce3dc1 Fixed YamlConfiguration creating empty lines when reading a file with no contents, and made it trim the initial newlines of any existing config header 2012-01-08 23:32:36 +00:00
EvilSeph
30bb875342 Fixed NPE in ItemStack. Thanks jascotty2! 2012-01-07 19:58:26 -05:00
EvilSeph
b1815cc6c6 Added banlist command. Fixes BUKKIT-373. Thanks md-5! 2012-01-07 19:54:02 -05:00
Nathan Adams
76c23ee588 Fix NPE when saving config before the config is loaded - thanks to Wolvereness for the pull request 2012-01-07 15:11:22 +00:00
Erik Broes
5743c3bccf Fix some updated item durability values 2012-01-05 17:07:25 +01:00
Erik Broes
e85468010b Fix max stacksize on Potions. 2012-01-05 17:00:57 +01:00
Erik Broes
8e51e711ad Fix max stacksize on EnderPearls. Fixes BUKKIT-418 2012-01-04 09:43:17 +01:00
Erik Broes
2312c4d258 Vector.getMidpoint should not modify the current Vector. Thanks TomyLobo for noticing. 2012-01-04 09:17:33 +01:00
Erik Broes
c5063fa024 Minor text changes 2012-01-04 09:09:25 +01:00
Erik Broes
b9fca3c04d Generic cleanup of warnings, whitespace and style. 2011-12-25 16:02:30 +01:00
Nathan Adams
a345613cfa Added plugin saveResources + saveDefaultConfig methods. This completes a bleeding branch by deltahat at http://forums.bukkit.org/threads/branch-complete-savedefaultconfig.48721/ 2011-12-22 21:18:36 +00:00
Tahg
bd24fdfacc Fixed some naming issues for creature types. Fix for BUKKIT-367 2011-12-20 18:01:44 -05:00
sleak
189768185c Fix for BUKKIT-313 - this makes getString return a string representation of whatever object is present at the path, rather than only returning if the object is a string 2011-12-19 16:13:07 +00:00
sleak
28372908d7 fix for BUKKIT-342 - getConfigurationSection returning the default section instead of creating a new section if defaults are present. 2011-12-19 16:13:07 +00:00
Nathan Adams
72135a8e83 BREAKING: ItemStack no longer implements Serializable 2011-12-12 23:19:03 +00:00
Nathan Adams
03fa22001b Configuration methods .getX (int/double/etc) now try to cast existing values where possible. This fixes BUKKIT-290 2011-12-12 18:34:26 +00:00
Nathan Adams
4daf43b09b Added OfflinePlayer + Player .getLastPlayed, .getFirstPlayed, .hasPlayedBefore 2011-12-12 17:38:27 +00:00