Minecraft Data Packs / Server Utility

Bed Voting Data Pack

  • check_circle Functions
  • check_circle Loot Tables
  • check_circle Predicates
  • 913 views, 19 today
  • 64 downloads, 2 today
  • 4
  • 2
  • 1
Dy1anBy1an's Avatar Dy1anBy1an
Level 28 : Expert Engineer
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
CompatibilityMinecraft 1.20
Tags

Create an account or sign in to comment.

1
03/05/2024 11:54 pm
Level 33 : Artisan Enchanter
Diemond_Player
Diemond_Player's Avatar
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.
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome