20 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
Erik Broes
88c17a7f86 Generic cleaning 2012-01-15 14:37:43 +01: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
Erik Broes
428a73da65 Fix unambiguous import 2012-01-15 10:20:07 +01:00
Nathan Adams
2d1e365c43 Added entity.playEffect, thanks to main-- in an (unfortunately old) PR. 2012-01-14 17:35:52 +00: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
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
Erik Broes
b9fca3c04d Generic cleanup of warnings, whitespace and style. 2011-12-25 16:02:30 +01: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
58f30039c8 Removed redundant TestEnum file 2011-11-13 10:00:50 +00:00
Feildmaster
c00f47e0e2 Added createSection(String path, Map<String, object> map) 2011-11-05 20:33:28 +00:00
Nathan Adams
e33fce94b5 Added helper methods such as getStringList to ConfigurationSection 2011-10-26 09:47:51 +01:00
Nathan Adams
bfa45985c5 Fixed issues with loading YamlConfigurations with typed keys 2011-10-26 06:56:36 +01:00
Nathan Adams
5993f1cc16 Added new FileConfigurationOptions.copyHeader, defaulting to true. Copies the header from default config, if there is one. 2011-10-12 13:24:57 +01:00
Nathan Adams
db7bdbbd58 Loading a FileConfiguration (Yaml/) should remember the previously saved header 2011-10-12 05:03:47 +01:00
Nathan Adams
5703334ac8 YamlConfiguration now correctly writes extra blank lines at the end if requested 2011-10-12 04:39:22 +01:00
Nathan Adams
252fc76816 Fixed removing entries in the new Configuration (via set(x, null)) 2011-10-11 12:16:43 +01:00
Nathan Adams
4485364e17 Small javadoc cleanup 2011-10-10 21:58:44 +01:00
Dinnerbone
ee27cc07f0 Added new Configuration classes 2011-10-10 21:06:34 +01:00