It was found that in the CTF repo they fixed this issue... but we just simply didn't apply the fix they did. This was fixed in their repo as issue [623](https://github.com/MT-CTF/capturetheflag/issues/623) |
||
---|---|---|
COPYING | ||
README.md | ||
init.lua |
README.md
Afk Kick
a mod for Minetest by GunshipPenguin
Kicks players after they are Afk for an amount of time. By default, players are kicked after five minutes, although this can be configured.
Licence: CC0 (see COPYING file)
This mod can be configured by changing the variables declared in the start of init.lua. The following is a brief explanation of each one.
MAX_INACTIVE_TIME (default 300)
Maximum amount of time that a player may remain AFK (in seconds) before being kicked.
CHECK_INTERVAL (default 1)
Time between checks for inactivity (In seconds)
WARN_TIME (default 20)
Number of seconds remaining before being kicked that a player will start to be warned via chat message.
Changelog:
- 07/22/2021 Beanzilla added the priv bypass_afk_kick which prevents being kicked for an unlimited amount of time. (Default's to being granted to server admin and if single player)
- 07/22/2021 Beanzilla fixed issue #4