mirror of
https://github.com/ShadowNinja/name_restrictions.git
synced 2024-11-16 07:10:37 +01:00
Block default names from SqueakeCraft
This commit is contained in:
parent
98af163818
commit
7004761af6
12
init.lua
12
init.lua
|
@ -21,11 +21,15 @@ exemptions["singleplayer"] = true
|
|||
-- Simple matching --
|
||||
---------------------
|
||||
|
||||
local msg_guest = "Guest accounts are disallowed on this server. "..
|
||||
"Please choose a proper name and try again."
|
||||
local msg_misleading = "Your player name is misleading. "..
|
||||
"Please choose a more appropriate name."
|
||||
local disallowed = {
|
||||
["^guest[0-9]+"] = "Guest accounts are disallowed on this server. "..
|
||||
"Please choose a proper username and try again.",
|
||||
["adm[1il]n"] = "Misleading nickname.",
|
||||
["[0o]wn[e3]r"] = "Misleading nickname.",
|
||||
["^guest[0-9]+"] = msg_guest,
|
||||
["^squeakecrafter[0-9]+"] = msg_guest,
|
||||
["adm[1il]n"] = msg_misleading,
|
||||
["[0o]wn[e3]r"] = msg_misleading,
|
||||
["^[0-9]+$"] = "All-numeric usernames are disallowed on this server.",
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user