Method 1 - Admin commands (easier, built-in)

Starbound ships with a full admin mode. Open chat (Enter), type /admin, and you're in - type it again to leave admin mode:

CommandWhat it does
/spawnitem <id> [count]Spawn any item - e.g. /spawnitem pixel 10000
/spawnmonster <id>Spawn a monster/NPC
/godGod mode - invincible
/fullbrightRemoves darkness
/setgravity <n>Change gravity (default 80)
/spawnvehicle <id>Spawn a vehicle/tech
/debugDebug info overlay

Item IDs are readable names - pixel, titaniumore, diamond, perfectlygenericitem... the community wikis keep full ID lists.

Method 2 - Cheat Engine

For editing live values (pixels, health, fuel) rather than spawning items:

  1. Attach Cheat Engine to starbound.exe (or starbound_opengl.exe).
  2. Scan the current value (e.g. your Pixels as a 4-byte or Double value - try both if nothing hits).
  3. Change it in-game (sell/buy something), scan the new value, repeat until one or two addresses remain.
  4. Freeze or overwrite the address.

It works, but for almost everything you'd want, /admin + /spawnitem is faster and doesn't risk save corruption.

On multiplayer servers

Admin commands only work if the server grants you admin rights (/admin requires server-side permission). Cheat Engine edits client-side values and mostly desyncs on servers - and it's a good way to get banned on servers that check. Keep the cheating to single-player or your own server.

FAQ

How do I enable cheats in Starbound?

Open chat and type /admin - that toggles admin mode, unlocking /spawnitem, /god and the rest. No external tools needed.

What is the item spawn command in Starbound?

/spawnitem <itemid> <count> - for example /spawnitem pixel 10000 gives 10,000 pixels. Item IDs use readable names from the game's files.

Does Cheat Engine work on Starbound?

Yes for single-player value editing (pixels, health), but admin commands cover most use cases more safely.

Can I use admin commands on a Starbound server?

Only with server-granted admin rights - /admin fails on servers where you lack permission.