Add features to delete bot join data

This commit is contained in:
HaHaWTH
2023-09-29 16:13:48 +08:00
parent 6800356f10
commit 95342ae054
2 changed files with 78 additions and 32 deletions
@@ -37,6 +37,12 @@ public final class SecuritySettings implements SettingsHolder {
"(Requires floodgate and hookFloodgate: true)"})
public static final Property<Boolean> GUI_CAPTCHA_BE_COMPATIBILITY = newProperty("3rdPartyFeature.captcha.ignoreBedrock",false);
@Comment("Should we delete playerdata and stats when they didn't finish the captcha?")
public static final Property<Boolean> DELETE_UNVERIFIED_PLAYER_DATA = newProperty("3rdPartyFeature.captcha.delPlayerData",false);
@Comment("Which world's playerdata should be deleted?(Enter the world *FOLDER* name where your player first logged in)")
public static final Property<String> DELETE_PLAYER_DATA_WORLD = newProperty("3rdPartyFeature.captcha.delPlayerData","world");
// @Comment({"Should we kick the players when they failed captcha too many times?",
// "(Minimum value is 1)(Default: 3)"})
// public static final Property<Integer> GUI_CAPTCHA_MAX_TRY = newProperty("3rdPartyFeature.captcha.maxTryTimes",3);