You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Towny/src/main/java/com/palmergames/bukkit/config/ConfigNodes.java
+28-3
Original file line number
Diff line number
Diff line change
@@ -3208,13 +3208,38 @@ public enum ConfigNodes {
3208
3208
"",
3209
3209
"# The width of the map shown in /towny map and /res toggle map.",
3210
3210
"# Minimum 7, maximum 27, only odd numbers are accepted."),
3211
-
CUSTOM_LISTS("custom_lists", "", ""), // TODO documentation in this comment
3211
+
CUSTOM_LISTS("custom_lists", "", "",
3212
+
"# This section of the config allows you to specify custom lists of blocks or entities, that can then be used elsewhere in the config.",
3213
+
"# A custom syntax is used to specify whether to include or exclude certain patterns from the resulting set.",
3214
+
"#",
3215
+
"# Format:",
3216
+
"# *string: Includes all elements that end with 'string'",
3217
+
"# string*: Includes all elements that start with 'string'",
3218
+
"# !*string: Excludes all elements that don't end with 'string'",
3219
+
"# !string*: Excludes all elements that don't start with 'string'",
3220
+
"# #tag: Includes all elements that are contained in the given tag, valid tags can be found here: https://github.com/misode/mcmeta/tree/data/data/minecraft/tags in the blocks or entity_type folders.",
3221
+
"# !#tag: Excludes all elements that are contained in the given tag",
3222
+
"# +string: Includes the element with name 'string'",
3223
+
"# -string: Excludes the element with name 'string'",
3224
+
"# ~string: Includes all elements that contain 'string' in the name",
3225
+
"# !~string: Excludes all elements that contain 'string' in the name",
3226
+
"# c:class: Includes all elements that are instances of the given class"),
0 commit comments