Minecraft Maps / Redstone Device

Better Multiplayer Sleeping

  • 2,003 views, 1 today
  • 47 downloads, 0 today
  • 3
  • 1
  • 2
slicedlime's Avatar slicedlime
Level 56 : Grandmaster Engineer
254
Made at the request of one of my viewers, here is a command block system that lets you set a percentage of players on a server. When more than that percentage of everyone is in bed, time gets set to daytime.

To use it, download the schematic file or paste the one command into a command block. Then hit the start button. You then need to set the percentage you want with this command:

/scoreboard players set Percentage Sleep <YourNumberHere>

so for instance "/scoreboard players set Percentage Sleep 50" will make 50% of the server have to sleep for the night to be skipped.

When a player gets in bed, a friendly message is displayed in the chat telling players how many more are needed for the night to be skipped.
Progress100% complete
Tags

Create an account or sign in to comment.

1
06/10/2015 12:15 am
Level 49 : Master Engineer
hokage3211
hokage3211's Avatar
This is a great use of all the things at a command block's disposal, amazing job and great job making it only have one scoreboard objective and using players instead of like 10 objectives!
1
06/09/2015 1:51 pm
Level 1 : New Explorer
N3bur
N3bur's Avatar
nice m8! keep on doing what you'r doing :D
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome