Add ASN field to players table
Ban evaders will often use the accounts of whitelisted users. This will allow me to lock specific users into their ASN to prevent ban evaders from connecting via VPNs or other residential connections (unless they're from the same ISP).
This commit is contained in:
parent
320199d2a6
commit
6ff2142538
@ -34,6 +34,7 @@ public class Database {
|
|||||||
"CREATE TABLE IF NOT EXISTS players (" +
|
"CREATE TABLE IF NOT EXISTS players (" +
|
||||||
"uuid TEXT NOT NULL UNIQUE," +
|
"uuid TEXT NOT NULL UNIQUE," +
|
||||||
"home TEXT," +
|
"home TEXT," +
|
||||||
|
"asn INTEGER," +
|
||||||
"PRIMARY KEY(uuid)" +
|
"PRIMARY KEY(uuid)" +
|
||||||
");");
|
");");
|
||||||
stmt.executeUpdate(
|
stmt.executeUpdate(
|
||||||
|
Loading…
Reference in New Issue
Block a user