Go to file
Tai Kedzierski 0814c16ec2 Changed license
Previously licensed under GPLv3 in error

This mod was meant to be licensed as LGPLv3
2018-03-01 10:58:15 +00:00
LICENSE Changed license 2018-03-01 10:58:15 +00:00
README.md add unblocking all 2018-02-22 22:26:52 +00:00
commands.lua add unblocking all 2018-02-22 22:26:52 +00:00
init.lua add unblocking all 2018-02-22 22:26:52 +00:00
mod.conf initial 2017-06-26 17:23:42 +01:00

README.md

NoNew for Minetest

A mod to prevent connection of newly created accounts.

What is this?

Special conditions require special measures. You may have a need to prevent any new players from connecting to your server temporarily or permanently. That's your call to make.

Typically though, you might find this useful when your server is under stress from a load of spammy accounts being regularly created.

In this case, activate NoNew to ensure that only previously seen players can join.

What this is not!

This is not meant to be a ban manager, although technically you could use it as such.

You should have a separate ban system in place, or just the default ban system, along side this mod -- the reason being that if you are ready to lift the new-accounts restriction, your existing true banishments should remain in place.

Settings

  • nonew.state = on/off

Whether to kick newly created players

Commands

Comands require the nonew privilege.

  • nn_state [ on | off]

Without arguments, displays the general state of NoNew ; else sets its state

  • nn_block <player>

Adds a player to the block list and kick them if nonew.state is on

  • nn_unblock <player>

Removes a player form the block list ; only effective if the player had already previously joined.

  • nn_unblockall

Unblock all players - do this after you have banned the accounts you needed to.