Data Packs Server Utility

Bed Voting Data Pack

  • 2k views 0 today
  • save_alt 139 downloads
Compatibility
Minecraft 1.20
Changes include
  • Functions
  • Loot Tables
  • Predicates
  • 5
  • 5
  • 1
Dy1anBy1an
Lvl 30Artisan System
4
This Data Pack lets you vote on if you want to skip the night or not!
If one player wants to sleep but everyone else wants to get monster loot, no worries!
One player doesn't want to sleep? Doesn't affect you!

Sleep in a bed to start a vote. When a vote starts, run /trigger y or /trigger n to vote. The vote will end after 30 seconds. If the majority votes yes, the night will be skipped. If the majority votes no or is a tie, the night will not be skipped.

If a vote ends in a no or tie, a cooldown will activate before the next vote can start. Admins can enable and disable the cooldown with these commands:
Disable: /function bedvote:cooldown/disable
Enable: /function bedvote:cooldown/enable

More like this

  Have something to say?

Diemond_Player
03/05/2024 11:54 pm
Level 42 : Master Enchanter
That's so cool! However it's gonna flood the chat.. which is very unfortunate because I don't think there's a solution without flooding the chat.
1

Welcome