Page 1 of 1

[mod] Prevent new accounts from joining [nonew]

Posted: Wed Feb 28, 2018 17:22
by taikedz
NoNew - a mod to prevent new players from joining a server

Sometimes you need to lock down a server to existing members, tempoarily or permanently - the reasons are yours, and you know best.

NoNew allows just that. Activate the mod in your world.mt and start the server, it is active. From thereon out, when a new player attempts to connect, they are prevented from joining.

Once active you can also mark some previously joined users as "new" - they will be denied access as being "new" players when they try to join. Once you lift the NoNew restriction, they will be allowed to join again.

Code: Select all

/nn_block newGuy newGal someoneElse

-- or individually unblock players :

/nn_unblock newGal
Therefore, this is not a ban manager.

In-game, you can turn off NoNew with

Code: Select all

/nn_state off
to allow all players to join once again (players banned using a ban manager are not affected, and remain banned).

License: GNU Lesser General Public License version 3.0
Dependencies: none

Github: https://github.com/taikedz-mt/nonew
Download: https://github.com/taikedz-mt/nonew/archive/master.zip

Re: [mod] Prevent new accounts from joining [nonew]

Posted: Wed Feb 28, 2018 18:16
by sofar
Seems simple and universally usable enough. Have you considered putting this mod in `minetest-mods`? This seems like the typically basic utility mod that lots of people may want to use, and help maintain.

BTW, please add your license (GPL-3.0) and dependencies (none) to the topic so this can be moved to mod releases.

Re: [mod] Prevent new accounts from joining [nonew]

Posted: Thu Mar 01, 2018 11:02
by taikedz
Thanks sofar

Adjusted ; also updated the license to LGPLv3 as of tag 1.0

Re: [mod] Prevent new accounts from joining [nonew]

Posted: Sat Mar 03, 2018 20:17
by AlexYst
Nice mod! I hadn't considered doing this with a mod; I'd thought of setting a default password that no one knows, but that's hacky. Your mod does this in a much cleaner way.

Re: [mod] Prevent new accounts from joining [nonew]

Posted: Tue Mar 06, 2018 22:19
by shivajiva

Re: [mod] Prevent new accounts from joining [nonew]

Posted: Tue Mar 06, 2018 22:31
by sofar
Does this support DACA? What about illegals who are already in the border?

Re: [mod] Prevent new accounts from joining [nonew]

Posted: Wed Mar 07, 2018 09:30
by shivajiva
I can assure everyone I haven't made anybody pay for the border or raised it through taxes, it's formed from virtual sweat and bag loads of hot air, released and collected from a single individual, in line with Obama's policies it supports DACA but that is deferred to the individual server owners stance.

Illegal immigrants may have infiltrated the homeland so speak to your local Walmart store manager about it and make sure to have a tyrannical grip of virtual reality. Tweeting churlish thoughts to the horde is highly recommended to retain an overbearing presence as is revocation of security clearance if you don't like the cut of their jib.

Re: [mod] Prevent new accounts from joining [nonew]

Posted: Thu Mar 29, 2018 21:56
by Laser0073
Wow this is a great mod. Exactly what I wanted :D

Re: [mod] Prevent new accounts from joining [nonew]

Posted: Sun Feb 24, 2019 22:17
by sorcerykid
Cool mod :) Just wanted to mention that locking out new accounts is also possible with auth_rx: when $is_new eq $true fail

Here's some rulesets based on date, time, or day of the week.