Changed message and comment in settingtypes.txt
parent
aa982e7934
commit
ec46509b7b
2
init.lua
2
init.lua
|
@ -58,7 +58,7 @@ minetest.register_globalstep(function(dtime)
|
|||
|
||||
if players[player_name].last_pos == pos_hash then
|
||||
if not minetest.check_player_privs(player_name,"canafk") == true then
|
||||
minetest.kick_player(player_name, "Network Timeout")
|
||||
minetest.kick_player(player_name, "Disconnected due to inactivity!")
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -3,5 +3,5 @@
|
|||
kickafk_number_of_players (Number of players) int 10
|
||||
|
||||
# How often to check for AFK players.
|
||||
# This is in server ticks, not seconds.
|
||||
# This is in seconds.
|
||||
kickafk_length_of_time (How ofen to run) int 2000
|
||||
|
|
Loading…
Reference in New Issue