Skip to content
Dieter Nuytemans edited this page May 1, 2021 · 5 revisions

Check the default config file by clicking here.

This file specifies the potion effects that will be applied to players at certain times. Any effect on this page can be used. Use the value in the field column to specify an effect. This column is marked below.

Shows the correct column to use

Every effect contains a time and level field. You can specify the time in seconds for which the effect stays active. The level can be specified as well and starts at one. Setting either one of these fields to 0 will disable the effect, the console will warn you on startup.

The level may be an overpowered amount but setting it too high may cause unexpected behavior. A thumb of rule is to keep the level below 90.

Sleeper buffs

All players that slept will get every buff in this list.

It is possible to apply negative effects as well.

Non sleeper debuffs

Players that did not sleep will get every debuff in this list. Everyone will receive debuffs if no one slept and time becomes day naturally.

It is possible to apply positive effects as well.

Premium

While the free version's configuration looks like this:

  speed:
    time: 20
    level: 1

Premium users also have the option to add a chance that this effect is given. The modified effect below will behave the same way as the one above, meaning that the chance parameter is completely optional. When changing it from 100 to 50 for example, each user will only have 50% chance of getting this effect. Keep in mind that buffs will only ever be given to sleepers and debuffs will only ever be dealt to non-sleepers regardless of the chance setting.

  speed:
    time: 20
    level: 1
    chance: 100

Wiki navigation

BetterSleeping v4

Commands and permissions

Commands & permissions

Bypass permissions

Config files

Sleeping settings

Buffs

Developer API

Dev API (see Spigot)


BetterSleeping v3

Commands and permissions

Commands

Config files

Config

Sleeping settings

Bypass permissions

Buffs

Developer API

Dev API


BetterSleeping v2

Commands and permissions

Configuration

PlaceholderAPI

Clone this wiki locally