Refactor logging system

This commit is contained in:
gravitylow committed 2014-01-19 12:49:40 -05:00
1 parent 62dcdb5d4b
commit aed44648eb
33 files changed
+311 -217

No files matched your search

+2 -3
View File
@@ -29,9 +29,8 @@ system:
auto-update: true
# Should AntiCheat log ALL failed checks to console?
log-to-console: false
# Should AntiCheat log to files?
# 0 = off, 1 = log only when an event takes place, 2 = more detailed logs, 3 = most detailed logs
file-log-level: 1
# Should AntiCheat log to file?
log-to-file: true
# Should AntiCheat display extra debug information when starting?
verbose-startup: false
# If silent mode is on, players will not be stopped when they try to hack, and AntiCheat will do everything possible to keep them unaware of their rising hack level.
+4 -4
View File
@@ -12,11 +12,11 @@ chat:
warning: 'Stop spamming the server or you will be kicked!'
kick_reason: 'Kicked for spamming'
ban_reason: 'Banned for spamming'
kick_broadcast: '[AntiCheat] &player was kicked for spamming'
ban_broadcast: '[AntiCheat] &player was banned for spamming'
kick_broadcast: '&player was kicked for spamming'
ban_broadcast: '&player was banned for spamming'
ban:
ban_reason: 'Banned by AntiCheat'
ban_broadcast: '[AntiCheat] &player was banned for hacking.'
ban_broadcast: '&player was banned for hacking.'
kick:
kick_reason: 'Kicked by AntiCheat'
kick_broadcast: '[AntiCheat] &player was kicked for hacking.'
kick_broadcast: '&player was kicked for hacking.'
+14 -11
View File
@@ -12,36 +12,39 @@ commands:
usage: /anticheat help
aliases: anti
permissions:
anticheat.notice:
description: See broadcasts when a player is kicked or banned for hacking
anticheat.alert:
description: Get alerts
description: See alerts when a player might be cheating
anticheat.system.help:
description: Help access
description: Access the help message
anticheat.system.report:
description: Reports access
description: Access cheat reports
anticheat.system.spy:
description: Spy system access
description: Access the spy system
anticheat.system.xray:
description: XRay info access
description: Access info about xray usage
anticheat.mod:
description: Mod helper perm
children:
anticheat.system.notice: true
anticheat.system.alert: true
anticheat.system.help: true
anticheat.system.report: true
anticheat.system.spy: true
anticheat.system.xray: true
anticheat.system.log:
description: Log access
description: Access turning console logging on or off
anticheat.system.reload:
description: Reload access
description: Access reloading the system
anticheat.system.reset:
description: Reset access
description: Access resetting a player's cheat level
anticheat.system.update:
description: Update access
description: Access information about whether the system is updated
anticheat.system.calibrate:
description: Calibrate info access
description: Access the calibration system
anticheat.system.debug:
description: Debug access
description: Access debug reports
anticheat.admin:
description: Admin helper perm
children: