Commit 62af90b4 authored by Tommy Ang's avatar Tommy Ang 🤣

Reduce number of players require to skip night from 70% to 50%

parent 4e26e922
......@@ -1190,7 +1190,7 @@ on quit:
remove player from {pe.sleep::*}
on server ping:
set the motd to "&eRammyCraft RP &9v1.15.2-2 &6https://www.rammycraft.pw"
set the motd to "&eRammyCraft RP &9v1.15.2-3 &6https://www.rammycraft.pw"
#set the motd to "&eRammyCraft RP &aAlpha &9v1120.0 &6Feedback is welcomed!"
#set the motd to "&eServer undergoing host transfer maintenance"
#set the motd to "&eServer undergoing maintenance"
......@@ -1218,7 +1218,7 @@ on join:
# message "&eTime: 6 PM - 630 PM (30 minutes)"
on bed enter:
set {_numofplayersreq} to rounded down online player count / 10 * 7
set {_numofplayersreq} to rounded down online player count / 10 * 5
# Add player to count for messages
player is in world "world"
add player to {pe.sleep::*}
......@@ -1238,7 +1238,7 @@ on bed enter:
on bed leave:
player is in world "world"
remove player from {pe.sleep::*}
set {_numofplayersreq} to rounded down online player count / 10 * 7
set {_numofplayersreq} to rounded down online player count / 10 * 5
# Only message if its thunderstorm or night time
if is thundering:
broadcast formatted "&e%player% &6is now awake. &b%size of {pe.sleep::*}% &6out of &b%{_numofplayersreq}% &6required players are asleep."
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment