Morpheus (MOVED)

jumpsplat120

Helper
Staff member
Helper
Jun 24, 2020
59
8
8
www.jumpsplat120.com
Morpheus has moved to the new resource's section! Go check it out!


Tired of trying to get everyone on your server to sleep at the same time? Looking for a plugin form of the popular mod Morpheus? May I introduce to you...
MORPHEUS




Simply drop in the file, and BLAMMO! Only a percentage of players are required to be sleeping at any given time to pass the night. Want to change the percentage? With the handy dandy sectioned off config near the top, you can change the percentage of required players as well as the wake message!

Here's a quick video demonstration of the script in action...


The code is only a few lines long, so feel free to modify it with extra features to suit your own needs! If you are using this script in any capacity, I would love to hear about it! Feel free to shoot me a message on Discord, Jumpsplat120#0001.

Simply click https://one.denizenscript.com/haste/71999, or view the github for a more expanded look at the code: https://github.com/jumpsplat120/Denizen-Scripts/blob/master/Morpheus.dsc

EDIT: Updated script to follow better scripting practices.
 
Last edited:

mcmonkey

Administrator
Staff member
Helper
You have usages of "yaml data" and "yaml_key" - these were deprecated semi-recently. They should be "data" scripts and "data_key" for the tag.
Also, line 20 has misplaced quotes.

All of these problems were found by just running a bot check:
b23a6c.png