minetest.register_on_newplayer(function(player) --print("on_newplayer") if minetest.setting_getbool("give_initial_stuff") then minetest.log("action", "Giving initial stuff to player "..player:get_player_name()) player:get_inventory():add_item('main', 'illuna:noobcoin 42') player:get_inventory():add_item('main', 'magical_potion:fly_small 2') end end)