Skip to content

BRadHoc/bdsx-sleep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bdsx-sleep

logo

A 50% / 1 Player Sleep script for @BDSX/bdsx

Configuration

Change:

let OnePlayerSleep = true;

in index.js to enable One Player Sleep, otherwise it's default 50% of the players online

Install via NPM

  1. Open package-manager.bat / package-manager.sh
  2. Select @bdsx/bdsx-sleep

Manual Installation

  1. Navigate to your bdsx plugins folder
cd plugins/
  1. Clone the bdsx-sleep repo to your plugins 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.

How to use?

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.