[Mod] No More Guests! [no_guests]

User avatar
Festus1965
Member
 
Posts: 875
Joined: Sun Jan 03, 2016 11:58
Location: Thailand - Chiang Mai (+5-6h to MEZ)
In-game: Thomas Explorer

Re: [Mod] No More Guests! [no_guests]

by Festus1965 » Sun Jan 27, 2019 11:07

This mod is still my best Option to get rid of the other clones - i have no (2 eceptions) Gamers with 2 oder 3, even 4 diggits.
And as long some Minetestservers still let them in, as not using this easy starting solution, the other clones will keep famous, as getting advantages (cheating).

Just a fast check on Top servers:
* Blocky Survival: 35 Gamer with 13* mit 2 digit, und 2* glibberish names would not be at my server
* Celines Wildes Land: 23 Gamer, no digit player, no uselessname - and gamers just changed there name as i have seen them before with diggit, get banned for 30 days with text about wrong app
* SkyWars: 26 Gamer, 3 2 diggit, 14 2 diggit, 1 4 diggit ...
* Capture the Flag: 13 Gamer, 1 2 diggit names
* Red Cat Creative: 10 sum, 5 2* diggit, 1 3*diggit ...
* Sonos Survival; 15 with 5* 3diggit, 1* 2diggit
and so on ... just fast 65 gamers with nearly sure wrong app - could get easy off

so as long we give them (cloned wrong) apps a place to game ... they win.
Server: still up, see some gamer - but there is a new 1st important thread "climate change" for me. Something I know since 1992 - had seen the melting glacier in Switzerland.
 

User avatar
Festus1965
Member
 
Posts: 875
Joined: Sun Jan 03, 2016 11:58
Location: Thailand - Chiang Mai (+5-6h to MEZ)
In-game: Thomas Explorer

Re: [Mod] No More Guests! [no_guests]

by Festus1965 » Sun Jan 27, 2019 22:30

here my working solution
Code: Select all
local disallowed = {
["admin"]         =   "a) Admin accounts are disallowed on this server.  "..
                        "Please choose a proper username and try again.",
["guest"]         =   "b) Guest accounts are disallowed on this server.  "..
                        "Please choose a proper username and try again.",
["[4a]dm[1il]n"]      =   "c) That is a clearly false, misleading, or otherwise disallowed username. "..
                        "Please choose a unique username and try again.",
["^[0-9]"]         =   "d) All-numeric usernames are disallowed on this server. "..
                        "Please choose a proper username and try again.",
["^[0-9]+$"]         =   "e) All-numeric usernames are disallowed on this server. "..
                        "Please choose a proper username and try again.",
["[0-9].-[0-9].-[0-9].-[0-9].-[0-9]"]   =   "f) Too many numbers in your username. Please try again with less than five digits in your username.",
["^[A-Za-z]+[0-9][0-9][0-9]+$"]      =   "g) Please choice your own username without 3 numberes. Only Minetest.net App wished here.",
["^[A-Za-z]+[0-9][0-9][0-9]+[A-Za-z]+$"]=   "h) Please choice your own username without 3 numberes. Only Minetest.net App wished here.",
["^[A-Za-z]+[0-9][0-9]+$"]      =   "i) Please choice your own username without 2 numbers. Only Minetest.net App wished here.",
["^[A-Za-z]+[0-9][0-9]+[A-Za-z]+$"]   =   "j) Please choice your own username without 2 numbers. Only Minetest.net App wished here.",
["^[A-Za-z]+[0-9]+$"]         =   "k) Please choice your own username without a number. Only Minetest.net App wished here.",
}


sure can be done better,
also used for remind some users about there nick on my server
Code: Select all
["LVR"]         =   "nur als Mooncarman",
["Mooncarguy"]      =   "nur als Mooncarman",
to use only one nick

or block more kind of same nick start used (here a cheating app user from palestina)
Code: Select all
["AHMA+$"]      =   "just a religious cheater"


