Add ChatFilter2, OverheadChat, EventGreeting and update several plugins
New plugins: ChatFilter2, OverheadChat, EventGreeting. Updated: HostnameManager, Leader3 (chat and markers), NameFilter2 (plugin and config), PlayerRankings_nohlstats (rank display modes), custom-chatcolors (plugin and ccc.inc), Extend (sm_settimeleft). Add shared includes the plugins build against: Break, ChatFilter2, Couch, EventNotifier, TransmitManager, leader, ripext, unloze_playtime.
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
// at least this many letters/digits is kept as-is, unicode decoration
|
||||
// and all, unless an advert or banned filter matches. An admin can
|
||||
// target such a name by its typeable part. 0 disables the exemption
|
||||
"keep_typeable_run" "5"
|
||||
"keep_typeable_run" "4"
|
||||
|
||||
// non-ASCII characters that are always kept.
|
||||
// accented Latin letters (À-ÿ, Latin Extended-A) are also kept, but only
|
||||
@@ -55,6 +55,8 @@
|
||||
"У" "Y"
|
||||
"З" "3"
|
||||
// Cyrillic mirrored/aesthetic lookalikes
|
||||
"Ш" "W"
|
||||
"ш" "w"
|
||||
"Я" "R"
|
||||
"я" "r"
|
||||
"И" "N"
|
||||
@@ -64,6 +66,18 @@
|
||||
"м" "m"
|
||||
"н" "h"
|
||||
"т" "t"
|
||||
"є" "e"
|
||||
"Є" "E"
|
||||
"ц" "u"
|
||||
"п" "n"
|
||||
"г" "r"
|
||||
"Г" "r"
|
||||
"ґ" "r"
|
||||
"Ґ" "r"
|
||||
"ь" "b"
|
||||
"Ь" "b"
|
||||
"ч" "4"
|
||||
"Ч" "4"
|
||||
// Cyrillic with diacritics, same lookalikes as their base letters
|
||||
"Ѐ" "E"
|
||||
"Ё" "E"
|
||||
@@ -110,6 +124,8 @@
|
||||
"ό" "o"
|
||||
"ώ" "w"
|
||||
// Greek aesthetic lookalikes
|
||||
"Ξ" "E"
|
||||
"ξ" "e"
|
||||
"Λ" "A"
|
||||
"Σ" "E"
|
||||
"Δ" "A"
|
||||
@@ -119,11 +135,110 @@
|
||||
"μ" "u"
|
||||
"ω" "w"
|
||||
"η" "n"
|
||||
"ι" "i"
|
||||
"ρ" "p"
|
||||
"κ" "k"
|
||||
"τ" "t"
|
||||
"υ" "u"
|
||||
"ε" "e"
|
||||
"ς" "c"
|
||||
"χ" "x"
|
||||
"γ" "y"
|
||||
"π" "n"
|
||||
"σ" "o"
|
||||
// math symbols used as letters
|
||||
"∂" "d"
|
||||
"∑" "E"
|
||||
}
|
||||
|
||||
// Cyrillic spelled out phonetically (simplified BGN/PCGN), for words that
|
||||
// are really Cyrillic. Runs before "confusables"; a Latin word with only
|
||||
// lookalike Cyrillic mixed in ("аdmin"), or a word mixing in Greek or styled
|
||||
// letters ("ιηƒιηιтє"), is left to the confusables instead, and only its
|
||||
// Cyrillic letters without a confusable are spelled out.
|
||||
// key = the Cyrillic letter (raw UTF-8), value = Latin spelling
|
||||
"transliterate"
|
||||
{
|
||||
// Russian
|
||||
"а" "a"
|
||||
"б" "b"
|
||||
"в" "v"
|
||||
"г" "g"
|
||||
"д" "d"
|
||||
"е" "e"
|
||||
"ё" "e"
|
||||
"ж" "zh"
|
||||
"з" "z"
|
||||
"и" "i"
|
||||
"й" "y"
|
||||
"к" "k"
|
||||
"л" "l"
|
||||
"м" "m"
|
||||
"н" "n"
|
||||
"о" "o"
|
||||
"п" "p"
|
||||
"р" "r"
|
||||
"с" "s"
|
||||
"т" "t"
|
||||
"у" "u"
|
||||
"ф" "f"
|
||||
"х" "kh"
|
||||
"ц" "ts"
|
||||
"ч" "ch"
|
||||
"ш" "sh"
|
||||
"щ" "shch"
|
||||
"ъ" ""
|
||||
"ы" "y"
|
||||
"ь" ""
|
||||
"э" "e"
|
||||
"ю" "yu"
|
||||
"я" "ya"
|
||||
"А" "A"
|
||||
"Б" "B"
|
||||
"В" "V"
|
||||
"Г" "G"
|
||||
"Д" "D"
|
||||
"Е" "E"
|
||||
"Ё" "E"
|
||||
"Ж" "Zh"
|
||||
"З" "Z"
|
||||
"И" "I"
|
||||
"Й" "Y"
|
||||
"К" "K"
|
||||
"Л" "L"
|
||||
"М" "M"
|
||||
"Н" "N"
|
||||
"О" "O"
|
||||
"П" "P"
|
||||
"Р" "R"
|
||||
"С" "S"
|
||||
"Т" "T"
|
||||
"У" "U"
|
||||
"Ф" "F"
|
||||
"Х" "Kh"
|
||||
"Ц" "Ts"
|
||||
"Ч" "Ch"
|
||||
"Ш" "Sh"
|
||||
"Щ" "Shch"
|
||||
"Ъ" ""
|
||||
"Ы" "Y"
|
||||
"Ь" ""
|
||||
"Э" "E"
|
||||
"Ю" "Yu"
|
||||
"Я" "Ya"
|
||||
// Ukrainian/Belarusian
|
||||
"і" "i"
|
||||
"ї" "yi"
|
||||
"є" "ye"
|
||||
"ґ" "g"
|
||||
"ў" "u"
|
||||
"І" "I"
|
||||
"Ї" "Yi"
|
||||
"Є" "Ye"
|
||||
"Ґ" "G"
|
||||
"Ў" "U"
|
||||
}
|
||||
|
||||
// regexes (case-insensitive) whose matches are REMOVED from the name;
|
||||
// the rest of the name is kept. Applied to the pure-ASCII folded name.
|
||||
"adverts"
|
||||
@@ -144,7 +259,9 @@
|
||||
"6" "@((!?)me|(c?)t(s?)|(!?)admins|(!?)friends|random((c?)t?)|humans|spec|alive|dead|aim|bots)"
|
||||
}
|
||||
|
||||
// replacement names; picked deterministically (client % count, next-free probe)
|
||||
// replacement names; picked by Steam account (account id % count, next-free
|
||||
// probe), so a player keeps the same one across visits. Reordering or
|
||||
// adding names reshuffles who gets which
|
||||
"names"
|
||||
{
|
||||
"1" "Reimu Hakurei"
|
||||
|
||||
Reference in New Issue
Block a user