添加对 floodgate 的支持

This commit is contained in:
Sattera
2023-04-04 09:08:07 +08:00
parent 0e1e65c7f7
commit c2b7a693b2
4 changed files with 25 additions and 2 deletions
@@ -125,6 +125,9 @@ public final class RestrictionSettings implements SettingsHolder {
public static final Property<String> ALLOWED_NICKNAME_CHARACTERS =
newProperty("settings.restrictions.allowedNicknameCharacters", "[a-zA-Z0-9_]*");
@Comment("Allow FloodGatePlayer Join Without checkIsValidName()")
public static final Property<Boolean> HOOK_FLOODGATE_PLAYER =
newProperty("settings.restrictions.hookFloodGatePlayer", false);
@Comment({
"How far can unregistered players walk?",
"Set to 0 for unlimited radius"