From ab7f02458f5e53d72029c7d5fbf04375e397f94c Mon Sep 17 00:00:00 2001 From: Elias Fleckenstein Date: Wed, 10 Jun 2020 12:44:45 +0200 Subject: [PATCH] Alpha Phase is over --- src/main/alpha.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/alpha.lua b/src/main/alpha.lua index 64c1590..53d3378 100644 --- a/src/main/alpha.lua +++ b/src/main/alpha.lua @@ -1,6 +1,8 @@ +skycraft.alpha = false + minetest.register_on_joinplayer(function(player) local name = player:get_player_name() - if not minetest.check_player_privs(name, {protection_bypass = true}) then + if skycraft.alpha and 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) -- 2.44.0