---
description: An overview of all the commands
---

# Commands

### Overview commands

| Command                          | permission          | description                                                                                      |
| -------------------------------- | ------------------- | ------------------------------------------------------------------------------------------------ |
| /sleepmost                       | sleepmost.help      | Open the help menu                                                                               |
| /sm enable                       | sleepmost.enable    | Enable sleepmost for the world you are in                                                        |
| /sm disable                      | sleepmost.disable   | Disable sleepmost for the world you are in                                                       |
| /sm setflag \<flagName> \<value> | sleepmost.setflag   | Set a flag value for the world you are in                                                        |
| /sm reset                        | sleepmost.reset     | Reset all flag values of sleepmost to their default values.                                      |
| /sm info                         | sleepmost.info      | Show a list of all flags for that world                                                          |
| /sm bed                          | sleepmost.bed       | Teleport to your nearest bed location                                                            |
| /sm setops                       | sleepmost.setops    | Configure one player sleep                                                                       |
| /sm version                      | sleepmost.version   | Show the version number you are running                                                          |
| /sleep                           | sleepmost.sleep     | Allow the player to sleep without entering the bed                                               |
| /sm insomnia                     | sleepmost.insomnia  | Kick everyone from the bed in the current world and blocks all players from going to sleep       |
| /sm kick                         | sleepmost.kick      | Allows you to kick others out of the bed                                                         |
| /sm getflag \<flagname>          | sleepmost.getflag   | Get the value of a specified flag                                                                |
| /sm resetflag \<flagname>        | sleepmost.resetflag | Reset an individual flag for a world                                                             |
| /sm debug                        | sleepmost.debug     | For debugging the plugin (whenever there is a problem, troubleshooting with debug may be useful) |
