Files
mod-anticheat/sql/characters/base/charactersdb_anticheat.sql
MDIC d589615a87 Update: New SQL and Accurate Column Counting
New Character DB sql, accurate column counting for all cheat detections now in db as well (Teleportation, ignore control, zaxis)
2022-04-19 12:49:38 -04:00

36 lines
1.7 KiB
SQL

DROP TABLE IF EXISTS `daily_players_reports`;
CREATE TABLE IF NOT EXISTS `daily_players_reports` (
`guid` int unsigned NOT NULL DEFAULT 0,
`creation_time` int unsigned NOT NULL DEFAULT 0,
`average` float NOT NULL DEFAULT 0,
`total_reports` bigint unsigned NOT NULL DEFAULT 0,
`speed_reports` bigint unsigned NOT NULL DEFAULT 0,
`fly_reports` bigint unsigned NOT NULL DEFAULT 0,
`jump_reports` bigint unsigned NOT NULL DEFAULT 0,
`waterwalk_reports` bigint unsigned NOT NULL DEFAULT 0,
`teleportplane_reports` bigint unsigned NOT NULL DEFAULT 0,
`climb_reports` bigint unsigned NOT NULL DEFAULT 0,
`teleport_reports` bigint unsigned NOT NULL DEFAULT 0,
`ignorecontrol_reports` bigint unsigned NOT NULL DEFAULT 0,
`zaxis_reports` bigint unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
DROP TABLE IF EXISTS `players_reports_status`;
CREATE TABLE IF NOT EXISTS `players_reports_status` (
`guid` int unsigned NOT NULL DEFAULT 0,
`creation_time` int unsigned NOT NULL DEFAULT 0,
`average` float NOT NULL DEFAULT 0,
`total_reports` bigint unsigned NOT NULL DEFAULT 0,
`speed_reports` bigint unsigned NOT NULL DEFAULT 0,
`fly_reports` bigint unsigned NOT NULL DEFAULT 0,
`jump_reports` bigint unsigned NOT NULL DEFAULT 0,
`waterwalk_reports` bigint unsigned NOT NULL DEFAULT 0,
`teleportplane_reports` bigint unsigned NOT NULL DEFAULT 0,
`climb_reports` bigint unsigned NOT NULL DEFAULT 0,
`teleport_reports` bigint unsigned NOT NULL DEFAULT 0,
`ignorecontrol_reports` bigint unsigned NOT NULL DEFAULT 0,
`zaxis_reports` bigint unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;