Skip to content

Dynamic Commands

RexChat lets you define custom commands entirely in config.yml. These commands display configurable messages and support aliases, permissions, and PlaceholderAPI.

commands:
discord:
enabled: true
command: "discord"
aliases: ["dc"]
permission: ""
message-list:
- "%rc_prefix%&6Discord Server"
- "&7• &fJoin our community: &6https://discord.gg/yourserver"
rules:
enabled: true
command: "rules"
aliases: ["rule"]
permission: ""
message-list:
- "%rc_prefix%&6Server Rules"
- "&7• &fBe respectful to all players"
- "&7• &fNo spamming or excessive caps"
store:
enabled: true
command: "store"
aliases: ["shop"]
permission: ""
message: "%rc_prefix%&6Store &7• &fVisit our store: &6https://store.yourserver.com"
KeyDescriptionRequired
enabledEnable/disable this commandYes
commandThe command name (without /)Yes
aliasesAlternative command namesNo
permissionRequired permission (empty = no permission needed)No
messageSingle-line messageOne of these
message-listMulti-line messageOne of these

Use message for a single line:

message: "%rc_prefix%&6Visit our store!"

Use message-list for multiple lines:

message-list:
- "%rc_prefix%&6Server Rules"
- "&7• &fRule one"
- "&7• &fRule two"

Just add a new section under commands: and run /rexchat reload. The command is registered dynamically — no server restart needed.

Set enabled: false on any command to unregister it.