# sm.game.kickPlayer

Kick a player from the server.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
sm.game.kickPlayer( player )
```

[Open the full Game reference](../Game-Script-Environment/Static-Functions/sm.game.md#kickplayer)

**Availability:** Server only

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `player` | [Player](../Game-Script-Environment/Userdata/Player.md) | The player to be kicked. |
