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
pluginsfolder
cd plugins/- Clone the
bdsx-sleeprepo to yourpluginsdirectory:
git clone https://github.com/BRadHoc/bdsx-sleep.git bdsx-sleepThat'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.
