> For the complete documentation index, see [llms.txt](https://schedule-i-dedicated-servers.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://schedule-i-dedicated-servers.gitbook.io/docs/console-commands.md).

# Console Commands

Console commands are as easy as the chat commands but are well.. only available in the server console.

### This example command will kick all the players.

```csharp
[ConsoleCommand(name: "kickall", docs: "Kick all the players.")]
public static void KickAll()
{
    foreach(Player player in Player.PlayerList.WithoutServerPlayer()){
        player.Kick("You have been kicked by the console.");
    }
}
```
