Skip to main content

Commands Configuration

File: commands/categories.json

This file controls how server commands are displayed and categorized in the Info Hub.

Complete Example

{
"settings": {
"groupBy": "plugin",
"showAliases": true,
"showPermissions": true,
"itemsPerPage": 6,
"showDefaultCommands": false,
"showModCommandsOnly": true,
"hiddenCommands": [],
"allowedPlugins": [],
"blockedPlugins": []
},
"execution": {
"enabled": true,
"requireConfirmation": false,
"allowedCommands": [],
"blockedCommands": ["op", "deop", "stop", "reload"],
"parameterInputEnabled": true
},
"uncategorized": {
"name": "Other",
"icon": "Deco_Chest",
"color": "#797b7c"
},
"pluginMappings": {},
"categories": [
{
"id": "general",
"name": "General",
"description": "Basic server commands",
"icon": "Deco_Book",
"permission": null,
"priority": 1,
"color": "#b4c8c9",
"plugins": [],
"commands": ["help", "info", "spawn", "rules"]
}
],
"customCommands": []
}

Settings

Display Settings

SettingTypeDefaultDescription
groupByString"plugin"How to group commands (see below)
showAliasesBooleantrueShow command aliases
showPermissionsBooleantrueShow permission nodes
itemsPerPageInteger6Commands per page
showDefaultCommandsBooleanfalseShow Hytale default commands
showModCommandsOnlyBooleantrueOnly show mod/plugin commands
hiddenCommandsArray[]Commands to always hide
allowedPluginsArray[]Only show commands from these plugins (empty = all)
blockedPluginsArray[]Hide commands from these plugins

Grouping Options (groupBy)

ValueDescription
"plugin"Recommended! Automatic categories per plugin
"category"Only use manually defined categories
"auto"Automatic assignment based on command names
"none"No categorization, single list

Command Execution

SettingTypeDefaultDescription
execution.enabledBooleantrueAllow executing commands from UI
execution.requireConfirmationBooleanfalseRequire confirmation before execution
execution.allowedCommandsArray[]Only allow these commands (empty = all except blocked)
execution.blockedCommandsArray[]Never allow these commands
execution.parameterInputEnabledBooleantrueAllow parameter input in UI

Security Recommendation

Always block dangerous commands:

"execution": {
"blockedCommands": ["op", "deop", "stop", "reload", "ban", "kick"]
}

Categories

Category Definition

{
"id": "teleport",
"name": "Teleportation",
"description": "Movement and teleport commands",
"icon": "Consumable_Pearl",
"permission": null,
"priority": 2,
"color": "#7a9cc6",
"plugins": ["personal-warps"],
"commands": ["tp", "tpa", "home", "sethome", "warp"]
}
FieldTypeDescription
idStringUnique category ID
nameStringDisplay name
descriptionStringDescription text
iconStringItem ID for icon
permissionStringPermission to view (null = everyone)
priorityIntegerSort order (lower = higher)
colorStringHex color code
pluginsArrayAuto-assign all commands from these plugins
commandsArrayManually assign specific commands

Admin Category Example

{
"id": "admin",
"name": "Administration",
"description": "Admin only",
"icon": "Deco_CommandBlock",
"permission": "infohub.admin",
"priority": 10,
"color": "#e94560",
"plugins": [],
"commands": ["ban", "kick", "mute", "gamemode"]
}

Plugin Mappings

Assign all commands from a plugin to a specific category:

"pluginMappings": {
"Achievement-System": "achievements",
"RPG-Leveling": "leveling",
"Economy": "economy"
}

The key is the plugin name, the value is the category ID.


Custom Commands

For commands that aren't automatically detected:

"customCommands": [
{
"name": "daily",
"description": "Claim daily reward",
"usage": "/daily",
"aliases": ["reward"],
"permission": null,
"category": "gameplay",
"plugin": "DailyRewards",
"executable": true
}
]
FieldTypeDescription
nameStringCommand name (without /)
descriptionStringCommand description
usageStringUsage syntax
aliasesArrayCommand aliases
permissionStringRequired permission
categoryStringCategory ID to assign to
pluginStringPlugin name to display
executableBooleanAllow execution from UI

Examples

Hide Specific Commands

"settings": {
"hiddenCommands": ["debug", "test", "internal"]
}

Only Show Specific Plugins

"settings": {
"allowedPlugins": ["Achievement-System", "Economy", "Teleport"]
}

Block Certain Plugins

"settings": {
"blockedPlugins": ["AdminTools", "Debug"]
}

Uncategorized Commands Style

"uncategorized": {
"name": "Miscellaneous",
"icon": "Deco_Chest",
"color": "#888888"
}