#1035 Migrate other accounts config from config.yml to commands.yml
This commit is contained in:
@@ -180,18 +180,6 @@ public final class RestrictionSettings implements SettingsHolder {
|
||||
public static final Property<List<String>> UNRESTRICTED_NAMES =
|
||||
newLowercaseListProperty("settings.unrestrictions.UnrestrictedName");
|
||||
|
||||
@Comment("Threshold of the other accounts command, a value less than 2 means disabled.")
|
||||
public static final Property<Integer> OTHER_ACCOUNTS_CMD_THRESHOLD =
|
||||
newProperty("settings.restrictions.otherAccountsCmdThreshold", 0);
|
||||
|
||||
@Comment({
|
||||
"Command to run when a user has more accounts than the configured threshold.",
|
||||
"Available variables: %playername%, %playerip%"
|
||||
})
|
||||
public static final Property<String> OTHER_ACCOUNTS_CMD =
|
||||
newProperty("settings.restrictions.otherAccountsCmd",
|
||||
"say The player %playername% with ip %playerip% has multiple accounts!");
|
||||
|
||||
private RestrictionSettings() {
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user