90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!
Description:
When one player sleeps, a vote will be cast in chat. If a certain percentage of players vote, the time will skip. This pack has anti-AFK in mind. Once a player stops moving for 5 minutes (time can be configured) the player will be skipped during the vote session. By default, you need 50% of the players to vote. If that number doesn't suit you, you may change it.
Please note:
- The time is NOT skipped by using the "time set/add" command
Commands:
Spoiler
Change AFK Timer:
/scoreboard players set AFK.Timer.Number MultiplayerSleep.AFK "NUMBER IN TICKS"
Change Vote Percentage Number:
/scoreboard players set Percent MultiplayerSleep.Number "NUMBER"
Vote by Command:
/trigger Sleep.Vote
Uninstall:
/function multiplayer_sleep:uninstall
Links
Details
Licensed MIT
Published 3 months ago
Updated 3 months ago