CheatNeeds devcommands
spawn command
Syntax
| prefab | Exact prefab id, case sensitive; end with * to spawn every prefab containing the word |
| amount | How many to spawn |
| level | Creature level; level 3 is a 2-star creature |
| radius | Spread radius for the spawned objects |
| p|e|i | p picks spawned items up, e tries to use or equip them, i only spawns and picks up if you don't already have one |
What it does
Spawns any prefab at your position by its exact id: items, creatures or pieces. For creatures the level argument sets star tier (level 3 is a 2-star), and the trailing letter changes item handling: p picks the items up, e equips them, i skips the spawn if one is already in your inventory. Needs devcommands.
Cheat commands need the console enabled with the -console launch option, then devcommands typed once. They work in singleplayer or when you host, not on dedicated servers.
Examples
Drops one iron sword at your feet.
Spawns a full stack of coins and picks it up.
Spawns two 2-star boars.
Good to know
Prefab ids are case sensitive: SwordIron works, swordiron doesn't.
Related commands