mirror of
https://e.coding.net/circlecloud/AuthMe.git
synced 2025-11-26 21:46:23 +00:00
@@ -45,7 +45,7 @@ public class Messages {
|
||||
loc = "错误的语言文件 " + msg + " ; 请联系管理员升级语言文件";
|
||||
ConsoleLogger.showError("错误的语言文件 " + msg + " 请检查您的配置文件" + msgcfg.getName() + " !");
|
||||
}
|
||||
return loc.split("\n");
|
||||
return loc.split(Settings.messageSplit);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -43,7 +43,8 @@ public final class Settings {
|
||||
public static String getNickRegex, getUnloggedinGroup, getMySQLHost, getMySQLPort, getMySQLUsername, getMySQLPassword, getMySQLDatabase, getMySQLTablename, getMySQLColumnName,
|
||||
getMySQLColumnPassword, getMySQLColumnIp, getMySQLColumnLastLogin, getMySQLColumnSalt, getMySQLColumnGroup, getMySQLColumnEmail, unRegisteredGroup, backupWindowsPath, getRegisteredGroup,
|
||||
getMySQLlastlocX, getMySQLlastlocY, getMySQLlastlocZ, rakamakUsers, rakamakUsersIp, getmailAccount, getmailPassword, getmailSMTP, getMySQLColumnId, getmailSenderName, getMailSubject,
|
||||
getMailText, getMySQLlastlocWorld, defaultWorld, getPhpbbPrefix, getWordPressPrefix, getMySQLColumnLogged, spawnPriority, crazyloginFileName, getPassRegex, getMySQLColumnRealName;
|
||||
getMailText, getMySQLlastlocWorld, defaultWorld, getPhpbbPrefix, getWordPressPrefix, getMySQLColumnLogged, spawnPriority, crazyloginFileName, getPassRegex, getMySQLColumnRealName,
|
||||
messageSplit;
|
||||
public static HashAlgorithm getPasswordHash;
|
||||
public static List<String> getRestrictedIp;
|
||||
public static List<String> getUnrestrictedName;
|
||||
@@ -187,6 +188,7 @@ public final class Settings {
|
||||
isStopEnabled = configFile.getBoolean("Security.SQLProblem.stopServer", true);
|
||||
reloadSupport = configFile.getBoolean("Security.ReloadCommand.useReloadCommandSupport", true);
|
||||
allowCommands = configFile.getStringList("settings.restrictions.allowCommands");
|
||||
messageSplit = configFile.getString("settings.messagesplit", "&n");
|
||||
if (configFile.contains("allowCommands")) {
|
||||
if (!allowCommands.contains("/login")) {
|
||||
allowCommands.add("/login");
|
||||
|
||||
Reference in New Issue
Block a user