Sueta

Yamler

2.4.0

Easy API for saving and interacting with YAML Configs

·Config
  1. 2.4.0latestWrong artifact :DApr 18, 2016
    I choose the Bukkit Artifact in a Bungee Resource
    22997 downloads
  2. 2.3.0Injection of converter StacksDec 21, 2014
    If you have a Config which contains Subconfig Elements like this example: Code (Text): @Data public class GameConfig { public GameConfig() { CONFIG_FILE = new File("config.yml"); try { addConverter( SimpleLocationDirectedConverter.class ); } catch ( InvalidConverterException e ) { e.printStackTrace(); } } @Data public class WorldItem extends Config { private String name; private List<SimpleLocationDirected> spawns = new ArrayList<>(); } private WorldItem worldItem = new WorldItem(); } The converters registered to the root config (GameConfig) get passed into the instances of the Subconfigs (WorldItem). So you don't need to register them twice.
    12525 downloads
  3. 2.2.4Sets and some little other sorting issuesDec 18, 2014
    Fixed sets ignoring its generic type. Fixed sorting of arguments in Configurations. Using md-5 CI and repo
    408 downloads
  4. 2.2.3Fixed lists with custom Converters. Fixed autosaving upgrading configsApr 19, 2014
    Fixed lists with custom Converters. Fixed autosaving upgrading configs
    8240 downloads
  5. 2.2.2Fixed a Stackoverflow error when you upgrade the ConfigApr 4, 2014
    Fixed a Stackoverflow error when you upgrade the Config
    900 downloads
  6. 2.2.1Fixed saving destroying the Config ObjectMar 19, 2014
    Fixed saving destroying the Config Object
    723 downloads
  7. 2.2.0More stable (backed with more Tests) and removed some BugsMar 19, 2014
    Fixed a Bug in Sets Yamler should NEVER need more than 20ms to load or save Fixed the MapConfigMapper
    267 downloads
  8. 2.1.1Fixed Config converter errorsMar 13, 2014
    Fixed Config converter errors
    383 downloads
  9. 2.1.0Added set Converter and added skipFailedObjects booleanMar 13, 2014
    Added a Set converter Added skipFailedObjects boolean which will when set to true not output Converter Exceptions Bukkit Plugin: Added some more Bukkit based Converters (for Blocks, ItemStacks and Locations)
    197 downloads
  10. 2.0.0Added custom Converters. Also added a update(ConfigSection) methodMar 12, 2014
    I reworked the whole Process on how Yamler serializes/deserializes. You now can add custom Converter into Yamler to convert Objects like Bukkit Locations or BungeeCord Serverinfos. ALso removed the FastLookupCache and implemented a normal Parent -> Child structure.
    239 downloads
  11. 1.5.2Broken 1.6Mar 8, 2014
    Broken 1.6
    364 downloads
  12. 1.5.1Fixed extended ConfigclassesMar 4, 2014
    You can now use extended Custom Classes for Configs Example: class ConfigA extends ConfigB { public String test = "test"; } class ConfigB extends Config { public String test1 = "test"; }
    242 downloads
  13. 1.5.0Added @Path("<yml key here>") annotationMar 4, 2014
    Added @Path("<yml key here>") annotation. See https://github.com/Cube-Space/Yamler/blob/master/Yamler-C… for an example.
    157 downloads
  14. 1.4.0Added second optional ConstructorMar 4, 2014
    Added second Constructor for Configs. You now can use Config(String filename, String ... header) to construct all Configs Thanks for this @CraftedFury
    160 downloads
  15. 1.3.0Added a new Config ModeFeb 28, 2014
    Added a new Config Mode: FieldIsKey. This can be set by the Config Class itself via CONFIG_MODE. This mode will take the full Field name as Config Key. This enables you to have "TEST_TEST: value" Config Entries.
    333 downloads
  16. 1.2.8Fixed having Integer, Short, Byte, Float or Double as Map keyFeb 21, 2014
    Fixed having Integer, Short, Byte, Float or Double as Map key
    323 downloads
  17. 1.2.7Fixed Map containing List not resolving correctFeb 13, 2014
    Fixed Map containing List not resolving correct
    267 downloads
  18. 1.2.6Fixed various Bugs. Regenerate all Configs which have a Custom Class in a List!Feb 8, 2014
    Fixed issues in older BungeeCord Versions Fixed custom Class reading inside Lists
    254 downloads
  19. 1.2.5Fixed some little ThingsFeb 1, 2014
    Fixed loading of Lists Fixed loading of custom classes Fixed double Comments
    249 downloads
  20. 1.2.4Changed depends (Plugin) name !!! Fixed NPE and some little BugsFeb 1, 2014
    Fixed plugin.ymls (they messed up) depend name is "Yamler" Fixed a autoclose bug Fixed raw List types Fixed NPE on empty File Fixed Comment writer
    148 downloads
  21. 1.2.3Fixed support for Map inside Maps (Mapception :D)Jan 31, 2014
    Fixed support for Map inside Maps (Mapception )
    161 downloads
  22. 1.2.2Cleaned up the Code a bit. Fixed primitve casting and List reading/writingJan 28, 2014
    Rewrote the Converter part Moved MapConfigMapper to a own Class Fixed List saving/reading Fixed primitives Added Tests
    195 downloads
  23. 1.2.1Removed the Test Config which i used to debugJan 26, 2014
    Removed the Test Config which i used to debug
    240 downloads
  24. 1.2.0Added Comment annotations (@Comment and @Comments). Fixed some BugsJan 26, 2014
    Fixed NPE when loading a empty yml Fixed List to array convert (you now can use pure Arrays in the configs) Fixed Maps inside Configs
    151 downloads
  25. 1.0.4Fixed some issues with Custom TagsJan 20, 2014
    Fixed some issues with Custom Tags
    216 downloads
  26. 1.0.2Wrong link sorryJan 19, 2014
    Only changed the link
    184 downloads

Similar projects

Config →