Massive messaging and config changes.

Furthermore:
+ Added basic KillAura angle check (a start to #52)
+ Fixed sneak false positives
+ Added staff alert messaging (anticheat.system.alert permission, see #28)
+ Language file now support color coding
+ Added debug-mode for testservers
+ Insignificant pom.xml and README.md updates
This commit is contained in:
Rammelkast committed 2020-03-25 17:41:44 +01:00
1 parent fec1286c8d
commit 27ca12aec3
30 files changed
+145 -170

No files matched your search

+3
View File
@@ -30,6 +30,9 @@ system:
event-chains: true
# Should Enterprise options be enabled? Only set this to true if you're an advanced user.
enterprise: false
# Running AntiCheatReloaded in debug mode will send alerts to the cheating players
# Do NOT enable this in a production environment!
debug-mode: false
# Use /AntiCheatReloaded check for a list of valid checks
disabled-checks:
- EXAMPLE_CHECK
+1 -2
View File
@@ -1,5 +1,4 @@
# AntiCheat configuration file
# Please report any bugs: https://github.com/gravitylow/AntiCheat/issues
# AntiCheatReloaded configuration file
# Server-specific settings
server:
# An identifiable name for this server
+1 -1
View File
@@ -2,4 +2,4 @@
groups:
- 'Medium : 20 : YELLOW : WARN'
- 'High : 50 : RED : KICK'
- 'Custom : -1 : GREEN : COMMAND[ban &player;say hello world]'
- 'Custom : -1 : GREEN : COMMAND[ban %player%;]'
+14 -14
View File
@@ -1,17 +1,17 @@
# AntiCheatReloaded language file
ALERT:
- '&player has just entered the &group hack group.'
- '&player''s last failed check was: &check.'
- 'Type ''/anticheat report &player'' for more information.'
- '&c%player% has just entered the %group% hack group.'
- '&c%player%''s last failed check was: %check%.'
- '&cType ''/acr report %player%'' for more information.'
WARNING:
- '[AntiCheatReloaded] Hacking is not permitted.'
- '[AntiCheatReloaded] If you continue to hack, action will be taken.'
BAN_REASON: 'Banned by AntiCheatReloaded'
BAN_BROADCAST: '&player was banned for hacking.'
KICK_REASON: 'Kicked by AntiCheatReloaded'
KICK_BROADCAST: '&player was kicked for hacking.'
SPAM_WARNING: 'Stop spamming the server or you will be kicked!'
SPAM_KICK_REASON: 'Kicked for spamming'
SPAM_KICK_BROADCAST: '&player was kicked for spamming'
SPAM_BAN_REASON: 'Banned for spamming'
SPAM_BAN_BROADCAST: '&player was banned for spamming'
- '&6&lACR&7 You have been flagged for using cheats.'
- '&6&lACR&7 If you continue to cheat, action will be taken.'
BAN_REASON: '&cBanned by AntiCheatReloaded'
BAN_BROADCAST: '&c%player% was banned for hacking.'
KICK_REASON: '&cKicked by AntiCheatReloaded'
KICK_BROADCAST: '&c%player% was kicked for hacking.'
SPAM_WARNING: '&cStop spamming the server or you will be kicked!'
SPAM_KICK_REASON: '&cKicked for spamming'
SPAM_KICK_BROADCAST: '&c%player% was kicked for spamming'
SPAM_BAN_REASON: '&cBanned for spamming'
SPAM_BAN_BROADCAST: '&c%player% was banned for spamming'
+7 -1
View File
@@ -252,4 +252,10 @@ BLINK_PACKET: 25
BLINK_AVERAGE_PING: 120
# Maximum amount zero-velocity moments before a player is suspected
# Increase this in case of false positives
VELOCITY_AMT: 5
VELOCITY_MAX_FLAGS: 5
# The maximum angle difference allowed when attacking
# Increase this in case of false positives
KILLAURA_MAX_ANGLE_DIFFERENCE: 50
# The maximum amount of violations before flagging player as a cheater
# Increase this in case of false positives
KILLAURA_MAX_ANGLE_VIOLATIONS: 3
+4 -4
View File
@@ -2,7 +2,7 @@ name: AntiCheatReloaded
author: Rammelkast
description: AntiCheatReloaded helps easily identify and block malicious users on your server.
main: com.rammelkast.anticheatreloaded.AntiCheatReloaded
api-version: 1.13
api-version: 1.15
depend: [ProtocolLib]
startup: postworld
version: ${project.build.version}
@@ -97,8 +97,8 @@ permissions:
anticheat.check.fastheal:
description: Allow players to heal up instantly
default: false
anticheat.check.forcefield:
description: Allow players to use a forcefield
anticheat.check.killaura:
description: Allow players to use killaura
default: false
anticheat.check.longreach:
description: Allow players to use longreaching hacks
@@ -154,7 +154,7 @@ permissions:
anticheat.check.fastbow: true
anticheat.check.fasteat: true
anticheat.check.fastheal: true
anticheat.check.forcefield: true
anticheat.check.killaura: true
anticheat.check.longreach: true
anticheat.check.projectile: true
anticheat.check.itemspam: true