Refactor Level to Group for sanity and allow custom groups in commands.

This is a breaking configuration change. There will continue to be breaking configurations until I'm satisfied with the overall sanity of the system. I'm not providing upgrade scripts at this time, and won't promise them in the future. Please stay aware of the fact that these are dev builds, and are subject to change at any time.
This commit is contained in:
h31ix committed 2013-10-13 22:49:32 -04:00
1 parent fd1e5232e0
commit e5a2051aee
15 files changed
+150 -163

No files matched your search

+3 -3
View File
@@ -31,10 +31,10 @@ log:
# Syncing settings
sync:
# Keep user's levels synced in the database?
users: true
levels: true
# Configuration settings
config:
# Load events configuration from the database?
events: true
# Load groups configuration from the database?
groups: true
# Load rules configuration from the database?
rules: true
@@ -1,9 +1,6 @@
# AntiCheat configuration file
# Please report any bugs: http://dev.bukkit.org/server-mods/anticheat/
events:
groups:
- 'Medium : 20 : YELLOW : WARN'
- 'High : 50 : RED : KICK'
- 'Custom : -1 : GREEN : COMMAND[ban &player;say hello world]'
rules:
# if spider check is less than 0, set level to 20. otherwise, do nothing
- 'Check_SPIDER < 0 ? Player.KICK : null'
- 'Custom : -1 : GREEN : COMMAND[ban &player;say hello world]'
+1 -1
View File
@@ -1,7 +1,7 @@
# AntiCheat language file
# Please report any bugs: http://dev.bukkit.org/server-mods/anticheat/
alert:
- '&player has just entered the &level hack level.'
- '&player has just entered the &group hack group.'
- '&player''s last failed check was: &check.'
- 'Type ''/anticheat report &player'' for more information.'
warning:
+5
View File
@@ -0,0 +1,5 @@
# AntiCheat configuration file
# Please report any bugs: http://dev.bukkit.org/server-mods/anticheat/
rules:
# if spider check is less than 0, set group to 20. otherwise, do nothing
- 'Check_SPIDER < 0 ? Player.KICK : null'