17 lines
555 B
Markdown
17 lines
555 B
Markdown
# Beetlejuice
|
|
|
|
Native-AOT C# Discord bot. Not deployed.
|
|
|
|
Commands:
|
|
- `/status`
|
|
- `/players`
|
|
- `/restart`
|
|
|
|
Manual restart requires zero players and a 10-minute in-memory cooldown. Automatic restarts run every six hours with 10, 5, and 1 minute Discord/in-game warnings.
|
|
|
|
The bot uses environment-provided Discord and 64-character RCON credentials. RCON is used for `players`, `servermsg`, and `quit`; Docker `restart: unless-stopped` starts the server again.
|
|
|
|
```bash
|
|
dotnet publish src/Beetlejuice.csproj -c Release -r linux-x64 --self-contained true
|
|
```
|