1
0
mirror of https://github.com/nkomarn/harbor.git synced 2024-11-16 15:15:15 +01:00
Harbor-Minecraft/config.yml
2019-05-11 13:26:34 -07:00

107 lines
4.2 KiB
YAML

# _
# /\ /\__ _ _ __| |__ ___ _ __
# / /_/ / _` | '__| '_ \ / _ \| '__|
# / __ / (_| | | | |_) | (_) | |
# \/ /_/ \__,_|_| |_.__/ \___/|_|
#
# An open-source project by Mykyta (TechToolbox)
# https://mykyta.tk/
#
# Ahoy, matey! You've arrived at the configuration file, where things get a bit scary.
# Every single thing within this plugin is customizable (at least I tried to make it that way),
# so every message and plugin module can be modified here. If you would like to report a bug
# or suggest a feature, make sure to add an issue on the GitHub page for this plugin!
# GitHub URL: https://github.com/nkomarn/Harbor/issues
values:
# How often to run the clock task (used to detect sleep, AFK players, time actionbar, etc.)
# Lower this value for relatively slow servers
clock: 1
# Percent of players that need to sleep to skip night (must be between 0 to 100)
percent: 50
# Time that it takes to be considered AFK (in minutes)
timeout: 10
features:
# Toggle night skipping feature. Configure amount of players needed to skip above (percent)
skip: true
# Clear weather when skipping night
weather: true
# Toggle the spawning of phantoms
phantoms: false
# Toggle exclusion of operators/players with permission "harbor.bypass" from sleep count
bypass: false
# Toggle exclusion of players in creative and spectator mode
ignore: true
# Prevent all players from entering a bed
block: false
# Display a title message in the morning and when going to bed
title: true
# Displays a notification when a new update is released
notifier: true
messages:
chat:
# Toggle chat messages
chat: true
# "Night skipped" chat messages
skipped:
- "&eThe night has been skipped."
- "&eAhhh, finally morning."
- "&eArghh, it's so bright outside."
# Display which player went to bed
sleeping: "&e[player] is now sleeping ([sleeping]/[online]. [needed] more needed to skip)."
# Display when a player left their bed
left: "&e[player] got out of bed ([sleeping]/[online]. [needed] more needed to skip)."
# Shown when a player tries to sleep and sleeping is blocked
blocked: "&cSleeping is disabled."
# Sent to player when they sleep with "harbor.bypass" permission
bypass: "&eYou've been excluded from the sleep count."
# Shown when a player goes AFK
afk: "&7[player] has gone AFK."
# Shown when a player comes back after being AFK
unafk: "&7[player] is no longer AFK."
actionbar:
# Enable/Disable actionbar message
actionbar: true
# Shown when some players are in bed
sleeping: "&e[sleeping] out of [online] players are sleeping ([needed] more needed to skip)."
# Shown when all players are in bed
everyone: "&eEveryone is sleeping. Sweet dreams!"
# Shown when a player tries to sleep and sleeping is blocked
blocked: "&cSleeping is disabled."
title:
morning:
top: "&6Good morning!"
bottom: "&7Ah, such wonderful weather."
evening:
top: "&cIt's getting a bit late."
bottom: "&7Might want to hit the hay..."
sleeping:
top: "&8ZZZZZZ..."
bottom: "&7Sweet dreams."
miscellaneous:
# Prefix for Harbor command/miscellaneous messages
prefix: "&8&l(&6&lHarbor&8&l)&r "
# Prefix for player list names when a player is AFK
afkprefix: "&8&l(&7AFK&8&l)&7 "
# Display server version in console
running: "&7Running on version [version]."
# Sent in console when the plugin isn't compatible with the server
incompatible: "&7Spigot [version] isn't compatible with Harbor."
# Harbor reload message
reloaded: "&7Reloaded Harbor."
reloaderror: "&7Error reloading Harbor."
# Sent when player doesn't have permissions to run command
permission: "&7Insufficient permissions."
# Sent when command argument isn't recognized
unrecognized: "&7Urecognized command."
gui:
# Title for menu that shows when a player executes /sleeping
sleeping: "Sleeping Players"
# Version identifier (do not change)
version: 1.5
debug: true