Commands
X-Commands allows you to manage everything through a visual GUI interface or via chat commands.
Plugin Commands
/xc [subcommand]
| Subcommand | Description | Permission |
|---|---|---|
help | Shows the help menu. | XCommands.use |
-gui | Opens the Visual Editor to create and manage commands. | XCommands.admin.gui |
reload | Reloads the configuration and languages. | XCommands.admin.reload |
update | Checks for available updates. | XCommands.admin.update |
Creating Commands
When you create a custom command (e.g., /rules), it will automatically appear in the serverβs command list and can be edited through the /xc -gui menu.
π€ What is /xc -gui for?
Instead of typing difficult things in chat or having to manually edit complicated .yml files, /xc -gui opens an interactive on-screen menu. From there, you can create new commands, configure what actions they perform (send messages, give items, play sounds), and even set what permissions players need to use them. All with simple clicks.
π οΈ Practical Example: Creating a /discord command
π View Code Example / Cases
We are going to create a quick command so that players can see your community link:
- Type in chat:
/xc -gui - Click on the emerald that says βCreate New Commandβ. When prompted in chat, type:
discord. - The editor menu for your new
/discordcommand will open. Click on the sword to edit Actions. - Add a new message action and type this in chat:
[MESSAGE] &9Join our Discord: discord.gg/your-server! - Save the changes by closing the menu.
Ready! Now any player who types /discord will instantly receive an attractive invitation through chat.