promotional bannermobile promotional banner

CommandAlias

Let players use custom command alias across any Hytale plugin.

This plugin lets you create custom command shortcuts for any command on your Hytale server, so players can use familiar or shorter commands without changing the original plugins.

How to setup aliases

Open the plugin’s config file customAlias.json. The file uses a simple JSON format, where each alias is defined with:

  • alias: The shortcut command players will type.
  • command: The full command it should run.
  • permissionNode: (optional) If you want a custom permission for this alias, specify it here. Leave empty if no permission is needed.
  • permission: Set to true if the alias should enforce custom permission, or false to disable it.
  1. Edit the Configuration File.
  2. Save and start/restart the server.

The server must restart for the changes to take effect.

Config

[
  {
    "alias": "h",
    "command": "home",
    "permissionNode": "fiction.command.home",
    "permission": true
  },
  {
    "alias": "s",
    "command": "spawn",
    "permissionNode": "something.command.spawn",
    "permission": true
  },
  {
    "alias": "tpa",
    "command": "teleportask",
    "permissionNode": "",
    "permission": false
  }
]

The CommandAlias Team

profile avatar
  • 1
    Projects
  • 81
    Downloads