mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-09-29 15:17:29 +02:00
6f96f47ae5
Implements https://github.com/BentoBoxWorld/BentoBox/issues/800 * WIP * Generic invites for team, coop and trusting. Needs play testing. https://github.com/BentoBoxWorld/BentoBox/issues/800 * Fixed tests and added handling in trust and coop commands * Completes invite, trust and coops command and tests. * Minor documentation/settings improvements * Renamed InviteType to Invite.Type * Fixed compilation error
131 lines
6.7 KiB
YAML
131 lines
6.7 KiB
YAML
# BentoBox Configuration 1.7.0
|
|
# 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:
|
|
# JSON, MYSQL, MARIADB (10.2.3+), MONGODB, SQLITE, POSTGRESQL and YAML(deprecated).
|
|
# Transition database options are:
|
|
# YAML2JSON, YAML2MARIADB, YAML2MYSQL, YAML2MONGODB, YAML2SQLITE
|
|
# JSON2MARIADB, JSON2MYSQL, JSON2MONGODB, JSON2SQLITE, JSON2POSTGRESQL
|
|
# MYSQL2JSON, MARIADB2JSON, MONGODB2JSON, SQLITE2JSON, POSTGRESQL2JSON
|
|
# If you need others, please make a feature request.
|
|
# Transition options enable migration from one database type to another. Use /bbox migrate.
|
|
# YAML and JSON are 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/.
|
|
# You can find more details in this video: https://youtu.be/FFzCk5-y7-g
|
|
type: JSON
|
|
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]'
|
|
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
|
|
# Toggle whether downloading data from GitHub should be logged in the server logs or not.
|
|
# Added since 1.5.0.
|
|
github-download-data: 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
|
|
# Ask the recipient to confirm trust or coop invites. Team invites always require confirmation.
|
|
invite: false
|
|
delay:
|
|
# Time in seconds that players have to stand still before teleport commands activate, e.g. island go.
|
|
time: 0
|
|
name:
|
|
# Sets the minimum length an island custom name is required to have.
|
|
min-length: 4
|
|
# Sets the maximum length an island custom name cannot exceed.
|
|
max-length: 20
|
|
# Requires island custom names to be unique in the gamemode the island is in.
|
|
# As a result, only one island per gamemode are allowed to share the same name.
|
|
# Note that island names are purely cosmetics and are not used as a way to programmatically identify islands.
|
|
# Added since 1.7.0.
|
|
uniqueness: false
|
|
# Remove hostile mob on teleport box radius
|
|
# If hostile mobs are cleared on player teleport, then this sized box will be cleared
|
|
# around the player. e.g. 5 means a 10 x 10 x 10 box around the player
|
|
# Be careful not to make this too big. Does not cover standard nether or end teleports.
|
|
# Added since 1.6.0.
|
|
clear-radius: 5
|
|
# Number of blocks to paste per tick when pasting blueprints.
|
|
# Smaller values will help reduce noticeable lag but will make pasting take slightly longer.
|
|
# On the contrary, greater values will make pasting take less time, but this benefit is quickly severely impacted by the
|
|
# resulting amount of chunks that must be loaded to fulfill the process, which often causes the server to hang out.
|
|
paste-speed: 128
|
|
# Number of chunks per world to regenerate per tick.
|
|
# If there is a nether and end then 3x this number will be regenerated per tick.
|
|
# Smaller values will help reduce noticeable lag but will make deleting take longer.
|
|
# A setting of 0 will leave island blocks (not recommended).
|
|
# Added since 1.7.0.
|
|
delete-speed: 1
|
|
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
|
|
# Time in minutes between each connection to the GitHub API.
|
|
# This allows for up-to-the-minute information gathering.
|
|
# However, as the GitHub API data does not get updated instantly, this value cannot be set to less than 60 minutes.
|
|
# Setting this to 0 will make BentoBox download data only at startup.
|
|
# Added since 1.5.0.
|
|
connection-interval: 60
|