Command System
These are the in-game commands currently available. Most require that a user have operator privileges to work and that a singleplayer world has cheats enabled.
Command Syntax
If you see this… | Then… |
---|---|
plaintext |
Enter this exactly as shown |
<angle brackets> |
This is a required argument |
[square brackets] |
This is an optional argument |
x \| y \| z |
Pick one of these options (can be optional or required) |
Base Commands
/minecolonies (or /mc) <backup | help | home | raid-all-now | raid-all-tonight | resetsupplies | rtp | whereami | whoami | citizens | colony | kill>
Command | Command Description |
---|---|
/mc backup Default Permission Level: OP |
Makes a backup of all colony data. |
/mc help Default Permission Level: All |
Lists the wiki and the Discord links in chat. |
/mc home Default Permission Level: All |
Teleports a colony owner back to the Town Hall of their colony. |
/mc raid-All <now | tonight> <amazon_raid | barbarian_raid | egyptian_raid | norsemen_raid | pirate_raid> Default Permission Level: OP |
Schedules a raid for every colony. You can choose if it starts now or the next Minecraft night, as well as its type. |
/mc resetsupplies <online player's username> Default Permission Level: OP |
Resets the ability to place a supply camp or ship. |
/mc rtp Default Permission Level: All |
Randomly teleports you. Will place you outside the range of someone else's colony. |
/mc whereami Default Permission Level: All |
Outputs how far away the player is from a colony (if they are near one) or that there are no colonies nearby. |
/mc whoami Default Permission Level: OP |
Outputs your name, the name of your colony, and the coordinates for the center of your colony. |
Colony Commands
/minecolonies (or /mc) colony <addOfficer | canSpawnRaiders | claim | delete | home | info | list | loadAllColoniesFromBackup | loadBackup | raid-now | raid-tonight | requestsystem-reset | requestsystem-reset-all | setAbandoned | setDeleteable | setowner | teleport>
Command | Command Description |
---|---|
/mc colony addOfficer <colony id> <online player's username> Default permission level: All |
Adds an officer to a colony. For more information on officers, visit the Town Hall page and look at the Permissions section of the GUI. Example: /mc colony addofficer 1 Steve |
/mc colony canSpawnRaiders <colony id> <canSpawn> Default permission level: OP |
Adds or removes the ability to spawn raiders in a colony. Example: /mc colony canSpawnRaiders 1 true |
/mc colony claim <colony id> [number in chunks] [true | false] Default permission level: OP |
Claims a specified number of chunks for a colony (or removes claimed chunks) based off the player's location. Example: /mc colony claim 1 8 true |
/mc colony delete <colony id> [delete Buildings] Default permission level: All |
Deletes a colony and all MineColonies buildings (as long as the hut block is still placed). Examples: /mc colony delete 1 false keep buildings /mc colony delete 1 true delete buildings |
/mc colony home Default permission level: All |
Teleports a colony owner back to the Town Hall of their colony. Example: /mc colony home |
/mc colony info <[colony id]> Default permission level: All |
Shows some basic information about the colony specified (ID, name, mayor, citizens, coordinates, last contact with mayor, and if the colony can be deleted or not). Example: /mc colony info 1 |
/mc colony list <[startpage]> Default permission level: All |
Shows a list of all the colonies in this world and their ID, name, and coordinates. Example: /mc colony list |
/mc colony loadAllColoniesFromBackup Default permission level: OP |
Loads all colonies from a backup. Example: /mc colony loadAllColoniesFromBackup |
/mc colony loadBackup <[colony id]> Default permission level: OP |
Loads an individual colony from a backup. Example: /mc colony loadBackup 1 |
/mc colony raid <now | tonight> <[colony id]> <amazon_raid | barbarian_raid | egyptian_raid | norsemen_raid | pirate_raid> Default permission level: OP |
Schedules a raid for the specified colony. You can choose if it starts now or the next Minecraft night, as well as its type. Example: /mc colony raid-now 1 |
/mc colony requestsystem-reset <[colony id]> Default permission level: All |
Refreshes a specified colony's request system, making all workers resubmit requests. Example: /mc colony requestsystem-reset 1 |
/mc colony requestsystem-reset-all Default permission level: OP |
Refreshes all colonies' request systems, making all workers in all colonies resubmit requests. Example: /mc colony requestsystem-reset-all |
/mc colony setAbandoned <colony id> Default permission level: All |
Sets a colony to abandoned and without a mayor. Example: /mc colony setAbandoned 1 |
/mc colony setDeletable <colony id> <deleteable> Default permission level: OP |
Sets whether a colony can be marked for auto-deletion or not. Example: /mc colony setDeletable 1 false |
/mc colony setowner <colony id> <online-player's username> Default permission level: All |
Changes the owner of a colony. Example: /mc colony setowner 1 Steve |
/mc colony teleport <colony id> Default permission level: All |
Teleports the player to the specified colony. Example: /mc colony teleport 1 |
Citizens Commands
/minecolonies (or /mc) citizens <info | kill | list | reload | spawnNew | teleport | walk>
Command | Command Description |
---|---|
/mc citizens info <colony id> <citizen id> Default permission level: ALL |
Gives basic information about a specified citizen in a colony such as their ID and name. Example: /mc citizens info 1 1 |
/mc citizens kill <colony id> <citizen id> Default permission level: ALL |
Kills a specified citizen in a colony. Example: /mc citizens kill 1 1 |
/mc citizens list <colony id> [page number] Default permission level: ALL |
Lists all citizens in a colony with each citizen's ID and name (9 results per page). Examples: /mc citizens list 1 /mc citizens list 1 3 |
/mc citizens reload <colony id> <citizen id> Default permission level: All |
Reloads a specified citizen in a colony. Example: /mc citizens reload 1 1 |
/mc citizens spawnNew <colony id> Default permission level: ALL |
Spawns a new citizen in a colony. Example: /mc citizens spawnNew 1 |
/mc citizens teleport <colony id> <citizen id><location (x y z)> Default permission level: ALL |
Teleports a specified citizen to a given location. Example: /mc citizens teleport 1 1 -50 62 128 |
/mc citizens walk <colony id> <citizen id><location (x y z)> Default permission level: ALL |
Tells a specified citizen to walk to a given location. Example: /mc citizens walk 1 1 -50 62 128 |
Kill Commands
/minecolonies kill <raider | animals | monster | chicken | cow | pig | sheep>
Command | Command Description |
---|---|
/mc kill raider Default permission level: OP |
Kills all raiders (barbarians, pirates, vikings, or egyptian raiders) inside all colonies. Example: /mc kill raider |
/mc kill animals Default permission level: OP |
Kills all animals (peaceful mobs) inside all colonies. Example: /mc kill animals |
/mc kill monster Default permission level: OP |
Kills all monsters (hostile mobs) inside all colonies. Example: /mc kill monster |
/mc kill chicken Default permission level: OP |
Kills all chickens inside all colonies. Example: /mc kill chicken |
/mc kill cow Default permission level: OP |
Kills all cows inside all colonies. Example: /mc kill cow |
/mc kill pig Default permission level: OP |
Kills all pigs inside all colonies. Example: /mc kill pig |
/mc kill sheep Default permission level: OP |
Kills all sheep inside all colonies. Example: /mc kill sheep |