Commands
Commands
Section titled “Commands”Complete reference for all Info Hub commands.
Main Commands
Section titled “Main Commands”/ksinfo
Section titled “/ksinfo”Opens the Info Hub main menu.
| Property | Value |
|---|---|
| Default Aliases | /hub, /help, /hilfe, /menu |
| Permission | None (public) |
| Players Only | Yes |
:::tip Customizable
The command name and aliases can be changed in config.json under command.name and command.aliases.
:::
/ksinfoadmin
Section titled “/ksinfoadmin”Admin command collection for managing the Info Hub.
/ksinfoadmin panel
Section titled “/ksinfoadmin panel”Opens the in-game Admin Panel UI for editing all configuration.
| Property | Value |
|---|---|
| Permission | infohub.admin |
| Players Only | Yes |
/ksinfoadmin reload
Section titled “/ksinfoadmin reload”Reloads all configuration files, localization, and refreshes the command cache.
| Property | Value |
|---|---|
| Permission | infohub.admin.reload |
| Players Only | Yes |
/ksinfoitem
Section titled “/ksinfoitem”Gives the player the Info Hub item (a book that opens the Info Hub when right-clicked).
| Property | Value |
|---|---|
| Default Aliases | /getinfo, /infobuch |
| Permission | None (public) |
| Players Only | Yes |
The command checks:
- Whether the Info Item feature is enabled in config
- Whether the player already has the item in their inventory
Section Commands
Section titled “Section Commands”Section commands are dynamically registered based on the sections configuration in config.json. Each section with a command field gets its own shortcut command.
Default Section Commands
Section titled “Default Section Commands”| Command | Section | Description |
|---|---|---|
/commands | commands | Opens the Commands section directly |
/rules | rules | Opens the Rules section directly |
/faq | faq | Opens the FAQ section directly |
/team | team | Opens the Team section directly |
Configuring Section Commands
Section titled “Configuring Section Commands”Each section in config.json supports:
| Field | Type | Description |
|---|---|---|
command | String | Command name to register (null = no command) |
commandAliases | Array | Additional aliases for the command |
Section commands are public (no permission required). Access is controlled by the section’s permission field.
Custom Page Commands
Section titled “Custom Page Commands”Custom pages defined in custom/pages.json can also have their own commands. When a page has a command field set, it is automatically registered as a server command.
{ "id": "changelog", "title": "Server Changelog", "command": "changelog", "commandAliases": ["updates", "news"]}This registers /changelog, /updates, and /news, all opening the changelog custom page.
Custom page commands support:
- Aliases via the
commandAliasesfield - Permissions via the
permissionfield (players without permission receive a “no permission” message)
Permissions Summary
Section titled “Permissions Summary”| Permission | Used By | Description |
|---|---|---|
infohub.admin | /ksinfoadmin panel | Open the admin panel |
infohub.admin.reload | /ksinfoadmin reload | Reload configuration |
infohub.bypass.commandfilter | Command execution UI | Execute blocked commands from the hub |
Section permission | Section commands | Per-section access control |
Category permission | Command categories | Per-category visibility |
Custom page permission | Custom page commands | Per-page access control |
See Permissions for detailed permission setup.