> For the complete documentation index, see [llms.txt](https://mrgeneralq.gitbook.io/sleepmost/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mrgeneralq.gitbook.io/sleepmost/flags-2/flags-list.md).

# 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>**

<table data-header-hidden><thead><tr><th width="174">Flag Name</th><th width="158">Expected value</th><th width="261">Description</th><th width="200">Default value</th></tr></thead><tbody><tr><td><strong>Flag Name</strong></td><td><strong>Expected value</strong></td><td><strong>Description</strong></td><td><strong>Default value</strong></td></tr><tr><td>percentage-required</td><td>decimal</td><td>Percentage required to skip the night for that world</td><td>0.5</td></tr><tr><td>mob-no-target</td><td>true | false</td><td>When true, mobs will not attack  you when in the bed</td><td>true</td></tr><tr><td>use-exempt</td><td>true | false</td><td>When set to true, players with the <strong>sleepmost.exempt</strong> permission will not be counted as required to sleep</td><td>true</td></tr><tr><td>use-afk</td><td>true | false</td><td>When set to true, AFK players will not be counted as required to sleep</td><td>false</td></tr><tr><td>prevent-sleep</td><td>true | false</td><td>When set to true, players cannot sleep in that world</td><td>false</td></tr><tr><td>prevent-phantom</td><td>true |false</td><td>Prevent phantoms from spawning and reset the counter after sleeping</td><td>false</td></tr><tr><td>nightcycle-animation</td><td>true | false</td><td>Show animation of time speeding up after sleeping</td><td>false</td></tr><tr><td>storm-sleep</td><td>true | false</td><td>Allow players to sleep during thunderstorms</td><td>false</td></tr><tr><td>calculation-method</td><td>percentage | players</td><td>Set the type of calculating when players required to sleep is met.</td><td>percentage</td></tr><tr><td>players-required</td><td>number</td><td>Set the number of players required to sleep if the calculation method is set to players</td><td>5</td></tr><tr><td>skip-delay</td><td>number</td><td>Set the amount in seconds between skipping night/storm and the player going to sleep</td><td>0</td></tr><tr><td>skip-storm</td><td></td><td></td><td></td></tr><tr><td>skip-storm-sound</td><td></td><td></td><td></td></tr><tr><td>skip-night-sound</td><td></td><td></td><td></td></tr><tr><td>heal</td><td>true | false</td><td>Heal the player after sleeping</td><td>false</td></tr><tr><td>feed</td><td>true | false</td><td>Feed the player after sleeping</td><td>false</td></tr><tr><td>exempt-below-y</td><td>number</td><td>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.</td><td>-1</td></tr><tr><td>exempt-creative</td><td>true | false</td><td>Calculation will not include players in creative gamemode.</td><td>false</td></tr><tr><td>exempt-flying</td><td>true | false</td><td>Calculation will not include players flying (/fly).</td><td>false</td></tr><tr><td>exempt-spectator</td><td>true | false</td><td>Calculation will not include players in spectator gamemode.</td><td>false</td></tr><tr><td>non-sleeping-title</td><td>true | false</td><td>Toggle wether non-sleeping players sees the title or not.</td><td>false</td></tr><tr><td>non-sleeping-clock-animation</td><td>true | false</td><td>Toggle wether non-sleeping players sees the clock animation or not.</td><td>false</td></tr><tr><td>non-sleeping-sound</td><td>true | false</td><td>Toggle wether non-sleeping players hear the sound when sleep is over. </td><td>false</td></tr><tr><td>use-bossbar</td><td>true | false</td><td>Show a bossbar on top. Can be customized in config.yml</td><td>false</td></tr><tr><td>use-sound-night-skipped</td><td>true | false</td><td>Enable sound when night is skipped.</td><td>false</td></tr><tr><td>use-sound-storm-skipped</td><td>true | false</td><td>Enable sound when storm is skipped.</td><td>false</td></tr><tr><td>use-title-night-skipped</td><td>true | false</td><td>Enable title when night is skipped.</td><td>false</td></tr><tr><td>use-title-storm-skipped</td><td>true | false</td><td>Enable title when storm is skipped.</td><td>false</td></tr><tr><td>insomnia-chance</td><td>decimal</td><td>Percentage of how often a night is considered insomnia, meaning no one can sleep that night. (Default: 0.0)</td><td>0.0</td></tr><tr><td>insomnia-milk</td><td>true | false</td><td>When enabled, players can drink milk to clear their state of insomnia</td><td>false</td></tr><tr><td>phantom-reset-audience</td><td>sleepers | all</td><td>Defines wether phantom-reset only effects sleepers or all players.            </td><td>all</td></tr><tr><td>allow-kick</td><td>true | false</td><td>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. </td><td>false</td></tr><tr><td>gsit-hook</td><td>true | false</td><td>Ability to enable or disable the hook with Gsit.</td><td>false</td></tr><tr><td>gsit-sleep</td><td>true | false</td><td>When enabled and gsit-hook is enabled, you will allow the possibility to use the /lay command and trigger the sleep calculation.</td><td>false</td></tr><tr><td>dynamic-animation-speed</td><td>true | false</td><td>When enabled, the speed of the nightcycle animation will depend on the amount of players in that world being asleep.</td><td>false</td></tr><tr><td>longer-night-duration</td><td>number</td><td>When the value set is higher than 0, at midnight the time will freeze for the specified amount of time before continuing.<br><em><strong>NOTE</strong>: 1.13+ only</em></td><td>0</td></tr><tr><td>skip-msg-audience</td><td>sleepers | all</td><td>Toggles wether the night-skipped-chat should be sent to all online players or just the sleepers.</td><td>all</td></tr><tr><td>force-nightcycle-animation</td><td>true | false</td><td>When set to false the animation will be stopped if you exits the bed/cancels the sleep.</td><td>true</td></tr></tbody></table>
