About: Make it day if a few players are sleeping. In Minecraft all players need to sleep before it becomes day. Since 1.17 its possible to set a gamerule for that but it still doesn't work ideal. With this plugin you can easily configure everything to your way. You can choose for a amount of players that need to sleep, or you can choose for a percentage of online players that need to sleep.
Permissions:
makeitday.day | Allows the player to make it day if player sleeps for 7 seconds
makeitday.help | Allows the player to run /makeitday or /makeitday help
makeitday.reload | Allows the player to run /makeitday reload
Commands:
/makeitday | Shows help menu with available commands
/makeitday help | Shows help menu with available commands
/makeitday reload | Reloads the config from the plugin
Config
Code (Text):
# MakeItDay by AdventurePandah
# In this configuration file are you able to modify multiple things from this plugin.
# Don't forget to rate this plugin and share it with your friends :)
# Let's start
#-------------| Messages |--------------
# Broadcast message if player made it day. If you would like to use players name, please use this: %player%
broadcastMsg: "&a%player% made it day!"
# Message to let know how many players are asleep (Only if broadcast is true)
# %amountPlayers% = Amount of currently sleeping players
# %neededPlayers% = Amount of players that need to sleep to make it day
amountPlayerSleepMsg: "&aCurrently %amountPlayers% of %neededPlayers% players sleeping to make it day."
# Message to let know what percentage of players are asleep (Only if broadcast is true)
# %currentPercentage% = Current percentage of sleeping players
# %neededPercentage% = Needed percentage of sleeping players to make it day
amountPlayerSleepPercentageMsg: "&aCurrently %currentPercentage%% of %neededPercentage%% sleeping to make it day."
#---------------| Times |---------------
# Time in seconds for how long a player needs to sleep
playerSleepTime: 7
# Amount of players that needs to be asleep before it becomes day
# Choose here if you want to use an amount of players or percentage of players.
# Using percentage will mean that 50% (if you use 50 at percentageOfSleepingPlayers) of the online players needs to be asleep to make it day.
usePercentage: true
percentageOfSleepingPlayers: 50
# Below won't affect anything when usePercentage is set to true. Default is 2 players. This means that 2 players need to be asleep to make it day.
amountOfSleepingPlayers: 1
Features:
Random configurable sleeping messages
Bug fixes
If you find any bugs or whatever, please contact me.
For contact or server support, please contact Bas#6897