Skip to main content
The Sons of the Forest infinite log command is loghack on. Type cheatstick while playing, press F1, type loghack on and press Enter: once you pick up a log, you keep getting new logs while you carry and place them. buildhack on lets you build without using any resources. On a dedicated server these only work on a world created with cheats on.

Before you start

  • Your server’s world must be a custom game mode world created with "GameSetting.Multiplayer.Cheats": true. Follow how to enable console commands first.
  • The console only reacts to the US keyboard layout.

How to get infinite logs in Sons of the Forest

1

Open the console

Join your server. While walking around, type cheatstick (no text box appears), then press F1.
2

Turn on loghack

Type the command and press Enter:
3

Pick up a log

Pick up one log. While you carry it, your supply of logs doesn’t run out.
4

Turn it off

Type loghack off when you’re done. Dropping your log or using a weapon also ends it.
To spawn logs instead, use additem 78 (one log for you) or spawnitem 78 (a log on the ground next to you).

Sons of the Forest build hack commands

Each command affects only the player who types it.

Build faster without cheats

If you’d rather keep cheats off, these custom game mode settings help builders. Like the cheats setting, they only apply to a new world: See change difficulty and custom settings for how to set them.

Frequently asked questions

Does loghack work in multiplayer?

Yes, on a world where cheats are on. On a dedicated server that means a custom game mode world with GameSetting.Multiplayer.Cheats set to true when it was created.

Why does loghack do nothing?

Your world was created without cheats, or your keyboard isn’t set to the US layout. Check why cheatstick doesn’t work.

What is the log ID in Sons of the Forest?

The log is item 78. additem 78 gives you one. See all item IDs.

Can Kelvin get logs for me instead?

Yes. Without cheats, ask Kelvin to Get logs with your notepad. See Kelvin and Virginia.

Sons of the Forest server guide

Every Sons of the Forest page in one place.

Console commands

Enable cheats and the full command list.

Item IDs

Spawn items with additem.

Tree regrowth

Let cut trees grow back.

Teleport commands

goto and the Teleporter.

Checked by the FREAKHOSTING team against the Sons of the Forest Wiki and the official dedicated server guide on 30 October 2026. Commands may change with game updates.

Need Extra Help?

If you encounter any issues, our support team is ready to assist:

Save on Your Hosting

Ready to upgrade your hosting? Use code KB20 at checkout for 20% off your first order!

Last Updated: October 2026