───────────────────────────────
DESCRIPTION
BedUtils contains some useful modules to make the multiplayer experience a little bit better. Setting a percentage for an amount of players needed to get to the next day is easy with this utility.
────────────────────────────────
FEATURES
- Percentage of players needed to get through the day.
- Every message is customizable.
- Commands to check if you can sleep and reload the configuration.
- Custom permissions.
- No startup message, clean.
- Change the maximum distance from which you can enter the bed. (Not very customizable due to Minecraft limitations, but I will be improving this feature in the near future).
────────────────────────────────
⚠️️️ 1.8.X TO 1.16.X SHOULD BE SUPPORTED, IF YOU ENCOUNTER ANY PROBLEMS, CREATE AN ISSUE IN GITHUB.
ℹ️ 1.16.4 IS THE RECOMMENDED VERSION.
────────────────────────────────
CONFIG.YML
Code (YAML):
# _______ _____ __ _ _______ _____ ______
# | | | | \ | |______ | | ____
# |_____ |_____| | \_| | __|__ |_____|
debug
: false
modules:
betterBeds
: true
preferences:
betterBeds
:
# If there's only one player, the server will also instantly go to the next day. If false, beds will be vanilla style.
changeIfAlone
: true
# The percentage of players needed to pass the day.
percentageNeeded
: 25
# Changes the maximum value to enter a bed, if longer than 3 (for X and Z) and 2 (for Y), Minecraft will limit your enter automatically.
maximumXZDistanceToSleep
: 3
maximumYDistanceToSleep
: 2
permissions:
reload
: bu.reload
MESSAGES.YML
Code (YAML):
# _______ _______ _______ _______ _______ ______ _______ _______
# | | | |______ |______ |______ |_____| | ____ |______ |______
# | | | |______ ______| ______| | | |_____| |______ ______|
betterBeds
:
# Leave empty to disable.
failureFarAway
:
"The bed is too far away."
failureWrongTime
:
"You can sleep only at night or during thunderstorms."
alone
:
"You are alone on the server, sleeping won't be modified."
dayPassed
:
"The world sees yet another day."
moreNeeded
:
"We need more players! %sleeping% out of %online% are sleeping. (%sleepingPercentage%% / %percentageNeeded%%)"
bedCommand:
sleepingNotPossible
:
"You can't sleep now."
sleepingPossible
:
"You can sleep now."
arguments
:
"Not enough or wrong arguments."
reload
:
"Plugin's configuration has been reloaded."