tModLoader

tModLoader

Cheat Commands
70 Comments
Ktegaming 17 Jul @ 3:16pm 
Is god mode supposed to use up heals the way it does?
kokokopapa 8 Jul @ 3:42am 
/give doesnt work
aw3x 4 May @ 9:09am 
how do i use the coins command, i type /coins platinum 1 or etc and it says usage: <platinum> <gold> <silver>
bldrg12 18 Apr @ 7:00pm 
/give always say item type 0
thelarch 9 Apr @ 8:12pm 
How do I settle npcs back into their homes?
thelarch 3 Apr @ 8:55am 
I also can't get acid rain to start
thelarch 2 Apr @ 9:01pm 
How do I spawn a boss such as The Hive Mind?
Sir Duck 2 Apr @ 4:09am 
i can't seem to be able to get the /event command to work for a sandstorm, any ideas?
pan man 7 Mar @ 10:36pm 
what button
/give "item with spaces in the name in quotes" and then you put the ampunt of the item you want an example wpuld be
/give "palm wood" 999
Ink kostya 1 Feb @ 12:20pm 
type 0 error every time
Ktegaming 1 Feb @ 10:12am 
This is very helpful by the way. No more waiting 9 minutes to fight Skeletron!
XGenesis 2 Jan @ 5:48pm 
/give "copper short sword"
Joe 29 Dec, 2024 @ 6:09am 
Works great! Thanks!
kubahanuszewicz70 19 Dec, 2024 @ 4:57am 
how do you open the menu where you can type the commands
POLAK 4 Dec, 2024 @ 10:13am 
for me doesnt work at all
dumbass 13 Nov, 2024 @ 5:32pm 
dude /kill quite literally does not work i tried /kill (Carlo) didnt work /kill (Painter) didnt work /kill (the Painter) /kill (Carlo the Painter) nothing works pls fix this command
Mak4861 15 Oct, 2024 @ 12:00pm 
how can i get items with spaces in thier names
Vice 28 Sep, 2024 @ 1:11pm 
guys how do i spawn bosses?
Yharim 10 Aug, 2024 @ 2:54pm 
(You also need item ids)
Yharim 10 Aug, 2024 @ 2:54pm 
Maybe because modded items are different files not supported/scripted for the mod, Use your head dude.
Jamie 9 Aug, 2024 @ 1:53pm 
just so you know /give command barely works with base game items and doesn't work at all with modded items
ясупермегапро228 17 Jul, 2024 @ 2:21pm 
how i can use /give?
War_lizard 27 Jun, 2024 @ 11:38pm 
@drangeM yes it does
DrangeM 21 Jun, 2024 @ 5:35pm 
the /give command dose not word for any mod items btw
Ktegaming 12 May, 2024 @ 9:36am 
GUYS I FOUND THE TIME VALUES!!!!!!
Dawn for sunrise
Dusk for sunset
Noon for midday
Midnight for full nighttime
ハンくん 7 May, 2024 @ 6:12am 
@Wumbology when using the give item command, does it show like any messages to everyone in the server because I'm working on making a server for my friends
TheSilentAngryCat 24 Apr, 2024 @ 8:34pm 
make an endless inventory command :3
CallMeJJ 20 Apr, 2024 @ 1:07am 
How do you use the /give command?
Kyle Butler 30 Mar, 2024 @ 2:28pm 
how do i use the /give command
Weirdoman 9 Mar, 2024 @ 10:54pm 
can i spawn in the obsidian rose?
izzy g710 7 Feb, 2024 @ 6:47pm 
for multicommands i had to open the Cheat Commands config from the Workshop menu on the title screen, then click "+" on multicommand, then save my configs. Exit the game and you'll find the cheat commands config file in Terraria>tModLoader>ModConfigs folder, from there you can write in your custom multicommands to execute in game
izzy g710 7 Feb, 2024 @ 6:39pm 
@beefjerky264 type /spawn "traveling merchant"
anything that's longer than 1 word needs quotes around it
beefjerky264 7 Feb, 2024 @ 4:41pm 
how do i spawn the traveling merchant wiht the spawn command its not working
KarlosPopin 29 Jan, 2024 @ 6:00am 
is there a multiplayer veersion or this one also works for multiplayer?:spycon:
-JayJay- 26 Jan, 2024 @ 3:13pm 
Are these commands Calamity-compatible?
Damn.Cell10 7 Jan, 2024 @ 5:12pm 
can u add the "/dificulty"?, like if i want to pass my classic world to an Expert World, yk?
i've seen another mod like this that i'm saying, but it corrupted my world, fortunely i had a Security Copy of the world.
if you do it, plese that it be compatible with CalamityMod. Thank you all
KingzillaIY 20 Dec, 2023 @ 6:34pm 
How do I use the /prefix command? I couldn't figure it out to add a legendary prefix to a sword.
Los 19 Dec, 2023 @ 2:42pm 
can the /event command be used to change the weather, or is it just for things like blood moon?
༼ つ ◕_◕ ༽つ 7 Nov, 2023 @ 8:02pm 
hey, I can't seem to find the file for running multiple commands, do you know if i need to create it or is this a bug?
Ruthles5 24 Oct, 2023 @ 4:14pm 
what do i do???
Ruthles5 24 Oct, 2023 @ 4:11pm 
what do you do for the /spawn command for entitys like moon lord??
FuzzyClaw 18 Oct, 2023 @ 3:16pm 
Update: found a possible bug with the spawn command.
/spawn slime ~1000 will spawn a slime 1000 units away from you.
But /spawn slime ~1000 ~1000 will work as if the y argument is not there.

In the spawn command code, for the y section you have a
```cs
if(!int.TryParse(args[2], out x)) {
```
Maybe it should be a y instead of x?

Either way, the spawn command only works with a relative x argument.

Working:
/spawn slime
/spawn slime x (position in the world)
/spawn ~x (relative position to the player)
/spawn ~-x (negative relative position)

anything more makes the command work but nothing happens
FuzzyClaw 18 Oct, 2023 @ 2:53pm 
Hey, how would I spawn something a little distance away from me?
/spawn slime works fine but if I add numbers I get from /pos afterwards it does not work.

So I did /pos and let's say I got 10, 15
Then I move a little away and type /spawn slime 10 15, it says it worked but there is no slime in that position
RETURN OF THE ♥♥♥-BEAST 10 Oct, 2023 @ 2:48pm 
for time you use military time for example youd use /time 20:00 if you wanted it to be 8 pm. also if you want to give yourself an item with more than one word put the 2 or more words into quotes like this /give "ruby staff" followed by a number of how many you want
Silvestris 8 Oct, 2023 @ 9:46am 
THANK YOU so much! /settle is SAVING me.
Harmonicia 16 Sep, 2023 @ 6:23pm 
please make a command where you can turn of npc happieness
moose.mania5528 11 Sep, 2023 @ 4:38pm 
yes it works on modded items
OtakuSenpai62 5 Sep, 2023 @ 3:24am 
/sethome carries on saying invalid x co-ords
OtakuSenpai62 5 Sep, 2023 @ 1:52am 
how does /time work I've tried a bunch of different time pre-sets but all of them are invalid times