SANDBOX — this is a test environment. No servers are actually deployed and no real payments are charged.
Back to NxLabs

NxLabs / Vintage Story

An AFK Story

SBy Syd

Makes Player 'AFK' after a while. The Player won't get hungry

An AFK Story

Description

✨ Intro

Players who stand still for 30 seconds automatically go AFK. While AFK, they receive:

  • Full saturation
  • Invulnerability

As soon as the player moves or clicks, they leave AFK status.

🔧 Configuration Options

  • Timeout: Change the 30 seconds in config.json by setting "MaxTimeOut" to your desired value.
  • Announcements: To make AFK announcements server-wide, set "SendMessageTo" to anything other than "self".
  • Manual AFK Command: Enable /afk by setting "EnableAfkCommand" to true (disabled by default).

💡 Why This Mod?

I often go AFK while working on other mods and end up dying of hunger. Since I can’t use creative mode for my setup, this mod was born!
I observed players, just hang out on the Server. They are in voice chat, but actually idle in game. These players don't have to eat that often any more.

🐞 Known Issues

  • If you don’t move while chopping wood, you might still go AFK (this uses vanilla mechanics).
  • Using a boat can trigger AFK — I may add a config option for this.
  • You can freeze to death → will be the next feature I'm working on.
  • <span style="text-decoration: line-through;">If you log out while AFK, your saturation bar will still be full when you log back in.</span> &rarr; Fixed in 0.9.7
  • My Mod had a big bug in the past, which basically made players always hungry. It is fixed now, and I'm still sorry for the frustration I caused in the past. &rarr; fixed in 0.9.0

Ratings & reviews

No ratings yet

Sign in to leave a rating or comment.