Terraria Cheats and Console Commands

Below you will find a list of all the Terraria console commands that can help you adjust your server and the players in it as well as helping you to close everything down when you are ready to call it an evening. Here you can find out the command line parameters that you can use when launching a server.

You are required to be hosting the server in order to use these commands. To view detailed argument explanations you can scroll over a cheat. To see the command page, click on the name of a command for more help and samples.

By pressing the hot keys you can execute the command and press the ENTER button to send it.

Console Commands
Code Effect
playing Shows the list of players
exit Shutdown the server and save the world.
exit nosave Shutdown the server without saving the world.
ban [player] Bans a player from the server
password [pass] Change password
time Display game time
dawn Change time to dawn
dusk Change time to dusk
settle Settle all water.
maxplayers=[8] Allows friends to join the server or sets it to private if Steam is enabled.
port=[7777] Load a world and automatically start the server.
password=[p@55w0rd* ] Set the port number
motd=[Please don’t cut the purple trees! ] Set the server password
autocreate=[3] Sets the folder where world files will be stored
difficulty=[0] Creates a new world if none is found. World size is specified by: 1(small), 2(medium), and 3(large).
worldname=[World] Sets world difficulty when using -autocreate. Options: 0(normal), 1(expert)
banlist=[banlist.txt] Sets the name of the world when using autocreate
secure=[1] The location of the banlist. Defaults to "banlist.txt" in the working directory.
off The "off" command is used to safely shut down the server. After you use this command, the server will be saved and shut down. The exit command is the only way your server should be downgraded.
reload The "Reload" command is used via the Web Interface Console to reload all plugins.
Me The command "Me" is used ingame to write a kind of headline about itself. For example: "/ me is now making a coffee" ingame heist it then "XYZ is now making a coffee"
Help The "Help" command is used to display a list of possible commands. The command can be used in ingame as well as via the web interface console.
Whitelist The command "Whitelist add or remove" is used to add or remove players to the Whitelist.
Give The Command "Give" gives an arbitrary player an item. (/ Give ) eg:
/ Give XYZ 1 torch Gives the player 1 torch, but you can also write instead of torch the name of the name of the item:
TP The command "TP" is used for teleporting and can only be used in ingame. For example, write XYZ ZYX. Teleports the player XYZ to the player ZYX. If you write only TP is teleported to the spawn.
TPHere The command "TP Here" is used to teleport a player to himself. E.g. / Tphere XYZ .XYZ is now teleported to your position.
Restart The "Restart" command is used to restart the server.
Stop The command "Stop" is used to stop the server. The command can be used in ingame as well as via the web interface console.
Annoy The "/ annoy" command is used to annoy other players. We could not find an effect.
Confuse See "annoy". Confuse is supposed to confuse the player.
Rocket See "annoy". "/ Rocket" has only the effect that the player is turned into a rocket. However, a registered account is required.
Firework See "annoy". "/ Firework" has only the effect that creates around the player a firework.
Bloodmoon The command "/ bloodmoon" is used to force a "blood moon".
Buff The command "/ buff" can be used to give itself a "buff" (e.g., invisibility). This is only possible with soaking. The correct way to use the command is: / buff [time (seconds)] E.g., "buff invisibility 100". This makes the player invisible for 100 seconds.
Buffplayer See "Buff". "/ Buffplayer" allows only one player to give a buff. Here is the only difference between the player name and / buff. So to give the player "Nitrado" Uncertainty for 100 seconds, enter: "/ Buff Nitrado invisibility 100"
Butcher The command "/ butcher" is used to kill all NPC players (bots) on the server.
Register The command "/ register" is used to create an account on the server.
Serverpassword The command "/ serverpassword" is used to change the server's password.
eclipse The command "/ eclipse" is similar to the "/ bloodmoon" command. It is used to force an "eclipse" on the server.
fullmoon The command "/ fullmoon" is similar to the "/ bloodmoon" command. It is used to force a "full moon" on the server.
godmode The command "/ godmode" allows the player to regenerate the same amount of damage as the damage he gets. Note, however, that the player can be killed with a "oneshot" (More harm than living).
grow The command "/ grow" is used to make plants and trees grow
Hardmode The command "/ hardmode" is used to enable the highest level of difficulty on the server.
Home The command "/ home" allows the player to teleport directly to the spawn.
Heal The command "/ heal" is used to heal itself completely.
Invade The command "/ invade" is used to start an invasion on the server.
config Indicates a specific configuration file to use
motd Sets your server's message of the day
secure Adds cheat protection
noupnp Turns off universal plug and play
steam Adds Steam support
lobby or Determines whether friends can join the server
clear Clears the console window
kick Kicks someone off the server
version Shows the version number
say Sends a message to all players in yellow text from the server name
noon Sets the time to 12:00 PM
midnight Sets the time to 12:00 AM
Kill The command "/ Kill XYZ" is used to kill another player. In this case you have to replace XYZ with the player name on the server.
Mute / Unmute The command "/ mute" or "/ unmute" is used to mute a player or allow him to write again.
Rain The command "/ rain" is used to turn the rain on or off on the server.
Stats The command "/ stats" is used to find more detailed information about the server.?==Slap== The command "/ slap" is used to hit another player.
Spawnboss The command "/ spawnboss" is used to spawn a boss on the server.
Spawnmob The command "/ spawnmob" is used to spawn a hostile creature.
Spawnrate The command "/ spawnrate" is used to adjust the rate of spawns.
Whisper / Reply The command "/ whisper" (short / w) is used to write a private message to another player. The command "/ reply (short / r)" is used to respond to the private message.
setspawn The command "/ setspawn" is used to set the spawn of the server.
Forcexmas The command "/ forcexmas" is used to enable / disable the "Christmas mode" on the server.