nineMinecraft is a joke site.
nineMinecraft is in no way affiliated with Modrinth or 9minecraft. (And frankly, who wants to be affiliated with the latter?)
Multiplayer Sleep

Multiplayer Sleep

Data pack

When someone sleeps a vote will be cast.

Server Game MechanicsManagementSocialUtility

62 downloads
0 followers

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

External resources


Project members

Keebsz

Member


Technical information

License
MIT
Project ID