Add reboot and version slash commands with permission guard

This commit is contained in:
Jage9
2026-02-27 04:40:36 -05:00
parent 464d39f78b
commit 8ba0398d25
6 changed files with 160 additions and 2 deletions

View File

@@ -19,6 +19,8 @@ This document is the authoritative keymap for the client.
- In chat, commands are supported when `/` is the first character:
- `/me <action>`: Send action text without `name:`
- `/up`: Show server uptime (self only)
- `/version`: Show server version (self only)
- `/reboot [message]`: Schedule reboot in 5 seconds (admin permission: `server.allow_reboot`)
- `Shift+Z`: Admin menu (when role permissions allow)
- `,` / `.`: Previous/next message
- `<` / `>`: First/last message