Settings: renamed ""island.customranks" to "island.custom-ranks" and made it experimental

This commit is contained in:
Florian CUNY 2018-10-30 17:56:28 +01:00
parent 0c75e556b2
commit 86b1d09653

View File

@ -21,7 +21,6 @@ import world.bentobox.bentobox.managers.RanksManager;
@ConfigComment("This config file is dynamic and saved when the server is shutdown.")
@ConfigComment("You cannot edit it while the server is running because changes will")
@ConfigComment("be lost! Use in-game settings GUI or edit when server is offline.")
@ConfigComment("")
public class Settings implements DataObject {
// ---------------------------------------------
@ -148,7 +147,7 @@ public class Settings implements DataObject {
private int nameMaxLength = 20;
// Ranks
@ConfigEntry(path = "island.customranks")
@ConfigEntry(path = "island.custom-ranks", experimental = true)
private Map<String, Integer> customRanks = new HashMap<>();
//---------------------------------------------------------------------------------------/
@ -158,7 +157,6 @@ public class Settings implements DataObject {
//---------------------------------------------------------------------------------------/
// Getters and setters
public boolean isMetrics() {
return metrics;
}