bentobox/src/main/resources/config.yml
2019-04-19 18:49:47 +02:00

101 lines
4.9 KiB
YAML

# BentoBox Configuration 1.5.0-SNAPSHOT
# This config file is dynamic and is updated right after BentoBox loaded its settings from it.
# You can edit it while the server is online and you can do '/bbox reload' to take the changes into account.
# However, it is a better practice to edit this file while the server is offline.
general:
# Default language for new players.
# This is the filename in the locale folder without .yml.
# If this does not exist, the default en-US will be used.
default-language: en-US
# Use economy or not. If true, an economy plugin is required. If false, no money is used or give.
# If there is no economy plugin present anyway, money will be automatically disabled.
use-economy: true
database:
# YAML, JSON, MYSQL, MARIADB (10.2.3+), MONGODB.
# YAML and JSON are both file-based databases.
# MYSQL might not work with all implementations: if available, use a dedicated database type (e.g. MARIADB).
# If you use MONGODB, you must also run the BSBMongo plugin (not addon).
# See https://github.com/tastybento/bsbMongo/releases/.
# /!\ BentoBox currently does not support changing this value mid-game. If you do need to change it, do a full reset of your databases and worlds.
type: YAML
host: localhost
# Port 3306 is MySQL's default. Port 27017 is MongoDB's default.
port: 3306
name: bentobox
username: username
password: password
# How often the data will be saved to file in mins. Default is 5 minutes.
# This helps prevent issues if the server crashes.
# Data is also saved at important points in the game.
backup-period: 5
# Allow FTB Autonomous Activator to work (will allow a pseudo player [CoFH] to place and break blocks and hang items)
# Add other fake player names here if required
# /!\ This feature is experimental and might not work as expected or might not work at all.
fakeplayers:
- '[CoFH]'
# Rank required to use a command. e.g., use the invite command. Default is owner rank is required.
# /!\ This feature is experimental and might not work as expected or might not work at all.
rank-command: {}
panel:
close-on-click-outside: true
logs:
# Toggle whether superflat chunks regeneration should be logged in the server logs or not.
# It can be spammy if there are a lot of superflat chunks to regenerate.
# However, as superflat chunks regeneration can be performance-intensive, it is recommended to keep
# this setting set to true, as it will help you know if there are regenerations taking place.
# Added since 1.2.0.
clean-super-flat-chunks: true
island:
cooldown:
time:
# How long a player must wait until they can rejoin a team island after being kicked in minutes.
# This slows the effectiveness of players repeating challenges
# by repetitively being invited to a team island.
invite: 60
# How long a player must wait until they can coop a player in minutes.
coop: 5
# How long a player must wait until they can trust a player in minutes.
trust: 5
# How long a player must wait until they can ban a player after unbanning them. In minutes.
ban: 10
# How long a player must wait before they can reset their island again in seconds.
reset: 300
options:
# Whether the reset cooldown should be applied when the player creates an island for the first time or not.
# Added since 1.2.0.
set-reset-cooldown-on-create: true
confirmation:
# Time in seconds that players have to confirm sensitive commands, e.g. island reset.
time: 10
commands:
# Ask the player to confirm the command he is using by typing it again.
kick: true
leave: true
reset: true
name:
# These set the minimum and maximum size of a name.
min-length: 4
max-length: 20
# Number of blocks to paste per tick when pasting a schem
# Smaller values will help reduce noticeable lag but will make pasting take longer
paste-speed: 1000
web:
# BentoBox uses bStats.org to get global data about the plugin to help improving it.
# bStats has nearly no effect on your server's performance and the sent data is completely
# anonymous so please consider twice if you really want to disable it.
metrics: true
github:
# Toggle whether BentoBox can connect to GitHub to get data about updates and addons.
# Disabling this will result in the deactivation of the update checker and of some other
# features that rely on the data downloaded from the GitHub API.
# It does not send any data.
# Added since 1.5.0.
download-data: true
# Toggle whether the downloaded data should be flushed to files.
# It helps to prevent previously downloaded data being lost due to a more recent connection that failed
# to connect to the GitHub API.
# Such files are stored in JSON format and do not usually take up more than a few kilobytes of disk space each.
# Added since 1.5.0.
flush-data-to-files: true
uniqueId: config