<aside> <img src="/icons/notification_orange.svg" alt="/icons/notification_orange.svg" width="40px" /> Edit your minigames in game with /mgm

</aside>

Screen Shot 2023-02-12 at 10.46.24 PM.png


<aside> 🔥

Chat and console uses /mgm. In event YAML, mgm is optional for subcommands.

</aside>

Basic Commands

<aside> <img src="/icons/info-alternate_red.svg" alt="/icons/info-alternate_red.svg" width="40px" />

Locations

/mgm set-location <minigame> <name> Save your current spot as a named location for this minigame


mgm delete-location <minigame> <name> Delete a saved location


`/mgm preview-location <minigame> <name>`` Teleport yourself to that saved location to check it


💡 Tips:

<aside> <img src="/icons/info-alternate_red.svg" alt="/icons/info-alternate_red.svg" width="40px" />

Scoreboard

/mgm delete-scoreboard <minigame> Remove the minigame scoreboard


/mgm delete-scoreboard-line <minigame> <number> Delete one scoreboard line by number


/mgm set-scoreboard-title <minigame> <title> Set the scoreboard title


/mgm set-scoreboard-line <minigame> <number> <line> Set one scoreboard line


💡 Tips:

<aside> <img src="/icons/info-alternate_red.svg" alt="/icons/info-alternate_red.svg" width="40px" />

Inventory

/mgm set-inventory <minigame> <name> <slot-bars> <inventory-title> Create a custom inventory GUI for the minigame. Slot-bars is number of rows.



/mgm set-inventory-item <minigame> <inventory-name> <slot> <name> <type> <id> <amount> Put an item into a slot of that inventory

/mgm delete-inventory <minigame> <name> Delete a configured inventory


/mgm preview-inventory <minigame> <name> Open that inventory to preview it


/mgm delete-inventory-item <minigame> <name> <slot> Remove the item in that inventory slot


💡 Tips:

When creating an inventory, you can lock it so players can’t take items from the shown inventory.

Inventories:
  menu:
    title: 'Review Menu'
    bars: 1
    locked: true

</aside>

<aside> <img src="/icons/info-alternate_red.svg" alt="/icons/info-alternate_red.svg" width="40px" />

Kits

/mgm save-kit <minigame> <name> Save your current inventory/armor as a kit


/mgm delete-kit <minigame> <name> Delete a saved kit


/mgm preview-kit <minigame> <name> Preview what a kit contains


/mgm apply-kit <player> <name> Give one player that kit


/mgm apply-kits <minigame> <name> Apply that kit to everyone currently in the minigame

</aside>

<aside> <img src="/icons/info-alternate_red.svg" alt="/icons/info-alternate_red.svg" width="40px" />

Banning

/mgm ban <player> <minigame> <reason> Ban a player from a minigame (not the server)


/mgm unban <player> <minigame> Unban a player from a minigame

</aside>

🔥 Epic Core Enhanced Commands

<aside> <img src="/icons/info-alternate_red.svg" alt="/icons/info-alternate_red.svg" width="40px" />

Do more with Epic Core

/mgm play-particle-effect <player> <effect> Play an Epic Core animated particle effect. Docs: Animated Particles.


/mgm stop-particle-effect <player> Stops playing particle effect


/mgm set-afk <player> <true/false> Set player’s afk status


/mgm set-chat-channel <player> <channel> Change a player’s chat channel


/mgm leave-chat-channel <player> <channel> Remove a player from a named chat channel


/mgm play-music <player> <song> Play a song (looping) from the looping music player such as MUSIC_DISC_CAT


/mgm play-music-shuffle <player> Shuffle and play a random song (looping)


/mgm stop-music <player> Stop playing the music


/mgm back <player> Teleport a player back to their last known location

</aside>

Advanced Commands

<aside> <img src="/icons/info-alternate_red.svg" alt="/icons/info-alternate_red.svg" width="40px" />

Logic

Check values and execute commands to create advanced minigames.

/mgm <player> if <left> <condition> <right> do <command> Left/right are values: Placeholders (like {private:lives}) or a fixed typed value like 10, red, or Sword

The <player> / {player} in the command is who the check runs for.


/mgm <player> if <left> = <right> do <command> Run if left equals right


/mgm <player> if <left> /= <right> do <command> Run if left does not equal right


/mgm <player> if <left> exactly <right> do <command> Run if left fully matches right (whole value)


/mgm <player> if <left> contains <right> do <command> Run if left contains right as a substring


/mgm <player> if <left> not-contains <right> do <command> Run if left does not contain right


/mgm <player> if <left> < <right> do <command> Run if left is less than right


/mgm <player> if <left> > <right> do <command> Run if left is greater than right


/mgm <player> if <left> divides <right> do <command> Run if left divides right evenly


/mgm <player> if <left> not-divides <right> do <command> Run if left does not divide right evenly


💡 Tips:

<aside> <img src="/icons/info-alternate_red.svg" alt="/icons/info-alternate_red.svg" width="40px" />

</aside>

<aside> <img src="/icons/info-alternate_red.svg" alt="/icons/info-alternate_red.svg" width="40px" />

</aside>

<aside> <img src="/icons/info-alternate_red.svg" alt="/icons/info-alternate_red.svg" width="40px" />

</aside>

<aside> <img src="/icons/info-alternate_red.svg" alt="/icons/info-alternate_red.svg" width="40px" />

</aside>

<aside> <img src="/icons/info-alternate_red.svg" alt="/icons/info-alternate_red.svg" width="40px" />

</aside>