Ban log
This commit is contained in:
parent
6970c3205e
commit
74f4645828
@ -16,6 +16,9 @@ import java.util.Optional;
|
||||
public class AnticheatDatabase extends MinecraftRepository
|
||||
{
|
||||
//CREATE TABLE IF NOT EXISTS user_anticheat_vls (accountId INT, checkId INT, maxViolations INT, totalAlerts INT, PRIMARY KEY(accountId, checkId));
|
||||
|
||||
public static final String INSERT_INTO_BAN_LOG = "INSERT INTO user_anticheat_bans (accountId, banId, data) VALUES (?, ?, ?)";
|
||||
|
||||
public static final String UPDATE_VIOLATIONS = "INSERT INTO user_anticheat_vls (accountId, checkId, "
|
||||
+ "maxViolations, totalAlerts) VALUES (?, ?, ?, ?) ON DUPLICATE KEY"
|
||||
+ " UPDATE maxViolations = VALUES(maxViolations), totalAlerts = VALUES(totalAlerts);";
|
||||
|
Loading…
Reference in New Issue
Block a user