The Planet Crafter
Install with App

Details

Latest version
1.0.0
Last Updated
First Uploaded
Downloads
8
Likes
1
Size
180KB
Dependants

Categories

AFK Resource Preserver

Made for those co-op sessions where someone needs to step away without disconnecting.

Stand still for 30 seconds and your hunger and thirst stop draining. Move again and normal drain resumes. Nothing gets refilled, and looking around won't reset the timer.

Oxygen still drains. Get somewhere you can breathe before going AFK. Damage and toxicity aren't blocked either.

Installation

Install with r2modman or Thunderstore Mod Manager, then launch the game modded. Requires BepInExPack 5.4.2305 or later.

For a local install, use Import local mod and select AFKResourcePreserver-1.0.0.zip from the GitHub release.

For manual installation, put AFKResourcePreserver.dll in BepInEx/plugins/AFKResourcePreserver/.

Co-op

The host and anyone who wants AFK protection need the mod installed and enabled. Each player has their own timer and settings. Players without the mod aren't affected.

Installing it on a guest alone won't work because the host handles survival drain. A warning will appear in the log if host support isn't detected.

Settings

Launch the game once to create:

BepInEx/config/noxie.planetcrafter.afkresourcepreserver.cfg

Edit it with the game closed, then restart.

Setting Default What it does
Enabled true Turns the mod on or off. Turning it off on the host disables protection for everyone.
AfkDelaySeconds 30 How long you need to stand still.
MovementThreshold 0.02 How far you can move before the timer resets, in world units.
PreserveHunger true Pauses hunger drain while AFK.
PreserveThirst true Pauses thirst drain while AFK.

The small movement tolerance ignores position jitter. Walking, jumping, falling or teleporting resets the timer; moving the camera doesn't. Loading and respawning also start a fresh countdown.

If you're hosting and only want protection for your friends, leave Enabled on and turn your own PreserveHunger and PreserveThirst off.

Compatibility and bugs

Works independently of Player Inventory Stacks. Eating and drinking still work normally. Mods that replace hunger/thirst drain may conflict. Co-op timing can vary with connection lag, and protection isn't guaranteed if the game process is suspended or the connection drops.

Found a problem? Open an issue on GitHub with what happened, your game/mod versions, whether you were hosting or joining, and your BepInEx/LogOutput.log.

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.