#512 Fix inconsistent config names

- Harmonize configuration paths in code and in config.yml (fixes failing unit test)
- Add way to load Property objects in legacy Settings
- Create migration for delayJoinLeaveMessages to separate delayJoin..., removeJoin... and removeLeave...
This commit is contained in:
ljacqu
2016-02-11 22:17:43 +01:00
parent 39168bc818
commit e04ca3c4ae
6 changed files with 81 additions and 115 deletions
@@ -132,7 +132,7 @@ public class RestrictionSettings implements SettingsClass {
@Comment("Should we deny the tabcomplete feature before logging in? Requires ProtocolLib.")
public static final Property<Boolean> DENY_TABCOMPLETE_BEFORE_LOGIN =
newProperty("settings.restrictions.DenyTabcompleteBeforeLogin", true);
newProperty("settings.restrictions.DenyTabCompleteBeforeLogin", true);
@Comment("Should we hide the tablist before logging in? Requires ProtocolLib.")
public static final Property<Boolean> HIDE_TABLIST_BEFORE_LOGIN =