unified_inventory.register_button("illuna_travelcenter", { type = "image", image = "travelnet_inv.png", tooltip = "Teleport to the Travelcenter", hide_lite = true, action = function(player, param) local player = minetest.get_player_by_name(name) local travelcenterPos = minetest.setting_get("travelcenter_pos") player:setpos(travelcenterPos) --minetest.chat_send_player(name, core.colorize(color_success, "Alrighty, have fun exploring.")) end })