forked from mff/names_per_ip
minetest.conf setting from Carbone version
This commit is contained in:
parent
38c31f124b
commit
04adaffa64
10
README.md
10
README.md
@ -13,12 +13,12 @@ Depends: nothing
|
||||
Chat commands
|
||||
-------------
|
||||
|
||||
/ipnames
|
||||
/ipnames
|
||||
|
||||
whois <name> -> Gets all accounts of <name>
|
||||
whois <name> -> Gets all accounts of <name>
|
||||
|
||||
list -> Lists all exceptions/whitelist entries (players which can have "unlimited" accounts)
|
||||
list -> Lists all exceptions/whitelist entries (players which can have "unlimited" accounts)
|
||||
|
||||
ignore <name> -> Adds an exception/whitelist entry for <name>
|
||||
ignore <name> -> Adds an exception/whitelist entry for <name>
|
||||
|
||||
unignore <name> -> Removes an exception/whitelist entry for <name>
|
||||
unignore <name> -> Removes an exception/whitelist entry for <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"
|
||||
|
||||
-- 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
|
||||
ipnames.save_interval = 240
|
||||
|
Loading…
Reference in New Issue
Block a user