instance.lua 202 B

123456
  1. --add members to the instance, if they are not already there.
  2. minetest.register_on_joinplayer(function(player)
  3. local p_name = player:get_player_name()
  4. modpol.add_member("instance", p_name)
  5. end)