bentobox/src/main/resources/config.yml

101 lines
4.9 KiB
YAML
Raw Normal View History

# BentoBox Configuration 1.5.0-SNAPSHOT
2019-02-22 11:25:39 +01:00
# 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:
2019-01-20 10:10:29 +01:00
# YAML, JSON, MYSQL, MARIADB (10.2.3+), MONGODB.
2018-10-30 17:59:11 +01:00
# YAML and JSON are both file-based databases.
2019-01-20 10:10:29 +01:00
# MYSQL might not work with all implementations: if available, use a dedicated database type (e.g. MARIADB).
2019-01-01 21:00:21 +01:00
# If you use MONGODB, you must also run the BSBMongo plugin (not addon).
2018-10-30 17:59:11 +01:00
# See https://github.com/tastybento/bsbMongo/releases/.
2019-02-22 11:25:39 +01:00
# /!\ 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.
2018-10-30 17:59:11 +01:00
type: YAML
host: localhost
# Port 3306 is MySQL's default. Port 27017 is MongoDB's default.
2017-07-08 02:12:14 +02:00
port: 3306
name: bentobox
2017-07-08 02:12:14 +02:00
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
2018-10-30 17:59:11 +01:00
# /!\ This feature is experimental and might not work as expected or might not work at all.
fakeplayers:
- '[CoFH]'
2018-10-25 10:30:27 +02:00
# Rank required to use a command. e.g., use the invite command. Default is owner rank is required.
2019-01-03 20:53:18 +01:00
# /!\ This feature is experimental and might not work as expected or might not work at all.
2018-10-25 10:30:27 +02:00
rank-command: {}
2018-07-29 22:21:46 +02:00
panel:
close-on-click-outside: true
2019-01-27 10:24:01 +01:00
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.
2019-02-22 11:25:39 +01:00
# Added since 1.2.0.
2019-01-27 10:24:01 +01:00
clean-super-flat-chunks: true
island:
2018-10-25 10:30:27 +02:00
cooldown:
2019-01-27 10:24:01 +01:00
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.
2019-02-22 11:25:39 +01:00
# Added since 1.2.0.
2019-01-27 10:24:01 +01:00
set-reset-cooldown-on-create: true
2018-10-25 10:30:27 +02:00
confirmation:
2019-01-27 10:24:01 +01:00
# Time in seconds that players have to confirm sensitive commands, e.g. island reset.
2018-10-25 10:30:27 +02:00
time: 10
commands:
# Ask the player to confirm the command he is using by typing it again.
kick: true
leave: true
reset: true
2018-07-29 22:21:46 +02:00
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
2019-02-22 11:25:39 +01:00
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
2018-07-12 06:55:00 +02:00
uniqueId: config