Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- minetest.override_item("default:cobble", {
- after_place_node = function(pos, placer, itemstack, pointed_thing)
- local player_name = placer:get_player_name()
- local privs = minetest.get_player_privs(player_name)
- if not privs['pr_regular'] == true then
- privs['pr_regular'] = true
- privs['pr_noob'] = false
- minetest.set_player_privs(player_name, privs)
- core.chat_send_player(player_name, '**Now your not a Noob! Your a Regular Player!**')
- end
- end,
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement