Configuration
SnFlyBoostLimit ships one YAML file. Keep config-version as it is: when it is lower than the plugin expects, the file is saved as old-config.yml and a fresh one is generated.
config.yml
# ============================================================
# SnFlyBoostLimit
# Configuration File
# ============================================================
# Config version - DO NOT MODIFY.
# Used to detect outdated configs after a plugin update. If this number is
# lower than the plugin expects, the file is backed up as old-config.yml and
# a fresh config is generated.
config-version: 2
# ------------------------------------------------------------
# FLIGHT SPEED LIMITS
# ------------------------------------------------------------
flight:
# Maximum horizontal flight speed, in blocks per second.
# A player flying faster than this is reverted to their previous position.
# Vanilla creative sprint-fly is about 21.6 blocks/second, so 25.0 leaves
# normal flight untouched while still blocking fly-speed exploits.
max-horizontal-speed: 25.0
# Maximum vertical flight speed, in blocks per second.
# Applies to flying both up and down.
max-vertical-speed: 15.0
# ----------------------------------------------------------
# Warning shown to a player who exceeds a limit. It is rate-limited so the
# player is never spammed, even while they keep flying too fast.
# ----------------------------------------------------------
warning:
# Set to false to revert movement silently (no warning at all).
enabled: true
# Where the warning is shown:
# CHAT - a normal chat line (default)
# ACTIONBAR - above the hotbar; visible but never clutters chat
# TITLE - big centered text
display: CHAT
# Minimum seconds between two warnings shown to the same player.
cooldown-seconds: 2
# The warning text. Supports legacy '&' codes, hex '&#RRGGBB', and
# PlaceholderAPI (e.g. %player_name%) when PlaceholderAPI is installed.
message: "&c&lHey, estás volando demasiado rápido."
# ------------------------------------------------------------
# COMMAND MESSAGES
# ------------------------------------------------------------
# Feedback shown to whoever runs /snflyboostlimit (admins / console).
# Supports legacy '&' color codes and hex colors in the &#RRGGBB format.
messages:
prefix: "&8[&bSnFlyBoostLimit&8] "
no-permission: "&cYou don't have permission to do that."
reload-success: "&aConfiguration reloaded."
reload-failed: "&cReload failed - check the console for details."
usage: "&7Usage: &f/snflyboostlimit reload"