Metropolize Companions
  • Metropolize Companions
  • Command Documentation
  • Changelog
    • v0.4.0-beta (2025-03-02)
    • v0.3.1-beta (2025-10-05)
    • Previous changes
Powered by GitBook
On this page

Was this helpful?

Command Documentation

The majority of commands may be accessed through the /mtz command prefix.

  • /kill <COMPANION_NAME> - Kills the companion permanently; they will stop respawning as well.

  • /mtz summon <mtz_companions:{COMPANION_NAME}> - Summon a new companion

    • The vanilla /summon command may also be used.

  • /mtz command_companion <COMPANION_NAME> <COMMAND> - Force your companion to take a certain activity. Usually your companion is smart enough to figure out when it should do these things on their own, but you can use this command if you would like them to do something specific. Once you set this, the companion will stop whatever they were doing before to follow your command.

    • Available commands are:

      • DEFAULT - Let the companion decide what they want to do.

      • IDLE - Do nothing. Use this command if you would like the companion to just stop whatever they are doing.

      • FOLLOW_PLAYER - Follow you if possible.

      • FIGHT - Attack the nearest hostile mob! The companion is smart enough to automatically equip their best weapon and armor before going into battle, and will respawn if they die, so you can fight knowing that they can take care of themselves.

      • SLEEP - Find the nearest bed and sleep in it. Only works at night.

      • EXPLORE - Seek out new chunks that Talos has not yet seen. He may sometimes search for a cave and look for ores there as well.

      • RETURN_HOME - Tells Talos to head home. As of v0.3.0, he will teleport back to his set home.

  • /mtz set_home <COMPANION_NAME> - Set your current coordinates as Talos's home. This is where the RETURN_HOME command will bring him.

  • /mtz exploration_frequency <0.0 - 1.0> - Sets the frequency at which the companion will explore independently.

    • Must be a value between 0 and 1. Default value is 0.5.

    • When set to 0, the companion will never explore (instead choosing to FOLLOW_PLAYER).

    • When set to 1, the companion will always explore, never choosing to FOLLOW_PLAYER.

    • Calling this with no argument will return the current exploration_frequency.

  • /mtz remember_placed <true | false> - Tells Talos whether to keep track of blocks you place and avoid breaking them. Default value is true.

    • Setting this to false will not make Talos forget blocks you've previously placed, only those you place while remember_placed is off.

    • Similarly, setting this to true will not make Talos remember blocks you placed while it was false.

    • Calling this with no argument will return the current value of remember_placed.

  • /mtz gather <COMPANION_NAME> <addItem | list | removeItem> <ITEM_NAME> [COUNT] - Tells Talos to gather materials from your world.

    • addItem will make Talos explore your world to find blocks/items that you specify

    • removeItem will let Talos know that you no longer want him to search for this item

    • list outputs all of the items that Talos is currently looking for

  • /mtz reload <COMPANION_NAME> <METROPOLIZE_COMPANION_FILE> - If there are any problems with your companion, you can use this command to reset their brain.

Tips

  • The companion will respawn unless you kill them with the /kill command

  • The companion can pathfind using blocks if you give it dirt, cobblestone, sandstone, or netherrack.

  • To get your companion back to whatever they were doing before you gave them a command, you can give them the DEFAULT command

PreviousMetropolize CompanionsNextv0.4.0-beta (2025-03-02)

Last updated 4 months ago

Was this helpful?