PlayerKick
Description
Disconnects players whose in-game name contains a configured text fragment. Use it to enforce a naming policy at connection time.
Configuration
Default configuration
PlayerKick.json
json
{
"m_Enable": 0,
"m_InvalidNames": [
"Survivor"
],
"m_Reason": "Change your NICKNAME in the launcher."
}Options
| Option | Type | Description |
|---|---|---|
m_Enable | bool | Enables the module with 1 and disables it with 0. |
m_InvalidNames | array<string> | Text fragments checked against the player name. A match anywhere in the name schedules a kick after about two seconds. |
m_Reason | string | Reason displayed to the disconnected player. |
