Commit Graph

26 Commits

Author SHA1 Message Date
75c5f1fa46 Make the getList related things in YAMLProcessor w
rite defaults. This fixes an issue in plugins that use this config system, where they are sometimes not written.

Most noticable in CraftBook, where all String Lists are not written to the config file.
2013-02-12 20:04:13 +10:00
87e40141c6 Remove a bit of trailing whitespace 2012-03-01 20:33:04 -08:00
29c1559f70 Feel free to shoot this down, but it looks like the replace() call in StringUtil.lookup() should really be replaceAll(). "[ _]" looks like a regular expression to me, and one that makes sense. 2012-02-21 10:25:14 +00:00
aaac36b1cc Factored lookup code from BlockType and ItemType into a method in StringUtil. 2012-01-31 17:01:06 +01:00
49678720c6 Only dump with comments if using YAMLFormat.EXTENDED 2012-01-26 18:16:05 -08:00
29fd98879d Improved formatting and performance of YAMLProcessor when no comments are present 2012-01-24 15:21:44 -08:00
8aa65fd7f4 License block changes
Added some missing license blocks
Added "and contributors" to all copyright notices.
Added $Id$ to files that were still missing it.
Changed "All rights reserved" to GPLv3 on Injector.java.
2012-01-20 08:24:32 +01:00
6134d2b868 Updated for slightly cleaner event handler syntax 2012-01-19 15:22:42 -08:00
3942410ba8 Implemented comment support for root-level keys based on @ZerothAngel's AnnotatedYAMLConfiguration 2012-01-14 22:16:14 -08:00
a6bba00f77 A few documentation improvements. 2012-01-10 22:30:07 -08:00
17cdbcac12 Improved formatting of YAMLProcessor output 2012-01-10 15:10:17 -08:00
37da1fec40 Added initial SpoutAPI compatibility 2012-01-05 20:58:00 -08:00
2d8a4a9f8a Allow using custom input and output streams in subclasses of YAMLProcessor. 2011-12-27 13:22:08 -08:00
cc256aa246 Added license blocks to some files that were still missing them.
Copied from files from the same directory.
2011-12-26 00:57:26 +01:00
324a041e38 Split up some external .* imports. 2011-12-26 00:36:23 +01:00
4b47200f27 Fixed some warnings. 2011-12-26 00:06:50 +01:00
c8c0c69f6d Added support for dynamic command registration. 2011-12-24 22:34:53 -08:00
7e13b60a51 Cleanup 2011-11-23 04:48:40 +01:00
699807665d Cleanup 2011-10-29 11:57:45 -04:00
52982c7c0f Moved YAML classes from RegionBook from WorldGuard into WorldEdit and made everything use those. 2011-10-22 23:48:15 -07:00
f90e47da9a Removed trailing whitespaces. 2011-09-24 15:32:03 -04:00
16a4e5ccb3 Added/fixed some copyright notices. 2011-09-19 08:24:21 +02:00
2f390e9938 Added multiword args and some improvements to value flags. 2011-09-13 22:47:17 -07:00
66dcc99809 fixed superpickaxe for gravel & lightstone, preprocessors faster than postprocessors, added methods so same-type changes are visble client-side, fixed fixliquid & setblocks block count 2011-07-15 02:00:48 -05:00
f0b2fcc13f Improved item/block name matching. 2011-06-05 11:59:23 -07:00
582b98dad0 More file moving. 2011-05-01 01:30:33 -07:00