Skip to content

Afk Tag mod for minetest - Change player nameteag to [AFK] when inactive.

License

Notifications You must be signed in to change notification settings

dargow/afktag

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Afk Kick 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.

About

Afk Tag mod for minetest - Change player nameteag to [AFK] when inactive.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 100.0%