aboutsummaryrefslogtreecommitdiff
path: root/src/main/alpha.lua
blob: 64c15905e6a9493fca5f07a6963dfd2332c49b3e (plain)
1
2
3
4
5
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)