Config cleanup
This commit is contained in:
parent
f7909c5685
commit
8162b35ec8
|
@ -44,7 +44,7 @@ class CivilEngineeringConfig(file: File) {
|
||||||
"systemUser",
|
"systemUser",
|
||||||
CATEGORY_RELAY_OPTIONS,
|
CATEGORY_RELAY_OPTIONS,
|
||||||
"Server",
|
"Server",
|
||||||
"name of the server user"
|
"Name of the server user (used by death and advancement messages and the /say command)"
|
||||||
),
|
),
|
||||||
deathEvents = config.getBoolean(
|
deathEvents = config.getBoolean(
|
||||||
"deathEvents",
|
"deathEvents",
|
||||||
|
@ -56,7 +56,7 @@ class CivilEngineeringConfig(file: File) {
|
||||||
"advancements",
|
"advancements",
|
||||||
CATEGORY_RELAY_OPTIONS,
|
CATEGORY_RELAY_OPTIONS,
|
||||||
false,
|
false,
|
||||||
"Relay player advancements [NOT IMPLEMENTED]"
|
"Relay player advancements"
|
||||||
),
|
),
|
||||||
joinLeave = config.getBoolean(
|
joinLeave = config.getBoolean(
|
||||||
"joinLeave",
|
"joinLeave",
|
||||||
|
@ -66,26 +66,26 @@ class CivilEngineeringConfig(file: File) {
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
config.addCustomCategoryComment(CATEGORY_FORMATTING, "Formatting options " +
|
config.addCustomCategoryComment(CATEGORY_FORMATTING, "Formatting options: " +
|
||||||
"available variables: {username}, {text}, {gateway}, {channel}, {protocol}, {username:antiping}")
|
"Available variables: {username}, {text}, {gateway}, {channel}, {protocol}, {username:antiping}")
|
||||||
formatting = FormattingOptions(
|
formatting = FormattingOptions(
|
||||||
chat = config.getString(
|
chat = config.getString(
|
||||||
"chat",
|
"chat",
|
||||||
CATEGORY_FORMATTING,
|
CATEGORY_FORMATTING,
|
||||||
"<{username}> {text}",
|
"<{username}> {text}",
|
||||||
"generic chat event, just talking"
|
"Generic chat event, just talking"
|
||||||
),
|
),
|
||||||
joinLeave = config.getString(
|
joinLeave = config.getString(
|
||||||
"joinLeave",
|
"joinLeave",
|
||||||
CATEGORY_FORMATTING,
|
CATEGORY_FORMATTING,
|
||||||
"§6-- {username} {text}",
|
"§6-- {username} {text}",
|
||||||
"leave and jon events from other gateways"
|
"Join and leave events from other gateways"
|
||||||
),
|
),
|
||||||
action = config.getString(
|
action = config.getString(
|
||||||
"action",
|
"action",
|
||||||
CATEGORY_FORMATTING,
|
CATEGORY_FORMATTING,
|
||||||
"§5* {username} {text}",
|
"§5* {username} {text}",
|
||||||
"/me sent by users from other gateways"
|
"User actions (/me) sent by users from other gateways"
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue