--add members to the instance, if they are not already there.

minetest.register_on_joinplayer(function(player)
    local p_name = player:get_player_name()
    modpol.add_member(1, p_name)
end)