forked from mff/names_per_ip
minetest.conf setting from Carbone version
This commit is contained in:
parent
38c31f124b
commit
04adaffa64
@ -13,7 +13,7 @@ Depends: nothing
|
|||||||
Chat commands
|
Chat commands
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
/ipnames
|
/ipnames
|
||||||
|
|
||||||
whois <name> -> Gets all accounts of <name>
|
whois <name> -> Gets all accounts of <name>
|
||||||
|
|
||||||
|
2
init.lua
2
init.lua
@ -10,7 +10,7 @@ ipnames.file = minetest.get_worldpath().."/ipnames.data"
|
|||||||
ipnames.whitelist_file = minetest.get_worldpath().."/ipnames_whitelist.data"
|
ipnames.whitelist_file = minetest.get_worldpath().."/ipnames_whitelist.data"
|
||||||
|
|
||||||
-- Limit 2 = maximal 2 accounts, the 3rd under the same IP gets blocked
|
-- Limit 2 = maximal 2 accounts, the 3rd under the same IP gets blocked
|
||||||
ipnames.name_per_ip_limit = 2
|
ipnames.name_per_ip_limit = tonumber(minetest.setting_get("max_names_per_ip")) or 2
|
||||||
|
|
||||||
-- Interval where the IP list gets saved/updated
|
-- Interval where the IP list gets saved/updated
|
||||||
ipnames.save_interval = 240
|
ipnames.save_interval = 240
|
||||||
|
Loading…
Reference in New Issue
Block a user