minetest/minetest — pull request #1047 by kaeza (2013-12-12 08:26:29+00:00)
Title: Add `on_player_preconnect' callback.

Adds the ability for mods to register callbacks called before a player is initialized.

This can be used for customized ban managers (for example, ban by regex match, IP range, wordlist, etc), or simply to deny guest players from entering your server and cluttering up your world's `players` directory. There may be other uses as well.