diff options
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/alpha.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/alpha.lua b/src/main/alpha.lua new file mode 100644 index 0000000..64c1590 --- /dev/null +++ b/src/main/alpha.lua @@ -0,0 +1,6 @@ +minetest.register_on_joinplayer(function(player) + local name = player:get_player_name() + if not minetest.check_player_privs(name, {protection_bypass = true}) then + minetest.kick_player(name, "Thanks for Joining this Server! But you can not play here yet, we are still busy building the server. We would like to see you again as soon as the alpha phase is over!") + end +end) |