A 50% / 1 Player Sleep script for @BDSX/bdsx
Change:
let OnePlayerSleep = true;
in index.js
to enable One Player Sleep, otherwise it's default 50% of the players online
- Open
package-manager.bat
/package-manager.sh
- Select
@bdsx/bdsx-sleep
- Navigate to your bdsx
plugins
folder
cd plugins/
- Clone the
bdsx-sleep
repo to yourplugins
directory:
git clone https://github.com/BRadHoc/bdsx-sleep.git bdsx-sleep
That's it! When you run bdsx.bat
you should see lines indicating the plugin has installed and loaded.
Just go to bed! This script hooks into the default behaviour for sleeping in minecraft and replaces the functionality to enable 50% or one player to sleep for everyone.