GameServerManagers / GameServerManagers/LinuxGSM

[Feature Request] Server Status Kick Reasons

Open
#3,121 0 comments 2 reactions 0 assignees View on GitHub
type: feature
Dominant language
Shell
Stars
4.9k
Forks
864
PR merge metrics
No merged PRs in 30d

Description

## User Story

When server get commands like stop, restart, update etc users would get message something like "Server was shutdown" or something like this.

My request this is add kick command BEFORE server would be shutdown / restart / update etc.

## Basic info

* **Distro:** [ANY]
* **Game:** [CSGO]
* **Command:** [Stop|Restart|Update]
* **LinuxGSM version:** [LATEST]

## Further Information

Why actualy **kick** command? Because we could kick with some reason (aka message).
For example: `kick @all "Server would be restart. Reconnect after 1 min"`

Also, we can create default variables for kick reasons:

```
// Kick messages
updateMsg="Server would be update. Try reconnect a bit later"
restartMsg="Server would be restart. Try reconnect after 1-2 min"
stopMsg="Server was shutdown"
```

This command (with reason or message) would exec before quit command. But you should send (exec) this command only before exit (quit) server.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.