Compatibility
Minecraft: Java Edition
1.21–1.21.1
Platforms
Data Pack
Supported environments
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Links
Creators
Details
Licensed MIT
Published last month
Updated last month
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