Move Settings onto one line

This commit is contained in:
HexedHero 2022-03-22 07:21:49 +00:00
parent 4c0e4dbb3f
commit 65601ddbff

View File

@ -11,36 +11,28 @@ public final class Settings implements SettingsHolder {
private Settings() {} private Settings() {}
@Comment({"", "Enables Checking for update."}) @Comment({"", "Enables Checking for update."})
public static final Property<Boolean> CHECK_UPDATES = PropertyInitializer public static final Property<Boolean> CHECK_UPDATES = PropertyInitializer.newProperty("check-updates", true);
.newProperty("check-updates", true);
@Comment({"", "Available languages EN, PT, BG, RO, NO, CH"}) @Comment({"", "Available languages EN, PT, BG, RO, NO, CH"})
public static final Property<String> LANG = PropertyInitializer public static final Property<String> LANG = PropertyInitializer.newProperty("lang", "EN");
.newProperty("lang", "EN");
@Comment({"", "Toggle this on to enable using Minimessage style for message commands.", "https://docs.adventure.kyori.net/minimessage/format.html"}) @Comment({"", "Toggle this on to enable using Minimessage style for message commands.", "https://docs.adventure.kyori.net/minimessage/format.html"})
public static final Property<Boolean> MINIMESSAGE = PropertyInitializer public static final Property<Boolean> MINIMESSAGE = PropertyInitializer.newProperty("minimessage", false);
.newProperty("minimessage", false);
@Comment({"", "Toggle this on to enable using Minimessage style for your language files.", "https://docs.adventure.kyori.net/minimessage/format.html"}) @Comment({"", "Toggle this on to enable using Minimessage style for your language files.", "https://docs.adventure.kyori.net/minimessage/format.html"})
public static final Property<Boolean> MINIMESSAGE_LANG = PropertyInitializer public static final Property<Boolean> MINIMESSAGE_LANG = PropertyInitializer.newProperty("minimessage-lang", false);
.newProperty("minimessage-lang", false);
@Comment({"", "The default npc cooldown in seconds"}) @Comment({"", "The default npc cooldown in seconds"})
public static final Property<Integer> DEFAULT_COOLDOWN = PropertyInitializer public static final Property<Integer> DEFAULT_COOLDOWN = PropertyInitializer.newProperty("default-cooldown", 0);
.newProperty("default-cooldown", 0);
@Comment({"", "When using a NPC with price, true means that to confirm the use the player needs to seek or press shift"}) @Comment({"", "When using a NPC with price, true means that to confirm the use the player needs to seek or press shift"})
public static final Property<Boolean> SHIT_CONFIRM = PropertyInitializer public static final Property<Boolean> SHIT_CONFIRM = PropertyInitializer.newProperty("shift-confirm", true);
.newProperty("shift-confirm", true);
@Comment({"", "Select cooldown display format, SHORT = 3m 3s | MEDIUM = 3 min 3 sec | FULL - 3 minutes 3 seconds"}) @Comment({"", "Select cooldown display format, SHORT = 3m 3s | MEDIUM = 3 min 3 sec | FULL - 3 minutes 3 seconds"})
public static final Property<String> TIME_DISPLAY = PropertyInitializer public static final Property<String> TIME_DISPLAY = PropertyInitializer.newProperty("cooldown-time-display", "MEDIUM");
.newProperty("cooldown-time-display", "MEDIUM");
@Comment({"", "Disables citizens check on startup"}) @Comment({"", "Disables citizens check on startup"})
public static final Property<Boolean> CITIZENS_CHECK = PropertyInitializer public static final Property<Boolean> CITIZENS_CHECK = PropertyInitializer.newProperty("citizens-check", true);
.newProperty("citizens-check", true);
@Override @Override
public void registerComments(final CommentsConfiguration conf) { public void registerComments(final CommentsConfiguration conf) {