mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-11-18 08:15:12 +01:00
Fix tests
This commit is contained in:
parent
0afa5f0535
commit
2d8a80049b
@ -64,7 +64,8 @@ public final class Settings {
|
|||||||
purgeLimitedCreative, purgeAntiXray, purgePermissions,
|
purgeLimitedCreative, purgeAntiXray, purgePermissions,
|
||||||
enableProtection, enableAntiBot, recallEmail, useWelcomeMessage,
|
enableProtection, enableAntiBot, recallEmail, useWelcomeMessage,
|
||||||
broadcastWelcomeMessage, forceRegKick, forceRegLogin,
|
broadcastWelcomeMessage, forceRegKick, forceRegLogin,
|
||||||
checkVeryGames, removeJoinMessage, removeLeaveMessage, delayJoinMessage, noTeleport, applyBlindEffect,
|
checkVeryGames, removeJoinMessage, removeLeaveMessage, delayJoinMessage,
|
||||||
|
noTeleport, applyBlindEffect, hideTablistBeforeLogin, denyTabcompleteBeforeLogin,
|
||||||
kickPlayersBeforeStopping, allowAllCommandsIfRegIsOptional,
|
kickPlayersBeforeStopping, allowAllCommandsIfRegIsOptional,
|
||||||
customAttributes, generateImage, isRemoveSpeedEnabled, preventOtherCase;
|
customAttributes, generateImage, isRemoveSpeedEnabled, preventOtherCase;
|
||||||
public static String getNickRegex, getUnloggedinGroup, getMySQLHost,
|
public static String getNickRegex, getUnloggedinGroup, getMySQLHost,
|
||||||
@ -165,6 +166,9 @@ public final class Settings {
|
|||||||
enablePasswordConfirmation = configFile.getBoolean("settings.restrictions.enablePasswordConfirmation", true);
|
enablePasswordConfirmation = configFile.getBoolean("settings.restrictions.enablePasswordConfirmation", true);
|
||||||
|
|
||||||
protectInventoryBeforeLogInEnabled = configFile.getBoolean("settings.restrictions.ProtectInventoryBeforeLogIn", true);
|
protectInventoryBeforeLogInEnabled = configFile.getBoolean("settings.restrictions.ProtectInventoryBeforeLogIn", true);
|
||||||
|
denyTabcompleteBeforeLogin = configFile.getBoolean("settings.restrictions.DenyTabcompleteBeforeLogin", true);
|
||||||
|
hideTablistBeforeLogin = configFile.getBoolean("settings.restrictions.DenyTabcompleteBeforeLogin", true);
|
||||||
|
|
||||||
plugin.checkProtocolLib();
|
plugin.checkProtocolLib();
|
||||||
|
|
||||||
passwordMaxLength = configFile.getInt("settings.security.passwordMaxLength", 20);
|
passwordMaxLength = configFile.getInt("settings.security.passwordMaxLength", 20);
|
||||||
|
@ -86,10 +86,10 @@ public class RegistrationSettings implements SettingsClass {
|
|||||||
|
|
||||||
// TODO: comments!
|
// TODO: comments!
|
||||||
public static final Property<Boolean> REMOVE_JOIN_MESSAGE =
|
public static final Property<Boolean> REMOVE_JOIN_MESSAGE =
|
||||||
newProperty("settings.removeJoinMessages", false);
|
newProperty("settings.removeJoinMessage", false);
|
||||||
|
|
||||||
public static final Property<Boolean> REMOVE_LEAVE_MESSAGE =
|
public static final Property<Boolean> REMOVE_LEAVE_MESSAGE =
|
||||||
newProperty("settings.removeLeaveMessages", false);
|
newProperty("settings.removeLeaveMessage", false);
|
||||||
|
|
||||||
@Comment("Do we need to add potion effect Blinding before login/reigster?")
|
@Comment("Do we need to add potion effect Blinding before login/reigster?")
|
||||||
public static final Property<Boolean> APPLY_BLIND_EFFECT =
|
public static final Property<Boolean> APPLY_BLIND_EFFECT =
|
||||||
|
Loading…
Reference in New Issue
Block a user