Page: Admin Controls¶
Moderation and server configuration in a tabbed interface.
Overview¶
The Admin Controls page provides a tabbed interface for moderation actions and server configuration.
Tabs¶
Moderation Tab¶
Bulk admin actions with confirmation dialogs and toast feedback:
| Action | Min Role | Description |
|---|---|---|
| Ban Player | Moderator | Enter player ID, name, reason, optional duration |
| Unban Player | Moderator | Enter player ID to revoke active ban |
| Kick Player | Moderator | Enter player ID and reason |
| Add to Whitelist | Moderator | Enter player ID |
| Remove from Whitelist | Moderator | Enter player ID |
| Announce | Moderator | Broadcast message to all players |
| Grant Role | Owner | Assign Moderator/Admin/Owner role to a Steam ID |
| Revoke Role | Owner | Remove admin role from a player |
All destructive actions use <Dialog danger> confirmation before execution.
Server Config Tab¶
Configuration options for the current server context:
| Setting | Type | Description |
|---|---|---|
| Server Name | Text input | Display name in server browser |
| MOTD | Textarea | Message of the Day |
| Password | Password input | Server join password (stored as bcrypt hash) |
| Max Players | Number input | Maximum concurrent players |
| Whitelist | Toggle switch | Enable/disable whitelist enforcement |
Config changes are sent via the API Gateway and produce toast notifications.
Related Pages¶
- Reducers Reference — all admin reducers
- Authentication — role-based access control