[Mod] No More Guests! [no_guests]

User avatar
Festus1965
Member
Posts: 4181
Joined: Sun Jan 03, 2016 11:58
GitHub: Festus1965
In-game: Festus1965 Thomas Thailand Explorer
Location: Thailand ChiangMai
Contact:

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

by Festus1965 » Post

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.
Human has no future (climate change)
If urgend, you find me in Roblox (as CNXThomas)

User avatar
Festus1965
Member
Posts: 4181
Joined: Sun Jan 03, 2016 11:58
GitHub: Festus1965
In-game: Festus1965 Thomas Thailand Explorer
Location: Thailand ChiangMai
Contact:

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

by Festus1965 » Post

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
Human has no future (climate change)
If urgend, you find me in Roblox (as CNXThomas)

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

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

by lilo » Post

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
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza
Location: Montevideo, Uruguay
Contact:

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

by kaeza » Post

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: 54
Joined: Sat May 27, 2017 14:45

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

by lilo » Post

Thx, this will be work :)

greets

User avatar
Festus1965
Member
Posts: 4181
Joined: Sun Jan 03, 2016 11:58
GitHub: Festus1965
In-game: Festus1965 Thomas Thailand Explorer
Location: Thailand ChiangMai
Contact:

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

by Festus1965 » Post

lilo wrote:Thx, this will be work :)greets
please tell what code worked here in code, that others don't have to guess also.
Human has no future (climate change)
If urgend, you find me in Roblox (as CNXThomas)

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

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

by lilo » Post

Hi,

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

greets

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

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

by lilo » Post

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: 4181
Joined: Sun Jan 03, 2016 11:58
GitHub: Festus1965
In-game: Festus1965 Thomas Thailand Explorer
Location: Thailand ChiangMai
Contact:

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

by Festus1965 » Post

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 ...
Human has no future (climate change)
If urgend, you find me in Roblox (as CNXThomas)

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

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

by redblade7 » Post

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)

Bastrabun
Member
Posts: 211
Joined: Mon Nov 04, 2019 19:48

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

by Bastrabun » Post

Since this mod has neither a repository nor a bug tracker, I'll put it here. Maybe we should rephrase this sentence:

"Please choice your own username. Usernames with letters then 3 or more digits are not allowed"

Maybe it wants to say

"Please choose your own username. Usernames with letters followed by 3 or more digits are not allowed"
Whatever I say is CC0

User avatar
Festus1965
Member
Posts: 4181
Joined: Sun Jan 03, 2016 11:58
GitHub: Festus1965
In-game: Festus1965 Thomas Thailand Explorer
Location: Thailand ChiangMai
Contact:

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

by Festus1965 » Post

as I mentioned on 18.02. on my GE Server Thread,
redblade7 wrote: * sisieieisisud
* jsisjsjxudhd
* jkkkijniijuj
* urididititutifdiiri
* bebdjdjejshhsgsgska
same at Pandorabox.io, but not at me (Asia Thailand) using this (modified) mod, but I don't know which lane is helping at me.
Even - when admin or me is not at or in the game, we normal use mod border "down" (refusing new gamer) as that also is helpful in many way (no useless logins, no danger, ...)
Human has no future (climate change)
If urgend, you find me in Roblox (as CNXThomas)

User avatar
Festus1965
Member
Posts: 4181
Joined: Sun Jan 03, 2016 11:58
GitHub: Festus1965
In-game: Festus1965 Thomas Thailand Explorer
Location: Thailand ChiangMai
Contact:

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

by Festus1965 » Post

* sisieieisisud
* jsisjsjxudhd
* jkkkijniijuj
* urididititutifdiiri
* bebdjdjejshhsgsgska
I guess I found reasons why this "new" gibberish names are coming up:
* the old version with name123 numbers doesn't work anymore as of
** successful blocked at most servers
** names are used and cant login anymore, as others used it with (unknown password) password
= mean new update of an fork-app
or
* someone is spying (coping) our worlds to use them, and using this bot gamer ...
Human has no future (climate change)
If urgend, you find me in Roblox (as CNXThomas)

Post Reply

Who is online

Users browsing this forum: No registered users and 19 guests