a few small updates.

master
NathanSalapat 2016-04-20 17:06:28 -05:00
parent 8ae62a5c65
commit b3ef79ce22
3 changed files with 5 additions and 1 deletions

View File

@ -1,2 +1,2 @@
This mod is licensed CC0 as per GunshipPenguins Server Essentials.
I copied much code from his mod, and made changes to reduce it to only the afk kicking, and added a check to only kick when more than a certain number of players are online.
I copied much code from his mod, and made changes to reduce it to only the afk kicking, and added a check to only kick when more than a certain number of players are online. To simplify things further this mod checks location rather than actions, a user just has to move, this could be a problem if they are doing a lot of inventory management, but I don't think that somebody will do that much inventory management to get to a point where they get kicked from not moving, unless you set the values really low.

1
mod.conf Normal file
View File

@ -0,0 +1 @@
name = kickafk

View File

@ -1 +1,4 @@
This mod can be configured from the Minetest.conf or the settings tab in Minetest.
Player's locations will only be checked if there are more players on the server that the kick level is set to.
There is a canafk privilege which allows you to be afk and not get kicked.