1
0

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:
Ryan Fox 2020-10-27 17:59:25 +00:00
parent 320199d2a6
commit 6ff2142538
Signed by: flewkey
GPG Key ID: 94F56ADFD848851E

View File

@ -34,6 +34,7 @@ public class Database {
"CREATE TABLE IF NOT EXISTS players (" +
"uuid TEXT NOT NULL UNIQUE," +
"home TEXT," +
"asn INTEGER," +
"PRIMARY KEY(uuid)" +
");");
stmt.executeUpdate(