mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-02 14:38:45 +00:00
Allow database levels to be set manually and updated across servers
This commit is contained in:
1 parent
d49e44b0ba
commit
d06361b3c9
10 files changed
+116
-10
No files matched your search
@@ -86,8 +86,7 @@ public class AnticheatManager {
|
||||
if (i != 1 && getConfiguration().getConfig().logToConsole.getValue()) {
|
||||
Bukkit.getConsoleSender().sendMessage("[AntiCheat] " + ChatColor.RED + message);
|
||||
}
|
||||
if (i == 0 && getConfiguration().getConfig().fileLogLevel.getValue() == LOG_LEVEL_HIGH) // Not an alert, normal log message
|
||||
{
|
||||
if (i == 0 && getConfiguration().getConfig().fileLogLevel.getValue() == LOG_LEVEL_HIGH) { // Not an alert, normal log message
|
||||
fileLog(message);
|
||||
} else if (getConfiguration().getConfig().fileLogLevel.getValue() != 0) { // alert
|
||||
fileLog(message);
|
||||
|
||||
@@ -400,4 +400,9 @@ public class User {
|
||||
public Timestamp getLevelSyncTimestamp() {
|
||||
return levelSyncTimestamp;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "User {name = " + name + ", level = " + level + "}";
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user