Data Packs Game Mechanic

Multiplayer Sleep Plus

  • Functions
  • Predicates
  • 13,083 views • 1 today
  • 2,807 downloads • 0 today
  • 12
  • 14
  • 9
Gdebest69
Level 44 : Master Explorer
8
A better version of your typical multiplayer sleep datapack/plugin. In this version, when a player goes to sleep it's sending a message in chat which tells to all the players to accept to skip the night. When every awake player accept, it'll skip the night.
There is also an option to toggle auto accept which will let you automatically accept when a player goes to sleep. It can be useful when you are afk or you are just lazy :P .
CreditNeed a server to play with friends? Don't know how to setup one? - https://bisecthosting.com/Gdebest69
CompatibilityMinecraft 1.17
toMinecraft 1.18
Tags

1 Update Logs

Update #1 : by Gdebest69 01/03/2022 9:03:12 amJanuary 3, 2022 @ 2:03 pm UTC

Disabled the use of custom dimensions and now is fully supported.

  Have something to say?

Zilexa
02/13/2022 8:46 am
Level 1 : New Miner
I have this datapack installed, but now it won't show the commands in chat anymore. Like I want to locate an endcity, it won't show that in the chat anymore. I'm 100% sure it's this datapack.
2
Gdebest69
02/13/2022 1:25 pm
Level 44 : Master Explorer
Yes, you are right.
If you want to temporary enable the commands in chat type this command: /gamerule sendCommandFeedback true
1
Zilexa
02/16/2022 2:52 pm
Level 1 : New Miner
Yes, it worked. Thank you!
2
Tengen_Horder
02/02/2022 10:46 pm
Level 59 : Grandmaster Skinner
seems to break 1.18 servers, after uninstalling this datapack (didn't work in the first place for some reason) me and my buddy are unable to sleep anymore, "No amount of sleep will skip the night" is all i get. anything i can do to fix my server?
2
Gdebest69
02/10/2022 9:01 am
Level 44 : Master Explorer
I don't know why it didn't work for you, because it should work on 1.18.
To fix your server type this command: /gamerule playersSleepingPercentage 100
2
Night of Hunter
01/04/2022 12:57 pm
Level 2 : Apprentice Miner
Ever since I installed this datapack, I've been getting this message "No amount of sleep will skip the night". How can I resolve this?
2
Gdebest69
01/05/2022 12:54 am
Level 44 : Master Explorer
history
It's a new game mechanic added in 1.17. It tells when the night can pass. I set the player sleeping percentage to 101% so it will skip the night only when my datapack will, else it may cause some bugs. As a result of that, Minecraft thinks that the night cannot be skipped naturally, and it sends that message.

Edit: I released an update which hopefully fix that for you.
1
Silabear
01/02/2022 11:04 am
He/Him • Level 70 : Legendary Guard Bear
history
Can I ask why you need custom dimensions to check the weather? Surely you can simply use a predicate?

Edit: read the part about the custom dimension more. And as I thought, you did not need that, you can just use a predicate to check the weather :)
2
Gdebest69
01/03/2022 3:00 am
Level 44 : Master Explorer
history
I'm in legit pain after I checked the predicates. I will release an update soon.

Edit: I made this datapack a long time ago, before I knew about predicates.
2

Welcome