Commands
/tm
This is the main command.
/tm spawn
Spawn a specified mob
Requires "tmob.spawn" permission
- /tm spawn archer
- /tm spawn swordsman
- /tm spawn mage
- /tm spawn titan
/tm order
Give selected mobs an order (select mobs by right clicking them)
Requires the "tmob.order" permission
- /tm order gohome
- Send your mobs home
- /tm order follow
- Make your mobs follow you
- /tm order stop
- Make your mobs hold position
- /tm order patrolHere
- Make your mobs patrol from their home to your current position
- /tm order wander
- Let your mobs wander around (there is no limit as to how far it can wander)
- /tm order setHome
- Set your current position as your mob's home
- /tm order forgive
- Tell your mobs to stop attacking what they are currently agroed to
- Your mobs will resume attacking entities marked as hostile, but will stop attacking any neutral entities that provoked it.
- /tm order moveToPoint
- Send your mobs to where you're looking
- Additionally requires the "tmob.order.move" permission
- /tm order tpHome
- Teleport your mobs home
- Additionally requires the "tmob.order.tp" permission
- /tm order tpHere
- Teleport your mobs to you
- Additionally requires the "tmob.order.tp" permission
/tm color
Colors the armor of Towny mobs from your Town a specified color
Requires "tmob.color" permission
- /tm color
#
##
# is a color in RRGGBB format- ff0000 is red
- 00ff00 is green
- 0000ff is blue
/tm info
Lists the prices of the mobs
/tm selection
List any mobs you have selected
/tm deselect
Deselect any mobs you have selected
/tm selectall
Select all mobs in your Town
Requires the "tmob.selectall" permission
/tmc
Towny Mobs Console command
Designed to be used by command blocks, this command allows you to spawn a mob to a specific Town.
WARNING: This command bypasses all restrictions to spawning Towny mobs, including land ownership, Town power, and mob count limits.
The command must originate a command block, the console, or a player with the "tmob.tmc" permission.
- /tmc MOBTYPE TOWNNAME WORLDNAME X Y Z
- MOBTYPE can be archer, swordsman, mage, or titan
- TOWNNAME is the name of the Town
- WORLDNAME is the name of the world the mob is to be spawned in
- X Y Z are the coordinates to spawn the mob at
- /tmc MOBTYPE TOWNNAME WORLDNAME X Y Z ORDER X2 Y2 Z2
- Optionally, you can add an order to give your mobs
- ORDER can be wander, patrol, or move
- wander requires no extra coordinates, but patrol and move require X2 Y2 Z2 as extra coordinates
- /tmc MOBTYPE TOWNNAME WORLDNAME X Y Z path X2 Y2 Z2 X3 Y3 Z3
- path is a special order that can only be used with the /tmc command
- This will spawn a mob at X Y Z and direct the mob to travel to X2 Y2 Z2 and then to X3 Y3 Z3 where it will stop.
Comments