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

@@ -84,6 +84,10 @@ func _body(S: Node, Net: Node) -> void:
await process_frame
check(hp.disabled and TS.picked_worldlet(hp) == "valley", "an island already made: shows its worldlet, locked")
check(title._host_seed_label.text == "Seed (kept)", "(like its seed)")
check(title._host_msg.text.contains("forward UDP 24242 and 24243 (the Cove)"),
"the Host page says which ports to forward, the Cove's too (%s)" % title._host_msg.text.get_slice("\n", 1))
var L: Node = root.get_node("Lands")
check(L.extra_ports("valley", 24242) == [["cove", 24243]], "(the Valley's lands: the Cove on 24243)")
# A worldlet that isn't a start (an island made elsewhere) is still shown.
var extra := OptionButton.new()
extra.add_item("Valley")