J3c: a land server stopping tells its players and is started afresh when they rejoin; the extra ports to forward on the Host page, the hosting message, the server log and HOSTING.md

This commit is contained in:
Paul Bailey
2026-11-07 00:08:05 +00:00
parent 86ebe07899
commit f9b138b304
9 changed files with 108 additions and 12 deletions

View File

@@ -426,7 +426,9 @@ func _fill_host() -> void:
_host_seed_label.text = "Seed" if not existing else "Seed (kept)"
_host_seed.text = "" if not existing else str(int(c.data.seed))
_show_host_worldlet(existing, meta_path)
_host_msg.text = "Your hosted island carries on where you left it." if existing else "A new island will be made."
_host_msg.text = ("Your hosted island carries on where you left it." if existing else "A new island will be made.") + \
"\nFriends on your network join at your address. Over the internet, forward %s on your router." % \
Lands.ports_text(picked_worldlet(_host_worldlet), int(c.data.port))
_host_msg.add_theme_color_override("font_color", UITheme.TEXT_DIM)
_host_btn.disabled = false