Come chat with us and we will get back to you as soon as possible!
Contact SupportHolyHosting
Holy Team

MyCommand, also called MyCMD, is a Minecraft plugin for building custom commands and server functions. It can create simple text commands, command shortcuts, clickable messages, broadcasts, menus, shop-like trades, aliases, and more.
This is useful when an existing plugin almost does what a server needs, but the command syntax is too long, too awkward, or not quite friendly enough for players. Instead of asking players to remember a paragraph disguised as a command, MyCommand lets administrators create cleaner commands with custom output and permissions.
The plugin is powerful, but that also means its configuration can be picky. Most work happens inside YAML files, so spacing, command names, options, and variables need to be written carefully.


After the restart, MyCommand should generate its plugin folder and default files. If the folder does not appear, confirm that the server is running a plugin-compatible platform such as Paper, Spigot, or Bukkit.
MyCommand is mostly controlled through files rather than in-game setup commands. That makes it flexible, but it also means every command needs the correct structure.
A custom command usually includes:

MyCommand supports many command types, but these are some of the most common starting points:
Use `TEXT` for information commands, `RAW_TEXT` for clickable lists, `RUN_COMMAND` for shortcuts that need arguments, and `ALIAS` for simple command replacements.
Variables allow a command to react to the player using it or the arguments they type.
For example, if a command uses `$arg1`, and a player runs `/vip Steve`, then `$arg1` becomes `Steve`.
Options control how the command behaves in-game.
Permissions are especially useful for staff commands, rank tools, or anything that should not be handed to every player like a suspiciously sharp object.
Before adding custom commands, create a new YAML file inside the MyCommand commands folder. Keeping commands split by category can make the plugin much easier to manage later.

After editing command files, MyCommand can also be reloaded in-game with:
```text /mycmd-reload commands all ```
The `commands` folder may include an `examples.yml` file. It can be useful for reference, but remember that commands inside enabled files may be usable by players. Remove or disable example commands that should not be active on the server.
MyCommand can handle a lot, so examples are the fastest way to understand how the pieces fit together.

A simple alias can turn a longer plugin command into something easier for players to remember. For example, if the server has a PvP arena warp, an alias could turn a longer warp command into `/pvp`.
This is best for commands that always run the same way and do not need player input.

For commands that need a player name, item amount, or other value, use variables such as `$arg1`.
A common example is a staff shortcut for LuckPerms. Instead of typing a long rank command every time, a custom command can accept a player name as the first argument and pass it into the full command.
If the command is `/vip Steve`, then `$arg1` becomes `Steve`. The permission option can limit usage to staff members or rank managers. For example, players could need a permission node such as `server.vip` before they can run it.

A rules command is one of the simplest MyCommand uses. Each configured line displays as text in chat when a player runs the command.
This same setup can be used for:
Color codes can be added for cleaner formatting, as long as the server version and chat setup support them.

A vote command can show a list of voting sites with clickable links. For clickable URL lines, MyCommand uses `$OPEN_URL$` before the displayed text, then separates the hover text and URL with semicolons.
Normal text lines can be mixed in as labels or instructions. This makes the command useful for vote lists, website links, maps, rules pages, or any external resource players need often.

MyCommand can also create villager-style trades that act like a small shop. These trades can use in-game items, set required costs, and define maximum uses.
The general `merchant_items` format is:
```text item:amount(cost)item:amount(max_uses)number ```
The first item and amount are what the player receives. The item after `(cost)` is what the player must pay. More `merchant_items` lines can be added to create multiple trade options.
If `registered: true` is set but the command still does not appear or run properly, restart the server first. If that does not fix it, reload a specific command file in-game:
```text /mycmd-reload commands file_name ```
Replace `file_name` with the exact file name that contains the command. If the file is named `rules.yml`, use the matching name expected by the plugin command.
Most MyCommand problems come from YAML formatting or command conflicts. Check these items first:
If a custom command has the same name as a command from another plugin, MyCommand may not override it. In that case, choose a different command name or adjust the original plugin's settings if it supports command aliases.
MyCommand is a flexible plugin for turning long commands, information pages, links, trades, and server tools into cleaner custom commands. Start with a small YAML file, test one command at a time, and reload or restart after changes. Once the formatting makes sense, the plugin becomes much easier to work with and much less likely to complain about a missing space like it has a legal department.
Come chat with us and we will get back to you as soon as possible!
Contact SupportMake every block, mob, and tool in Minecraft look like Lego pieces. This guide walks through downloading, installing, and running Brickcraft on both client and server.
Learn how to install Litematica for Minecraft, load schematic files, position blueprints, and use the material list for survival builds.
Set up Valhelsia Enhanced Vanilla for Minecraft, install the client profile, configure your server, and learn the early skills, items, and fixes that help the pack run smoothly.