mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-02 06:28:52 +00:00
Rewrite configuration system
This commit refactors almost all of the configuration section to make it more friendly for further development. In addition, files being saved without comments has been fixed. Emphasis has been put on retaining backwards compatibility, so most actual configuration options in flatfile have stayed the same. Minor changes are automatically upgraded.
This commit is contained in:
1 parent
1e42d58926
commit
77ab0062b8
37 files changed
+1535
-1488
No files matched your search
@@ -33,4 +33,7 @@ System:
|
||||
# Should AntiCheat track plugins in its own registered events?
|
||||
Event Chains: true
|
||||
# Should Enterprise options be enabled? Only set this to true if you're an advanced user.
|
||||
Enterprise: false
|
||||
Enterprise: false
|
||||
Disable in:
|
||||
- example-world
|
||||
- example-world-2
|
||||
@@ -1,40 +1,30 @@
|
||||
# AntiCheat configuration file
|
||||
# Please report any bugs: http://dev.bukkit.org/server-mods/anticheat/
|
||||
|
||||
# Server-specific settings
|
||||
server:
|
||||
# An identifiable name for this server
|
||||
name: 'server-1'
|
||||
|
||||
# Database settings
|
||||
database:
|
||||
# Type of database.
|
||||
type: MySQL
|
||||
|
||||
# Address of the server
|
||||
hostname: ''
|
||||
|
||||
# Port of the server
|
||||
port: 3306
|
||||
|
||||
# Username to connect with
|
||||
username: ''
|
||||
|
||||
# Password for the user
|
||||
password: ''
|
||||
|
||||
# Prefix for the tables
|
||||
prefix: 'ac_'
|
||||
|
||||
# Database/Schema to use
|
||||
database: 'minecraft'
|
||||
|
||||
# Type of database.
|
||||
type: MySQL
|
||||
# Address of the server
|
||||
hostname: ''
|
||||
# Port of the server
|
||||
port: 3306
|
||||
# Username to connect with
|
||||
username: ''
|
||||
# Password for the user
|
||||
password: ''
|
||||
# Prefix for the tables
|
||||
prefix: 'ac_'
|
||||
# Database/Schema to use
|
||||
database: 'minecraft'
|
||||
logging:
|
||||
# Keep events in the database?
|
||||
enable: true
|
||||
# Time for actions logged to stay in the database (in days)
|
||||
life: 2
|
||||
|
||||
users:
|
||||
# Synchronize user's levels in the database?
|
||||
enable: true
|
||||
|
||||
@@ -74,10 +74,9 @@ XZ_SPEED_MAX_SOULSAND_POTION: 0.16
|
||||
XZ_SPEED_MAX_SPRINT: 0.65
|
||||
XZ_SPEED_MAX_WATER: 0.19
|
||||
XZ_SPEED_MAX_WATER_SPRINT: 0.3
|
||||
Y_MAXDIFF: 5
|
||||
Y_MAXDIFF: 5.0
|
||||
Y_MAXVIOLATIONS: 1
|
||||
Y_MAXVIOTIME: 5000
|
||||
Y_SPEED_MAX: 0.5
|
||||
Y_TIME: 1000
|
||||
|
||||
VERSION: 0.2
|
||||
VERSION: 0.3
|
||||
@@ -1,7 +1,7 @@
|
||||
author: H31IX
|
||||
database: false
|
||||
description: Prevention of hacks and other malicious tinkering on a Minecraft server.
|
||||
main: net.h31ix.anticheat.Anticheat
|
||||
main: net.h31ix.anticheat.AntiCheat
|
||||
name: AntiCheat
|
||||
softdepend: [AntiCheat]
|
||||
startup: postworld
|
||||
|
||||
Reference in new issue
Block a user