Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- minetest.register_on_joinplayer(function(player)
- local pn = player:get_player_name()
- local privs = minetest.get_player_privs(pn)
- if not privs.interact then
- privs.interact = true
- privs.shout = true
- minetest.set_player_privs(pn, privs)
- end
- end)
RAW Paste Data