
Mods / An AFK Story
Authors: Syd, Ritzga
Side: Server
Created: Nov 28th 2024 at 7:42 PM
Last modified: Mar 16th at 6:16 PM
Downloads: 3721
Follow Unfollow 45
Latest release (for outdated Vintage Story v1.20.x):
AnAFKStory-v0.9.5-1.20.0.zip
1-click install
I fixed most of the mess in the comments. Again my deepest apologies. I never anticipated the mod to break the game that badly.
Players, which stand around for 30 seconds, go "AFK". They have full saturation and get the "invulnerable" status. As soon as the player moves (or uses mouse buttons) they will leave the AFK status.
You can set the AFK annoucement to be server wide or only you.
You can type /afk to set you AFK manually (disabled on default, but can be enabled in config)
- The 30 Seconds are configurable in a config json. (set "MaxTimeOut" to the desired time in seconds)
- to make the announcement server wide change the "SendMessageTo" to anything else but "self"
- to enable the AFK command set "EnableAfkCommand" to true
I made this mod, because I'm standing around AFK while I work on my other Mods and die of hunger. (I can't got into creative mode for reasons)
outstanding known bugs:
- if you don't move while chopping wood you might go AFK. (IDK, how that can happen I literally use the ingame mechanic)
- using a boat can still make you AFK -> I might turn this into a config parameter actually
- when you log out being AFK your saturation bar is full, when you log back in.
Version | For Game version | Downloads | Release date | Changelog | Download | 1-click mod install* |
---|---|---|---|---|---|---|
v0.9.5 | 601 | Mar 16th at 6:15 PM | Show | AnAFKStory-v0.9.5-1.20.0.zip | 1-click install | |
v0.9.4 | 124 | Feb 23rd at 10:08 PM | Show | AnAFKStory-v0.9.4-1.20.0.zip | 1-click install | |
v0.9.3 | 2417 | Dec 14th 2024 at 7:57 PM | Show | AnAFKStory-v0.9.3-1.19.0.zip | 1-click install | |
v0.9.2 | Dec 8th 2024 at 1:29 PM | Show | 1-click install | |||
v0.9.5-rc.1 | 20 | Mar 16th at 6:16 PM | Show | AnAFKStory-v0.9.5-rc.1-1.19.0.zip | 1-click install | |
v0.9.4-rc.1 | 22 | Feb 23rd at 10:16 PM | Show | AnAFKStory-v0.9.4-rc.1-1.19.0.zip | 1-click install | |
v0.9.0 | Nov 28th 2024 at 7:43 PM | Show | 1-click install |
I finally had the same bug as everyone. IDK, why I haven't encountered it. It should be fixed now. i continue to play on my own server to see if I run into other issues.
Same issues as below. I had no problem with the previous version AND it worked in 1.20.x
However, the link to the old file is broken, so I can't even revert 🤦♂️
this update is causing an issue for me on my server that my hunger is drained to 0 and eating wont help get it higher. so im dying slowly
It seems to not work fully in 1.20 as intended. It sets hunger to 0 but can still be attacked and die by drifters.
I'm having an issue where being in a boat and rowing still counts as being AFK because you legally aren't moving
Game says it's asking for version 1.19.0..
Mod seems to be not working in one of my worlds. Singleplayer world, it works fine. But in the world I used to open to LAN/internet, it doesn't work - even if I don't currently open it to LAN/internet. I see the afk message, my hunger rate goes to 0 in the character panel, but my satiety keeps dropping. Once I'm starving, I keep taking damage from starving too.
EDIT: This is in 1.19.8
MimiKitty invulnerable makes drifter and other monsters not able to hurt you. it is an internal status that is already in the game and might do much more.
yes you are able to look around. you are no longer AFK, when the character moves or interacts so left or right button click. So yes chatting and looking around should work intentionally (that is why I made the mod)
- I can add a way to disable the message no problem.
- I can make them vulnerable as per config. yes
what does "invulnerable" do? can we totally disable the chat messages? can players look around without going afk? pretty much I would want it so once afk a player no longer loses hunger but can still chat and look around. mainly as a way to let players be on a server and "hang out" without being punished for not being active while playing. I still want them to be attackable/damagable and look around/chat!
okay I'm very sorry this didn't come up while testing. I removed all old versions of the mod, because that is unplayable and uploaded a version with a fix hopefully.
I also saw, that I have to unset AFK, whe you are crafting or building as that tend to set you AFK as well.
Syd We are also having the same issue. We are getting stuck at 0% hungerrate due to seemingly the same reason Noa3 mentions.
Hi, i put this mod on my server and AFK starts right after connecting on the server and the status doesnt get lost if moved around or even removed again from the server. Players are now stuck to 0% Hungerrate
Syd
Not working. player goes AFK right after connect to server and satiety did not go down..
config:
JosephOcala try to add it back in and walk around, it will try to reset itself, but looks like I have to add in a more solid reset.
Not sure what happened but it has permanently set my hunger rate at 0, even after I removed it from my mod folder I'm still stuck at 0
Syd
Great! I will be testing that. Will be nice to add a kick system (configurable) so players can´t be AFK for eternity on the server
DejFidOFF I added it in. It is disabled on default, but can be enabled through server settings.
rayray good to know, thanks
this works on 1.20 unstable as is
Oh this looks amazing! I'm playing on 1.20 pre though, I can't wait until this is updated
Syd
Hey o/ Good job. I am looking for something like this a long ago. But will be possible implemented a msg to chat? Something like in MC? "Player XY is AFK" which everyone can see.