Skip to content
/SLASHPLAY

Terraria console commands

All 46 settings and 26 commands from the game's own list, with defaults and examples to copy.

72 commands

  1. kick

    Kicks a player from the server by name. They can join again.

    Command

    Admin commands

  2. ban

    Bans a player from the server by name and adds them to banlist.txt.

    Command

    Admin commands

  3. save

    Saves the world now.

    Command

    Admin commands

  4. exit

    Saves the world and shuts the server down.

    Command

    Admin commands

  5. dawn

    Sets the time to dawn (4:30 AM).

    Command

    Time and world

  6. say

    Sends a message to every player. It shows in yellow in chat, starting with <Server>.

    Command

    Admin commands

  7. password

    The password players must enter to join. Empty means no password. At the server console, password shows it and password <pass> changes it.

    Default Not listed

    Server settings

  8. maxplayers

    The most players allowed on at once, 1 to 255. Typed at the server console, maxplayers prints the current limit.

    Default Not listed

    Server settings

  9. playing

    Lists the players on the server. Players can type /playing or /players in chat for the same list.

    Command

    Admin commands

  10. seed

    The seed for a world made by autocreate. Typed at the server console, seed shows the current world's seed.

    Default Not listed

    World creation

  11. difficulty

    Difficulty of a world made by autocreate: 0 classic, 1 expert, 2 master, 3 journey.

    Default 0 (Classic)

    World creation

  12. autocreate

    Creates a new world if the world file is missing: 1 small, 2 medium, 3 large.

    Default Not listed

    World creation

  13. journeypermission_godmode

    Who can use the Journey Mode power to turn on god mode: 0 nobody, 1 only the host, 2 everyone.

    Default 2 (Can be changed by everyone)

    Journey Mode permissions

  14. bossdamage

    Shows the damage ranking for the last boss fight: who did how much.

    Command

    Chat commands

  15. clear

    Clears the server console window.

    Command

    Admin commands

  16. exit-nosave

    Shuts the server down without saving the world.

    Command

    Admin commands

  17. help

    Lists the server console's commands. In chat, /help lists the chat commands players can use.

    Command

    Admin commands

  18. version

    Prints the server's Terraria version.

    Command

    Admin commands

  19. dusk

    Sets the time to dusk (7:30 PM).

    Command

    Time and world

  20. midnight

    Sets the time to midnight (12:00 AM).

    Command

    Time and world

  21. noon

    Sets the time to noon (12:00 PM).

    Command

    Time and world

  22. settle

    Settles all moving water at once.

    Command

    Time and world

  23. time

    Shows the current time in the world.

    Command

    Time and world

  24. alldeath

    Shows the death count of every player on the server.

    Command

    Chat commands

  25. allpvpdeath

    Shows how many times each player on the server has been killed by other players.

    Command

    Chat commands

  26. death

    Shows how many times you have died.

    Command

    Chat commands

  27. emoji

    Shows an emote bubble over your character by its number. /e is the short form.

    Command

    Chat commands

  28. me

    Sends your message in the third person, like an action.

    Command

    Chat commands

  29. p

    Sends a message only to the players on your team.

    Command

    Chat commands

  30. pvpdeath

    Shows how many times other players have killed you.

    Command

    Chat commands

  31. roll

    Rolls a random number from 1 to 100 and shows it to everyone.

    Command

    Chat commands

  32. rps

    Shows a random rock, paper or scissors emote.

    Command

    Chat commands

  33. banlist

    The file banned players are saved to. Default banlist.txt in the server's folder.

    Default banlist.txt

    Server settings

  34. language

    The server's language, as a language code like en-US or de-DE.

    Default Not listed

    Server settings

  35. motd

    The message of the day. At the server console, motd prints it and motd <words> changes it.

    Default Not listed

    Server settings

  36. npcstream

    How often enemy positions are sent. Lower means less enemy skipping but more bandwidth. 0 is off.

    Default 30

    Server settings

  37. port

    The port the server listens on. Default 7777. Typed at the server console, port prints it.

    Default 7777

    Server settings

  38. secure

    Turns on extra cheat protection. Default 0.

    Default 0

    Server settings

  39. slowliquids

    Limits how much liquid can move at once. May reduce lag, but liquids take longer to settle. Default 0.

    Default 0

    Server settings

  40. upnp

    Forwards the server's port on your router automatically with UPnP. Default 1. The launch option -noupnp turns it off.

    Default 1

    Server settings

  41. seed_celebration

    Makes autocreate generate the 10th anniversary world (seed celebrationmk10). 1 on, 0 off. It overrides the seed text.

    Default 0

    World creation

  42. seed_drunk

    Makes autocreate generate the drunk world, with both Corruption and Crimson. 1 on, 0 off. It overrides the seed text.

    Default 0

    World creation

  43. seed_fortheworthy

    Makes autocreate generate the For the worthy world, a much harder world. 1 on, 0 off. It overrides the seed text.

    Default 0

    World creation

  44. seed_notraps

    Makes autocreate generate the No Traps world, which is actually full of traps. 1 on, 0 off. It overrides the seed text.

    Default 0

    World creation

  45. seed_notthebees

    Makes autocreate generate the Not the bees world, full of bees and jungle. 1 on, 0 off. It overrides the seed text.

    Default 0

    World creation

  46. seed_remix

    Makes autocreate generate the Don't dig up world, with many of the world's layers flipped. 1 on, 0 off. It overrides the seed text.

    Default 0

    World creation

  47. seed_theconstant

    Makes autocreate generate The Constant world, from Don't Starve. 1 on, 0 off. It overrides the seed text.

    Default 0

    World creation

  48. seed_zenith

    Makes autocreate generate the Get fixed boi world, which mixes all the special seeds. 1 on, 0 off. It overrides the seed text.

    Default 0

    World creation

  49. world

    The world file to load. The server starts on it without asking.

    Default Not listed

    World creation

  50. worldname

    The name of a world made by autocreate.

    Default Not listed

    World creation

  51. worldpath

    The folder where world files are stored.

    Default Not listed

    World creation

  52. worldrollbackstokeep

    How many rolling backups of the world file the server keeps.

    Default 2

    World creation

  53. journeypermission_biomespread_setfrozen

    Who can use the Journey Mode power to stop biome spread: 0 nobody, 1 only the host, 2 everyone.

    Default 2 (Can be changed by everyone)

    Journey Mode permissions

  54. journeypermission_increaseplacementrange

    Who can use the Journey Mode power to increase the placement range: 0 nobody, 1 only the host, 2 everyone.

    Default 2 (Can be changed by everyone)

    Journey Mode permissions

  55. journeypermission_rain_setfrozen

    Who can use the Journey Mode power to freeze the rain: 0 nobody, 1 only the host, 2 everyone.

    Default 2 (Can be changed by everyone)

    Journey Mode permissions

  56. journeypermission_rain_setstrength

    Who can use the Journey Mode power to change the rain strength: 0 nobody, 1 only the host, 2 everyone.

    Default 2 (Can be changed by everyone)

    Journey Mode permissions

  57. journeypermission_setdifficulty

    Who can use the Journey Mode power to change the enemy difficulty slider: 0 nobody, 1 only the host, 2 everyone.

    Default 2 (Can be changed by everyone)

    Journey Mode permissions

  58. journeypermission_setspawnrate

    Who can use the Journey Mode power to change the enemy spawn rate: 0 nobody, 1 only the host, 2 everyone.

    Default 2 (Can be changed by everyone)

    Journey Mode permissions

  59. journeypermission_time_setdawn

    Who can use the Journey Mode power to set the time to dawn: 0 nobody, 1 only the host, 2 everyone.

    Default 2 (Can be changed by everyone)

    Journey Mode permissions

  60. journeypermission_time_setdusk

    Who can use the Journey Mode power to set the time to dusk: 0 nobody, 1 only the host, 2 everyone.

    Default 2 (Can be changed by everyone)

    Journey Mode permissions

  61. journeypermission_time_setfrozen

    Who can use the Journey Mode power to freeze time: 0 nobody, 1 only the host, 2 everyone.

    Default 2 (Can be changed by everyone)

    Journey Mode permissions

  62. journeypermission_time_setmidnight

    Who can use the Journey Mode power to set the time to midnight: 0 nobody, 1 only the host, 2 everyone.

    Default 2 (Can be changed by everyone)

    Journey Mode permissions

  63. journeypermission_time_setnoon

    Who can use the Journey Mode power to set the time to noon: 0 nobody, 1 only the host, 2 everyone.

    Default 2 (Can be changed by everyone)

    Journey Mode permissions

  64. journeypermission_time_setspeed

    Who can use the Journey Mode power to change the speed of time: 0 nobody, 1 only the host, 2 everyone.

    Default 2 (Can be changed by everyone)

    Journey Mode permissions

  65. journeypermission_wind_setfrozen

    Who can use the Journey Mode power to freeze the wind: 0 nobody, 1 only the host, 2 everyone.

    Default 2 (Can be changed by everyone)

    Journey Mode permissions

  66. journeypermission_wind_setstrength

    Who can use the Journey Mode power to change the wind strength: 0 nobody, 1 only the host, 2 everyone.

    Default 2 (Can be changed by everyone)

    Journey Mode permissions

  67. -announcementboxrange

    Sets how far Announcement Box messages reach, in pixels. -1 sends them to the whole server.

    Default Not listed

    Launch options

  68. -config

    Starts the server with a config file such as serverconfig.txt.

    Default Not listed

    Launch options

  69. -disableannouncementbox

    Turns off the text messages Announcement Boxes send when wired.

    Default Not listed

    Launch options

  70. -ip

    Sets the IP address the server listens on.

    Default Not listed

    Launch options

  71. -lobby

    With Steam on: friends lets your Steam friends join, private keeps it private.

    Default Not listed

    Launch options

  72. -steam

    Turns on Steam support, so Steam friends can find and join the server.

    Default Not listed

    Launch options

Questions

How do I run Terraria commands on my server?

On SLASHPLAY, Terraria's server can't take commands from the dashboard: the Console tab only shows what it prints. SLASHPLAY sets the world, the 8-player limit and the join password at each start, and the chat commands work for every player in game.

Where does this list come from?

It is the game's own list: the Server and Command-line parameters pages of the official Terraria wiki, the serverconfig.txt that ships with the 1.4.5.8 dedicated server, and that server's own help text. The descriptions and examples on the written pages are by SLASHPLAY.

Try them on
your own server.

From $0.03 an hour, only while it runs. New accounts get 6 free tokens.