aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElias Fleckenstein <eliasfleckenstein@web.de>2020-06-10 12:44:45 +0200
committerElias Fleckenstein <eliasfleckenstein@web.de>2020-06-10 12:44:45 +0200
commitab7f02458f5e53d72029c7d5fbf04375e397f94c (patch)
treefbc21abc376466a0848fb30135eece24cefc1c21
parent839638681b1ff356902ae45e5f0bd1b0cac82d7d (diff)
downloadskycraft-ab7f02458f5e53d72029c7d5fbf04375e397f94c.tar.xz
Alpha Phase is over
-rw-r--r--src/main/alpha.lua4
1 files changed, 3 insertions, 1 deletions
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)