and can be used to allow some existing normally blocked gamers to get in
Code: Select all
local allowed = {"2_waldberg", "anju64", "stonemen73", "modron98", "phillipking1"}
what need a change code somewhere - what i didn't get work yet with using allowed
Code: Select all
local lname = name:lower()
   for re, reason in pairs(disallowed) do
      if lname=="2_waldberg" or lname=="anju64" or lname=="stonemen73"  or lname=="modron98"  or lname=="phillipking1" or lname=="felix7" then break end
      if lname:find(re) then
         return reason
      end
   end
Server: still up, see some gamer - but there is a new 1st important thread "climate change" for me. Something I know since 1992 - had seen the melting glacier in Switzerland.
 

lilo
Member
 
Posts: 53
Joined: Sat May 27, 2017 14:45

Re: [Mod] No More Guests! [no_guests]

by lilo » Sat Feb 16, 2019 17:03

Hi,

it is possible to detect double letters at begin or at end of name? For example xxCOOLxx .
My regex a{2,}|b{2,} … will not work.

greets
 

User avatar
kaeza
Moderator
 
Posts: 2162
Joined: Thu Oct 18, 2012 05:00
Location: Montevideo, Uruguay
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

Re: [Mod] No More Guests! [no_guests]

by kaeza » Sat Feb 16, 2019 18:41

You can try "^([a-z])%1" and "([a-z])%1$", or simply "^[xX][xX]+.-[xX][xX]+$" or such.
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal
 

lilo
Member
 
Posts: 53
Joined: Sat May 27, 2017 14:45
 

User avatar
Festus1965
Member
 
Posts: 875
Joined: Sun Jan 03, 2016 11:58
Location: Thailand - Chiang Mai (+5-6h to MEZ)
In-game: Thomas Explorer

Re: [Mod] No More Guests! [no_guests]

by Festus1965 » Sun Feb 17, 2019 00:00

lilo wrote:Thx, this will be work :)greets


please tell what code worked here in code, that others don't have to guess also.
Server: still up, see some gamer - but there is a new 1st important thread "climate change" for me. Something I know since 1992 - had seen the melting glacier in Switzerland.
 

lilo
Member
 
Posts: 53
Joined: Sat May 27, 2017 14:45

Re: [Mod] No More Guests! [no_guests]

by lilo » Sun Feb 17, 2019 15:11

Hi,

i used "^([a-z])%1" and "([a-z])%1$".

greets
 

lilo
Member
 
Posts: 53
Joined: Sat May 27, 2017 14:45

Re: [Mod] No More Guests! [no_guests]

by lilo » Sat Mar 02, 2019 18:50

Hi,

I'm not sure if I misunderstand the feature, but if I block the admin's account name, then I don't get to the server myself. Was that thought or where is the trick?

Greets
 

User avatar
Festus1965
Member
 
Posts: 875
Joined: Sun Jan 03, 2016 11:58
Location: Thailand - Chiang Mai (+5-6h to MEZ)
In-game: Thomas Explorer

Re: [Mod] No More Guests! [no_guests]

by Festus1965 » Mon Mar 04, 2019 10:21

lilo wrote:I'm not sure if I misunderstand the feature, but if I block the admin's account name, then I don't get to the server myself. Was that thought or where is the trick?


then not a trick, more stupid to block own names ...
it should block unwanted names, like massive for Example name123 accounts, which belong to a not minetest app ...

I also have included some exceptions for old gamer, falling in that rules now, but confirmed, so can also use for admin ...
Server: still up, see some gamer - but there is a new 1st important thread "climate change" for me. Something I know since 1992 - had seen the melting glacier in Switzerland.
 

redblade7
Member
 
Posts: 264
Joined: Sun Feb 15, 2015 07:14
IRC: redneonglow redblade7
In-game: redblade7 redblade7_owner

Re: [Mod] No More Guests! [no_guests]

by redblade7 » Sun Sep 22, 2019 05:55

Lately I've been getting a lot of unusually long gibberish names on my v5 servers. For example:

* sisieieisisud
* jsisjsjxudhd
* jkkkijniijuj
* urididititutifdiiri
* bebdjdjejshhsgsgska

Perhaps this mod needs to be updated?
-redblade7, admin of: THE CREATIVE GARDENS (creative), THE VALLEYS (sandbox), and THE DIGITAL FARMS (farming/hunger/shops)
 

Previous

Return to Mod Releases



Who is online

Users browsing this forum: No registered users and 7 guests