Updated outdated comments for defaultCaveFlags config option

Should avoid further issues such as https://github.com/BentoBoxWorld/CaveBlock/issues/38.
This commit is contained in:
Florian CUNY 2019-12-07 10:57:49 +01:00 committed by GitHub
parent 4dd56c13a2
commit f1591de51e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 3 deletions

View File

@ -26,7 +26,7 @@ import world.bentobox.bentobox.database.objects.adapters.FlagSerializer2;
/**
* @author BONNe
* This class contains all necessary settings fro CaveBlock addon.
* This class contains all necessary settings for CaveBlock addon.
*/
@StoreAt(filename="config.yml", path="addons/CaveBlock")
@ConfigComment("CaveBlock Configuration [version]")
@ -1940,8 +1940,14 @@ public class Settings implements WorldSettings
private Map<String, Boolean> worldFlags = new HashMap<>();
@ConfigComment("These are the default protection settings for new caves.")
@ConfigComment("The value is the minimum cave rank required allowed to do the action")
@ConfigComment("Ranks are: Visitor = 0, Member = 900, Owner = 1000")
@ConfigComment("The value is the minimum cave rank required allowed to do the action.")
@ConfigComment("Ranks are the following:")
@ConfigComment(" VISITOR = 0")
@ConfigComment(" COOP = 200")
@ConfigComment(" TRUSTED = 400")
@ConfigComment(" MEMBER = 500")
@ConfigComment(" SUB-OWNER = 900")
@ConfigComment(" OWNER = 1000")
@ConfigEntry(path = "world.default-cave-flags")
@Adapter(FlagSerializer.class)
private Map<Flag, Integer> defaultIslandFlags = new HashMap<>();