mirror of
https://github.com/azerothcore/mod-anticheat.git
synced 2026-02-03 02:43:52 +00:00
Initial upload of AnticheatModule
This commit is contained in:
40
conf/Anticheat.conf.dist
Normal file
40
conf/Anticheat.conf.dist
Normal file
@@ -0,0 +1,40 @@
|
||||
[worldserver]
|
||||
#
|
||||
###################################################################################################
|
||||
|
||||
###################################################################################################
|
||||
# Anticheat.Enable
|
||||
# Description: Enables or disables the Anticheat System functionality
|
||||
# Default: 1 - (Enabled)
|
||||
# 0 - (Disabled)
|
||||
|
||||
Anticheat.Enabled = 1
|
||||
|
||||
# Anticheat.ReportsForIngameWarnings
|
||||
# Description: How many reports the player must have to notify to GameMasters ingame when he generates a new report.
|
||||
# Default: 70
|
||||
|
||||
Anticheat.ReportsForIngameWarnings = 70
|
||||
|
||||
# Anticheat.LoginMessage
|
||||
# Description: Enable login message "This server is running an Anticheat module."
|
||||
# Default: 1
|
||||
|
||||
Anticheat.LoginMessage = 1
|
||||
|
||||
# Anticheat.Detect
|
||||
# Description: It represents which detections are enabled.
|
||||
# Default 1 (climbhack = 0 by default)
|
||||
Anticheat.DetectFlyHack = 1
|
||||
Anticheat.DetectWaterWalk = 1
|
||||
Anticheat.DetectJumpHack = 1
|
||||
Anticheat.DetectTelePlaneHack = 1
|
||||
Anticheat.DetectSpeedHack = 1
|
||||
Anticheat.DetectClimbHack = 0
|
||||
|
||||
|
||||
# Anticheat.MaxReportsForDailyReport
|
||||
# Description: How many reports must the player have to make a report that it is in DB for a day (not only during the player's session).
|
||||
# Default: 70
|
||||
|
||||
Anticheat.MaxReportsForDailyReport = 70
|
||||
30
conf/SQL/charactersdb_anticheat.sql
Normal file
30
conf/SQL/charactersdb_anticheat.sql
Normal file
@@ -0,0 +1,30 @@
|
||||
DROP TABLE IF EXISTS `players_reports_status`;
|
||||
|
||||
CREATE TABLE `players_reports_status` (
|
||||
`guid` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`creation_time` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`average` float NOT NULL DEFAULT '0',
|
||||
`total_reports` bigint(20) unsigned NOT NULL DEFAULT '0',
|
||||
`speed_reports` bigint(20) unsigned NOT NULL DEFAULT '0',
|
||||
`fly_reports` bigint(20) unsigned NOT NULL DEFAULT '0',
|
||||
`jump_reports` bigint(20) unsigned NOT NULL DEFAULT '0',
|
||||
`waterwalk_reports` bigint(20) unsigned NOT NULL DEFAULT '0',
|
||||
`teleportplane_reports` bigint(20) unsigned NOT NULL DEFAULT '0',
|
||||
`climb_reports` bigint(20) unsigned NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`guid`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='';
|
||||
|
||||
DROP TABLE IF EXISTS `daily_players_reports`;
|
||||
CREATE TABLE `daily_players_reports` (
|
||||
`guid` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`creation_time` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`average` float NOT NULL DEFAULT '0',
|
||||
`total_reports` bigint(20) unsigned NOT NULL DEFAULT '0',
|
||||
`speed_reports` bigint(20) unsigned NOT NULL DEFAULT '0',
|
||||
`fly_reports` bigint(20) unsigned NOT NULL DEFAULT '0',
|
||||
`jump_reports` bigint(20) unsigned NOT NULL DEFAULT '0',
|
||||
`waterwalk_reports` bigint(20) unsigned NOT NULL DEFAULT '0',
|
||||
`teleportplane_reports` bigint(20) unsigned NOT NULL DEFAULT '0',
|
||||
`climb_reports` bigint(20) unsigned NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`guid`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='';
|
||||
Reference in New Issue
Block a user