Set Player Stat (SetPlayerStat)

no-mans-sky — Console Commands

Modifies a player statistic such as health, jetpack fuel, or hazard protection. Useful for debugging survival mechanics or testing scenarios.

Syntax

SetPlayerStat <STAT_NAME> <VALUE>

Example

SetPlayerStat Health 100

💡 Notes

Stat names are case-sensitive and not fully documented; common ones include 'Health', 'JetpackFuel', 'HazardProtection'. [verify]

🎯 Tips & Tricks

Check stat names

Use the debug menu (F7) to see current stat names and values before setting them.

Reset stats

Set stats back to default values (e.g., Health 100) after testing to avoid permanent changes.

🔧 Troubleshooting

Stat not changing

Verify the stat name is spelled correctly and try lowercase or full names like 'playerhealth'.

⚠️ Common Mistakes

  • Using wrong stat names
  • Setting negative values
  • Forgetting to reset after testing

👍 Pros

  • Adjusts core stats
  • Great for testing
  • Quick recovery

👎 Cons

  • Limited known stats
  • Can break game balance
  • Requires exact names
🔍 Search Wiki
Type a command, item, or cheat to search across 60+ games.