-
Notifications
You must be signed in to change notification settings - Fork 73
Buffs
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.
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.
All players that slept will get every buff in this list.
It is possible to apply negative effects as well.
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.
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
BetterSleeping v4: Commands | Sleeping settings | Bypass permissions | Buffs | Dev API (see Spigot)
BetterSleeping v3: Commands | Config | Sleeping settings | Bypass permissions | Buffs | Dev API
BetterSleeping v2: Commands and permissions | Configuration | PlaceholderAPI