instance.lua 194 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(1, p_name)
  5. end)