Overview flags
Overview of flags
Overview of all available flags
Below you can find a full list of all available flags and the expected value or format. All the flag values can be configured by using the command
/sm setflag <flagName> <flagValue>
Flag Name
Expected value
Description
Default value
percentage-required
decimal
Percentage required to skip the night for that world
0.5
mob-no-target
true | false
When true, mobs will not attack you when in the bed
true
use-exempt
true | false
When set to true, players with the sleepmost.exempt permission will not be counted as required to sleep
true
use-afk
true | false
When set to true, AFK players will not be counted as required to sleep
false
prevent-sleep
true | false
When set to true, players cannot sleep in that world
false
prevent-phantom
true |false
Prevent phantoms from spawning and reset the counter after sleeping
false
nightcycle-animation
true | false
Show animation of time speeding up after sleeping
false
storm-sleep
true | false
Allow players to sleep during thunderstorms
false
calculation-method
percentage | players
Set the type of calculating when players required to sleep is met.
percentage
players-required
number
Set the number of players required to sleep if the calculation method is set to players
5
skip-delay
number
Set the amount in seconds between skipping night/storm and the player going to sleep
0
skip-storm
skip-storm-sound
skip-night-sound
heal
true | false
Heal the player after sleeping
false
feed
true | false
Feed the player after sleeping
false
exempt-below-y
number
All players below the given Y-axis (miners) will not be included as sleepers. if the value is set to -1, the calculation is not used.
-1
exempt-creative
true | false
Calculation will not include players in creative gamemode.
false
exempt-flying
true | false
Calculation will not include players flying (/fly).
false
exempt-spectator
true | false
Calculation will not include players in spectator gamemode.
false
non-sleeping-title
true | false
Toggle wether non-sleeping players sees the title or not.
false
non-sleeping-clock-animation
true | false
Toggle wether non-sleeping players sees the clock animation or not.
false
non-sleeping-sound
true | false
Toggle wether non-sleeping players hear the sound when sleep is over.
false
use-bossbar
true | false
Show a bossbar on top. Can be customized in config.yml
false
use-sound-night-skipped
true | false
Enable sound when night is skipped.
false
use-sound-storm-skipped
true | false
Enable sound when storm is skipped.
false
use-title-night-skipped
true | false
Enable title when night is skipped.
false
use-title-storm-skipped
true | false
Enable title when storm is skipped.
false
insomnia-chance
decimal
Percentage of how often a night is considered insomnia, meaning no one can sleep that night. (Default: 0.0)
0.0
insomnia-milk
true | false
When enabled, players can drink milk to clear their state of insomnia
false
phantom-reset-audience
sleepers | all
Defines wether phantom-reset only effects sleepers or all players.
all
allow-kick
true | false
When this flag is enabled, the [kick]-button will appear next to the players left message which allows you to kick the player. Player also requires the sleepmost.kick permission.
false
gsit-hook
true | false
Ability to enable or disable the hook with Gsit.
false
gsit-sleep
true | false
When enabled and gsit-hook is enabled, you will allow the possibility to use the /lay command and trigger the sleep calculation.
false
dynamic-animation-speed
true | false
When enabled, the speed of the nightcycle animation will depend on the amount of players in that world being asleep.
false
longer-night-duration
number
When the value set is higher than 0, at midnight the time will freeze for the specified amount of time before continuing. NOTE: 1.13+ only
0
skip-msg-audience
sleepers | all
Toggles wether the night-skipped-chat should be sent to all online players or just the sleepers.
all
force-nightcycle-animation
true | false
When set to false the animation will be stopped if you exits the bed/cancels the sleep.
true
Last updated