Files
AuxProtect-Folia/AuxProtect_Core/config.yml
2024-07-18 18:53:02 -04:00

101 lines
3.9 KiB
YAML

# AuxProtect
# Developed by Heliosares
# https://www.spigotmc.org/resources/auxprotect.99147/
# Set the language file to be used.
# Default: en-us
# File location: lang/en-us.yml
lang: en-us
# MySQL functionality is EXPERIMENTAL. Use with caution.
# SQLITE LOGS WILL NOT BE MIGRATED.
MySQL:
use: false # Recommended: false
host: localhost
port: 3306
database: database
username: username
password: password
# Prefix to be used for all table names. Editing this after creating your databases will cause all past data to be lost.
# This only applied to MySQL, not SQLite
table-prefix: ''
# Use this to force all commands within AuxProtect to override all other plugin's commands.
# You only need to enable this if another plugin is interfering.
OverrideCommands: false
# Toggles whether to strip strings going into the database of non-standard characters. You only need this
# if you are getting errors like "Incorrect string value: '\xE1\x83\xA0' for column 'data'"
SanitizeUnicode: false
# Automatic purging
# This will be performed every time the plugin is loaded, up to once every 12 hours.
# Times are formatted the same as lookups. (e.g. 10w is 10 weeks)
# Minimum: 2w
AutoPurge:
Enabled: false
# When a purge is performed, how long should entries be retained?
default: 180d
# How many days should the plugin wait between purges? i.e. how often should a purge be performed?
# Note: regardless of this setting, the plugin will only perform purges during startup
periodicity: 3d
Table:
# Set any table to "off" to disable.
# Set any table to "default" to use the 'default' setting. It is recommended to leave these as default unless you want more control.
# For a list of which actions belong to which tables, see https://github.com/Heliosares/AuxProtect/wiki/Actions
auxprotect_main: default
auxprotect_spam: default
auxprotect_abandoned: default
auxprotect_xray: default
auxprotect_inventory: default
auxprotect_commands: default
auxprotect_position: default
auxprotect_towny: default
auxprotect_api: default
auxprotect_chat: default
# Note: This action list is mostly generated by the plugin at runtime.
# Disabling an action here will remove the ability to look up that
# action as well as disable the logging of that action.
# It will not affect any data currently in the database, which is only
# removed during a purge.
Actions:
money:
Enabled: true
# The logging interval in ms.
Interval: 60000
pos:
Enabled: true
# The logging interval in ms.
Interval: 3000
inventory:
Enabled: true
# Causes inventories to be logged on world change IF the inventory is different before and after the teleport.
# This is mostly useful for worlds which have separate inventories like creative worlds.
WorldChange: false
# The logging interval in ms. This does not affect logging on join, leave, or worldchange.
Interval: 3600000
# Enables differential logging and searching of inventories down to the second.
# This feature is experimental and will consume significantly more disk space.
# Do not use this feature if your server is medium to large.
Diff-Interval: 0
# Use this if you run into issues with death inventories being empty.
# This is usually due to a plugin like DeathChests clearing the inventory before AuxProtect sees it.
LowestPriority: false
townbalance:
Enabled: true
# The logging interval in ms. Only makes an entry if there has been a change.
Interval: 5000
nationbalance:
Enabled: true
# The logging interval in ms. Only makes an entry if there has been a change.
Interval: 5000
session:
Enabled: true
# Whether to log the current session's IP in the data of a:session
LogIP: true
# Automatically check for updates and display notifications in game.
# It's recommended to leave this enabled, as I'm constantly improving the plugin.
checkforupdates: true