Minecraft Data Packs / Quality of Life

One Player Sleep for SMP servers

  • check_circle Functions
  • 22,447 views, 6 today
  • 6,878 downloads, 0 today
  • 12
  • 18
  • 6
MC_Ninja38's Avatar MC_Ninja38
Level 56 : Grandmaster Ninja
134
This datapack allows you to sleep with only one player in a bed. Once a player has decided to sleep, it will broadcast a message saying who has decided to sleep, and will pass the night along after about 6 seconds. This datapack targets those of you who are using a modded server/client, and therefore can no longer access plugins that would do the job for you.

How to install:
1. download the datapack
2. access your server ftp panel (or just your server folder, for those of you port forwarding)
3. open your server world folder
4. open the datapack folder
5. place one_person_sleep.zip into the datapack folder
6. Start your server, and enjoy!
CompatibilityMinecraft 1.17
toMinecraft 1.18
Tags

Create an account or sign in to comment.

1
12/19/2021 6:15 pm
Level 1 : New Miner
User3952958G
User3952958G's Avatar
This does not immediately work in 1.18.1 on my MC paper server. This can be fixed by entering the data pack's .zip folder, and then navigating to ./data/one_person_sleep/functions/tick.mcfunction. Change the "120.." in the last line to "100.." and all works well.
1
06/17/2023 1:50 pm
Level 56 : Grandmaster Ninja
MC_Ninja38
MC_Ninja38's Avatar
If I remember correctly, paper is a plugin platform, and there should be plugins available to do this. As stated in the description, this is targeted to vanilla servers and modded servers, since they can't access plugins, as far as I know.
1
12/11/2021 2:37 pm
Level 64 : High Grandmaster Botanist
SirMephistoPheles666
SirMephistoPheles666's Avatar
Thank you for this. I appreciate it.
1
07/24/2021 10:22 am
Level 74 : Legendary uwu
Itsme64
Itsme64's Avatar
Would this also function on Minecraft bedrock? (works great on java btw)
1
10/01/2021 2:47 pm
Level 56 : Grandmaster Ninja
MC_Ninja38
MC_Ninja38's Avatar
Unfortunately, I do not possess the knowledge on how to make behavior packs for bedrock edition
1
10/02/2021 2:11 am
Level 74 : Legendary uwu
Itsme64
Itsme64's Avatar
ok! that's fine
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome