Copiar
#__ _______ ______ _____ _ _
#\ \ / / ____|____ | __ \| | (_)
# \ V / | __ / /| |__) | |_ _ __ _ _ _ __ ___
# > <| | |_ | / / | ___/| | | | |/ _` | | '_ \/ __|
# / . \ |__| | / / | | | | |_| | (_| | | | | \__ \
#/_/ \_\_____|/_/ |_| |_|\__,_|\__, |_|_| |_|___/
# __/ |
# |___/
#Settings for all XG7plugins, and the Core
#Visit our website: https://xg7plugins.com
#See our documentation: https://xg7plugins.gitbook.io/doc/
#TO REPORT SOME BUG, REPORT ON SPIGOT OR ON THE DISCORD SERVER:
#https://discord.gg/2wzmnyu7S3
#Plugin prefix used on messages
prefix: "&bXG&37P&9lu&1gins &8>>&r"
#Must be the same as in BungeeCord config!
server:
server-name: "XG7PluginsServer"
ip: "0.0.0.0"
port: 25565
############################################################
# LANGUAGES #
############################################################
#Main language
#Must be the name of the file in the lang folder
main-lang: en
#When disabled, the plugin will choose
#the main language from the server
lang-enabled: true
#Cache expires of langs
lang-cache-expires: 30m
lang-form-enabled: true
#Auto chose lang for player by player's locale
auto-chose-lang: true
#Cooldown to toggle languages when
#chosed
cooldown-to-toggle-lang: 5s
############################################################
# THREAD AND CACHING #
############################################################
#Cache expires of JSON
json-cache-expires: 10m
#Http request timeout
#for web requests
http-requests-timeout: 10s
#Threads for executing scheduled/timer tasks
scheduled-tasks-threads: 8
disable-version-check: false
#Cache expires of menus
menu-cache-expires: 10m
#Holograms update settings
holograms-levitating-interval: 100ms
holograms-update-delay: 500ms
############################################################
# MODULES #
############################################################
#Microsystems in XG7Plugins that
modules-enabled:
xg7menus: true
xg7geyserforms: true
xg7scores: true
xg7holograms: true
xg7npcs: true
xg7dialogs: true
############################################################
# HELP OPTIONS #
############################################################
help:
help-by-gui: true
#For bedrock players
help-by-form: true
#1.21.6+
about-in-dialog: true
#Default config value editor is by conversation
config-editor:
#+1.21.6, default -> conversation
dialog-editor: true
#For bedrock players
form-editor: true
form-config-file-list: true
############################################################
# DATABASES #
############################################################
#Define database values
sql:
#Types: SQLITE, MYSQL, MARIADB
type: "sqlite"
host: "localhost"
port: 3306
database: "xg7plugins"
username: "root"
password: ""
#Connection string
#url: "jdbc:mysql://localhost:3306/"
#Cache expires of sql entities
cache-expires: 30m
#Don't work on SQLITE
#Connection pool
connection-timeout: 10s
idle-timeout: 600s
max-pool-size: 10
min-idle-connections: 5
#SQLITE database task for
#keep the database alive
keep-alive-delay: 600s
#Define redis cache configuration
redis-cache:
enabled: false
host: "localhost"
port: 6379
user-auth-enabled: false
username: ""
password: ""
cache-expires: true
min-idle-connections: 10
max-idle-connections: 50
max-connections: 100
max-wait-time: 10s
############################################################
# DEBUG #
############################################################
#Debug mode
debug:
enabled: false
database: true
load: true
commands: true
http-requests: true
text: true
tasks: true
config: true
cooldown: true
json: true
lang: true
dependencies: true
menus: true
scores: true
extensions: true
############################################################
# OTHERS #
############################################################
#Delay sending a message or
#make an action while is in cooldown
player-cooldown-task-delay: 1s
organize-tablist: true
#Anti'tab resource that filters all
#commands based on player permissions
anti-tab: true
cooldown-for-showing-action-messages: 3500ms
#+1.21.6
#Time for unregister a waiting response
#for a dialog
dialog-response-expires: 30m
#When using a time placeholder like @TIME_FORMAT:%time_milli%@
#These placeholders indicate the time units,
#For example, 1s (seconds), 1ms (milliseconds)
time-placeholders:
milliseconds: "ms"
seconds: "s"
minutes: "m"
hours: "h"
days: "d"
#DO NOT CHANGE
#THIS IS FOR VERSION CONTROL
config-version: 7