Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
TortalPortal
Total Portal Control System for Valheim. Pick destinations from a map UI listing biome, distance, and owner. Features destination photos, PIN locks, tame teleportation, travel filters, and a procedural runic gateway.
| Date uploaded | 2 days ago |
| Version | 1.6.4 |
| Download link | Wubarrk-TortalPortal-1.6.4.zip |
| Downloads | 67 |
| Dependency string | Wubarrk-TortalPortal-1.6.4 |
This mod requires the following mods to function
denikson-BepInExPack_Valheim
BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.
Preferred version: 5.4.2360README
๐ TortalPortal
| ๐บ๏ธ Every gate | ๐ธ Photos | ๐ Corpse run | ๐ก๏ธ Unbreakable |
|---|---|---|---|
| listed, on the map | of where each gate leads | a gate back to your grave | trolls can't knock it down |
"The old way was to carve a name into the stone and hope another bore the same. A tally of runes, scratched and rescratched, and still you stepped through blind. Better to know the road before you walk it, Viking."
Walk up to any portal and choose where it goes.
Vanilla's tag pairing is gone. A framed window lists every portal in the world, with the great map open beside it marking your destination. Each gate keeps a photograph of where it comes out, under that place's own sky, so you see the country before you step into it.
Die, and a private gate to your grave waits by your bed. Lock your gates with a PIN, give each one its own map icon, bring your wolves and your lox through with you, and let the server seed the wilds with gates nobody has found yet.
Portals from other mods keep working their own way. List them, and TortalPortal leaves them alone.
| You | It |
|---|---|
| run a mod with its own portals (one-way gates, dungeon or instance portals, gates with their own menu) | put their prefab names in SkipPortalPrefabs, comma-separated |
| have a whole family of them | * matches anything: MWL_* covers every one of them; names are not case-sensitive |
| walk up to a listed gate | it behaves exactly as it would without TortalPortal: no window, vanilla tags, its own look |
| look at your destination list | listed gates never appear there, on the map, in the export or against anyone's portal cap |
๐น Also: the package now ships TortalPortal.pdb, so an error in your log names the file and line.
| Ifโฆ | Thenโฆ | |
|---|---|---|
| ๐ค | you play on a server | install it on the server and every player. The server builds the portal list and holds the rules; keep players on the server's version. |
| ๐ | you replace vanilla portals | tags stop mattering. Every portal can reach every other one through the window. |
| ๐ | another mod adds its own portals | add their prefab names to SkipPortalPrefabs so they keep working their own way. |
| ๐บ๏ธ | your world is already running | nothing to do. The server finds every gate already standing, and the camera photographs them on its own. |
Step into a portal and the destination window opens: every gate in the world, with the great map beside it.
| You | It |
|---|---|
| ๐บ๏ธ step into range | the window opens with every portal: name, lock, biome, distance and who built it |
| ๐ type a name | the list narrows as you type |
| ๐ look at the map | every gate is marked; your chosen one is drawn larger and in red |
| ๐ฑ๏ธ click a marker | selects that gate; click it again to travel |
| ๐ star a gate | favorites sort to the top, and the window opens as a one-click strip of them |
| ๐ฏ give a gate an icon | each portal picks its own map mark from a grid: eight ship in the box, and you can add your own |
๐ Read the saga โ where the list comes from, and why it is always complete
The server builds the list. It is the only machine that holds the whole world, so it scans every gate and hands the list to each player at login. Install TortalPortal on a world that has run for months and every portal already standing is in the list from the first gate you touch.
The map marks are temporary. They show while the window is open and vanish when it closes. Your own pins stay your own.
Arriving never ambushes you. The window stays shut when you land. Step off and walk back to bring it up.
Your own icons travel. Drop PNGs into the TortalPortalPins folder on the server, run tortal_pinreload, and every player downloads the ones they lack, once, cached by content. Nothing to install, no modpack to rebuild.
Every portal photographs its own destination, and every player sees the picture.
| You | It |
|---|---|
| ๐๏ธ raise a portal | it photographs the view out of it, wide-angle, and stores it on the gate |
| ๐ผ๏ธ click a thumbnail | the photograph opens full screen, captioned with biome and coordinates |
| โฌ ๏ธโก๏ธ press the arrows | flip through every gate's picture like an album |
| ๐ฉ๏ธ look at a far gate | it shows that place's own sky and weather, not yours: ash falls in the Ashlands |
๐ฎ switch on EnableLivePreviews |
(experimental, off by default) the photograph becomes a live view you can look around in |
๐ Read the saga โ how a gate nobody has visited gets photographed
No portal waits for a visitor. Valheim only builds the world around players, so a gate nobody stood near could never be photographed. TortalPortal's camera anchors one unphotographed gate at a time, streams a small patch of world in around it, waits for the ground to finish, takes the shot and lets it all unload. It works on dedicated servers too, so an established server fills its whole album by itself.
The pictures stay current. A background pass re-shoots gates on a timer, so a base that was built up or burnt down stops showing the old view.
The live view is honest about its cost. It is not a video: your game builds the destination and holds it while you watch. It is the most expensive thing the mod does, which is why it ships switched off. The stored photograph is the finished feature.
Your gates are yours to name and lock, and nothing can knock them down.
| You | It |
|---|---|
| ๐ press E on a gate you built | name it, pick its icon and set a PIN, all in one window |
| ๐ travel to a locked gate | a small PIN window opens with the keyboard already in the field |
| ๐ง watch a troll swing at it | SelfHealingPortals: monsters stop targeting portals, hits are refused, damage heals |
| ๐จ take it down with the hammer | still works: a portal is always its builder's to remove |
| ๐ are an admin | AdminBypass lets you pass PIN locks, item filters and the portal cap |
Your tames step through with you, and you never leave the saddle.
| You | It |
|---|---|
| ๐บ travel with tames following | every tame set to follow you within TameFollowRadius comes along |
| ๐ travel while riding | the mount goes through beside you and you are seated again on arrival |
| ๐ถ bring a ship or a cart | they stay behind: only tamed creatures travel |
Built on the game's own mount interface, so custom saddles and modded mounts ride through like a lox.
Die, and a private gate to your grave waits where you wake up.
| You | It |
|---|---|
| ๐ die | the server raises a gate beside your bed (or the start temple) leading straight to your tombstone |
| ๐ถ walk up to it | you are sent through; nobody else can use it or open a window on it |
| โฐ๏ธ empty your grave | both ends close; it is one way by design, so there is no free trip home |
| ๐ died at sea or in a dungeon | the grave gate floats on the water, or opens at the dungeon's entrance |
๐ Read the saga โ how both ends find room to stand
Placed with real clearance. The server scans outward from the tombstone and the bed for a spot with room around it, measured edge to edge from every tree, rock, building piece and generated location. The room it asks for is a preference, tried in shrinking steps down to a hard floor, so a gate in a forest still lands close.
On the real ground. The height comes from the game's own terrain recipe, terraforming included, so a gate by a bed on a levelled base stands on the floor.
Never in the way. Corpse gates are never in the list, on the map or against anyone's cap. They cannot be hammered down for their materials, they always shrug off damage, and they refuse any removal the mod did not ask for. A stray from a past run is reaped at startup.
Gates seeded in the wilds that nobody has been told about.
| You | It |
|---|---|
| ๐ฑ are an admin | tortal_scatterconcealed raises real gates across the world, on dry level ground |
| ๐ฏ๏ธ walk past one | it glows and says touch the runes, and opens no window |
| โ press E on the stones | the server checks you are really there, then hands the gate to you: it joins your list as [FOUND] |
| ๐ค travel as a group | ConcealedDiscoveryShared makes the first finder reveal a gate for everyone |
๐ Read the saga โ why a concealed gate is really hidden
Withheld, not just undrawn. A concealed gate is kept out of the portal list the server sends, so no client is ever told its position, its name or that it exists. Only the player who finds it is sent that one gate.
Recorded on the gate itself. Who found it is written into the world save, so it survives reinstalls and new machines, and no client can award itself a find.
Dormant until seeded. EnableConcealedPortals is on by default and does nothing until an admin seeds a world.
Vanilla's portal effects are gone. In their place stands a gateway of living runes.
| You | It |
|---|---|
| ๐ walk towards a gate | it wakes and builds as you come closer: glyphs swirl in the arch, rune circles turn, embers rise |
| ๐ถ walk away | it fades behind you; the runes already in the air drift off on their own |
| ๐จ change the colour | VFXColour repaints the gateway, live; VFXTintPortalFrame tints the gate's own glow to match |
| ๐ turn the dials | VFXIntensity is how much gateway there is, VFXBrightness how hard it burns |
๐ Read the saga โ a frame worth looking at
Every gate's arch is measured, so wood, stone, black marble and modded portals all centre the gateway correctly.
Nothing is a shipped image. The window frames, gilt rails, scrollwork and crests are all drawn in code at runtime. The interface carries no textures, shaders or asset bundles and can never show a missing-texture square. UIGoldColour reskins the metal (silver, bronze, verdigris) live, and UITextScale and UIFontSizeDelta grow the text and everything around it.
The server holds the rules, and it checks its own portal network.
| The law | What it means |
|---|---|
| ๐ Locked from the start | LockConfiguration: the server's settings are the ones that count; players cannot push their own |
| ๐ง What may travel | FilterMode with WhitelistItems and BlacklistItems, beyond vanilla's flat metal ban |
| ๐๏ธ How many gates | MaxPortalsPerPlayer caps each player, counted across the whole world |
| ๐ Whose gates | SkipPortalPrefabs hands other mods' portals back to them |
| ๐ฉบ A health check | the server scans every gate for trouble: buried gates, oversized photographs, strays, players over the cap |
| โฉ๏ธ Undoable repairs | repairs are a dry run until you say apply, and a snapshot is taken first so you can restore it all |
What the main dials are set to out of the box. ๐ is set by the server, ๐ฅ๏ธ is your own.
| Dial | Default | Range | Side |
|---|---|---|---|
MenuOpenDistance |
1.25 | 0.1 โ 5 | ๐ |
MaxPortalsPerPlayer |
no cap | โ | ๐ |
PortalIndexRefreshSeconds |
10 | 5 โ 300 | ๐ |
SnapshotRefreshIntervalMinutes |
5 | โ | ๐ |
TameFollowRadius |
10 | 2 โ 30 | ๐ |
CorpseRunClearanceMeters |
10 | 1 โ 30 | ๐ |
CorpseRunSearchRadiusMeters |
40 | 5 โ 150 | ๐ |
VFXWakeDistance |
25 | 2 โ 50 | ๐ฅ๏ธ |
๐ The whole ledger โ all 28 numeric dials, by section
| Dial | Default | Range | Side |
|---|---|---|---|
MaxPortalsPerPlayer |
no cap | โ | ๐ |
PortalExportIntervalSeconds |
60 | 15 โ 900 | ๐ฅ๏ธ |
AnchorSettleBudgetSeconds |
40 | 10 โ 120 | ๐ |
AnchorSettleRadius |
100 | 30 โ 300 | ๐ |
AnchorZoneRing |
2 | 1 โ 2 | ๐ |
MenuCloseMargin |
1 | 0 โ 5 | ๐ฅ๏ธ |
MenuOpenDistance |
1.25 | 0.1 โ 5 | ๐ |
MenuVerticalDistance |
2 | 0.25 โ 10 | ๐ |
PortalIndexRefreshSeconds |
10 | 5 โ 300 | ๐ |
SnapshotRefreshIntervalMinutes |
5 | โ | ๐ |
TameFollowRadius |
10 | 2 โ 30 | ๐ |
UIFontSizeDelta |
6 | -6 โ 24 | ๐ฅ๏ธ |
UITextScale |
1.05 | 0.6 โ 3 | ๐ฅ๏ธ |
VFXBrightness |
0.35 | 0.1 โ 3 | ๐ฅ๏ธ |
VFXIntensity |
0.64 | 0.1 โ 3 | ๐ฅ๏ธ |
VFXOrbHeightOffset |
0 | โ | ๐ฅ๏ธ |
VFXSwirlDensity |
3 | 0.25 โ 3 | ๐ฅ๏ธ |
VFXWakeDistance |
25 | 2 โ 50 | ๐ฅ๏ธ |
CorpseRunBedOffsetMeters |
3 | 1 โ 20 | ๐ |
CorpseRunClearanceMeters |
10 | 1 โ 30 | ๐ |
CorpseRunGateTtlMinutes |
no limit | 0 โ 1440 | ๐ |
CorpseRunGraveOffsetMeters |
2 | 1 โ 20 | ๐ |
CorpseRunMaxGraveAgeMinutes |
30 | 0 โ 1440 | ๐ |
CorpseRunMinRoomMeters |
2 | 0.5 โ 10 | ๐ |
CorpseRunSearchRadiusMeters |
40 | 5 โ 150 | ๐ |
HealthScanIntervalSeconds |
120 | 10 โ 3600 | ๐ฅ๏ธ |
RepairMaxActionsPerRun |
20 | 1 โ 500 | ๐ฅ๏ธ |
SnapshotRetain |
30 | 1 โ 1000 | ๐ฅ๏ธ |
First ten minutes: install on the server and every player โ build a portal and walk into it โ pick a destination off the list or the map โ press E on your gate to name it, lock it and give it an icon โ star the gates you use most.
๐ ๏ธ Leave another mod's portals alone
Find the portal's prefab name (the other mod's page, its config, or the hammer's piece list with a prefab-name mod). On the server, set SkipPortalPrefabs to it, for example portal_stone, MWL_*. It is synced, so every player follows the server. Listed gates go back to vanilla behaviour at once; the destination list catches up at the next refresh. Gates TortalPortal raises itself (corpse and concealed gates) are never skipped.
๐ ๏ธ Give your portals their own map icons
Open a gate's configuration window (E at the gate, or Configure in the destination window) and pick from the Map icon grid. To add your own, drop square PNGs (48ร48 is ideal) into the TortalPortalPins folder beside TortalPortal.dll; the file name is the icon's name, so name them once and leave them. To set your own default marker for gates without one, set PortalPinIcon to Custom and pick it in DefaultPinIcon.
๐ ๏ธ Share icons from your server
Put the PNGs in the TortalPortalPins folder beside the server's TortalPortal.dll and run tortal_pinreload. Every player downloads only what they are missing, once per machine. Icons that ship with the mod are never sent. ShareIconsFromServer turns it off.
๐ ๏ธ Seed a world with portals
| Command | Does |
|---|---|
tortal_scatter [count] [radius] |
raises ordinary gates across the world, named for their biome (cheat command: needs devcommands) |
tortal_scatterclear |
removes only what tortal_scatter raised; hand-built portals are never touched |
tortal_scatterconcealed [count] [radius] |
seeds concealed gates, spaced apart on dry level ground |
tortal_concealedclear |
removes every concealed gate, found or not |
tortal_concealed |
how many stand, how many are found, and by whom |
Scatter a network on day one and the camera photographs every gate by itself before anyone visits.
๐ ๏ธ Check and repair the portal network
Typed at the server console they run there; typed in a client console they go to the server and are admin-gated against its admin list.
| Command | Does |
|---|---|
tortal_health |
scans every gate now and lists what it found, worst first |
tortal_repair |
a dry run: lists what a repair would do and touches nothing |
tortal_repair --apply |
does it, after saving a snapshot that undoes it |
tortal_snapshot [name] |
saves every gate's name, PIN, icon, builder and position |
tortal_snapshots |
lists the snapshots, newest first |
tortal_restore <name> [--recreate] |
puts every gate back the way the snapshot has it |
| ๐ Works with vanilla players | ๐ฐ Needs it on the server | ๐ค Needs it on both ends |
|---|---|---|
| players without it can join, but TortalPortal gates carry no tags, so they cannot travel by them | the portal list, the photographs nobody visited, the corpse run, concealed gates, health checks | the window, the map, favorites, locks, the gateway, tames and mounts |
Versions: a player whose TortalPortal is older than the server accepts is turned away, with a message naming both versions.
| Mod | How they get on |
|---|---|
| โ ๏ธ Mods that add their own portals | TortalPortal takes over every portal by default: list theirs in SkipPortalPrefabs to give them back |
| โ ๏ธ Other portal overhauls | do not run two: they fight over the same gate |
| Modded portal pieces | work: the gateway measures each arch, and the list includes every portal the game knows |
| Mounts and saddles (OdinMounts and friends) | ride through with you |
| Fatty | shares this window theme: match UIFontSizeDelta and the two read the same |
| Configuration Manager | every setting shows; synced settings lock for anyone who is not an admin |
65 settings: 38 ๐ server-synced, 27 ๐ฅ๏ธ local, in wubarrk.TortalPortal.cfg. Your settings are carried across updates when the file changes shape, with a backup beside it.
๐ Server-synced โ set on the server, locked to admins
| Section | Settings |
|---|---|
| 1 General | LockConfiguration ยท FilterMode ยท WhitelistItems ยท BlacklistItems ยท SkipPortalPrefabs |
| 2 Limits | MaxPortalsPerPlayer ยท AdminBypass ยท EnablePortalExport |
| 3 Features: travel | AllowTames ยท TameFollowRadius ยท AllowMountedTeleport ยท MenuOpenDistance ยท MenuVerticalDistance ยท PortalIndexRefreshSeconds |
| 3 Features: pictures | EnablePortalCameraShot ยท SnapshotRefreshIntervalMinutes ยท EnableRemoteSnapshots ยท EnableLivePreviews ยท CameraResolution ยท AnchoredEnvironment ยท AnchoredSpawning ยท AnchorZoneRing ยท AnchorSettleBudgetSeconds ยท AnchorSettleRadius |
| 3 Features: world | EnableCustomVFX ยท RepairSunkenTraders ยท ShareIconsFromServer ยท SelfHealingPortals |
| 6 Corpse Run | EnableCorpseRun ยท CorpseRunGateTtlMinutes ยท CorpseRunMaxGraveAgeMinutes ยท CorpseRunClearanceMeters ยท CorpseRunMinRoomMeters ยท CorpseRunSearchRadiusMeters ยท CorpseRunGraveOffsetMeters ยท CorpseRunBedOffsetMeters |
| 8 Concealed Gates | EnableConcealedPortals ยท ConcealedDiscoveryShared |
๐ฅ๏ธ Local โ your own, never synced
| Section | Settings |
|---|---|
| 2 Limits (server's own file) | PortalExportIntervalSeconds |
| 3 Features: window | MenuCloseMargin ยท MenuRequireVerticalLineOfSight ยท ShowDestinationPreviews ยท OpenFavoritesView ยท FocusSearchOnOpen ยท UITextScale ยท UIFontSizeDelta |
| 3 Features: map | ShowPortalPinsOnMap ยท PortalPinIcon ยท DefaultPinIcon |
| 3 Features: gateway | VFXOrbHeightOffset ยท VFXWakeDistance ยท VFXIntensity ยท VFXBrightness ยท VFXSwirlDensity ยท VFXTintPortalFrame |
| 5 Colours | VFXColour ยท PinColour ยท UIGoldColour |
| 7 Portal Health (server's own file) | HealthScanIntervalSeconds ยท AutoRepair ยท RepairDryRunDefault ยท RepairMaxActionsPerRun ยท SnapshotRetain ยท SnapshotOnWorldSave |
| 4 Debug | EnableDebugLogging |
Needs: BepInExPack for Valheim ยท Carries: ServerSync by blaxxun ยท More from Wubarrk: Mists of Avalor on Hexium ยท Made by Wubarrk. ยท License: MIT
แ The runes on this page โ every banner is sealed with one
| Rune | Means | Seals |
|---|---|---|
| the ride, the road | the name: every road through the gates | |
| dawn, a new day | what is new | |
| need, what must be | what you need to know first | |
| Odin's word, a message | the destination window and the map | |
| the sun, victory | the photographs and the live view | |
| the elk, protection | locks and self-healing gates | |
| the horse, movement | tames and mounts | |
| the yew, endurance | the corpse run | |
| the lot cup, chance | the concealed gates | |
| the torch, light in the dark | the runic gateway | |
| Tyr, law and justice | the server's law: limits, filters, health | |
| the harvest, the year's reckoning | the ledger of defaults | |
| cattle, wealth earned | the toolbox | |
| the gift, give and take | multiplayer | |
| humankind, the folk | other mods | |
| water, the flow | the settings | |
| the homestead, heritage | the credits |
CHANGELOG
Changelog - TortalPortal
[1.6.4] โ 2026-11-23
No floor change: MinimumRequiredVersion stays at 1.5.0. The server leaves skipped gates out of the destination index, so even a 1.6.2 client is never offered one, and nothing on the wire changed shape; the new setting is one more synced string. A client below 1.6.4 still takes a skipped gate over for itself when it walks up to one, which affects only that player.
๐ Portals from other mods are left alone
- Added:
SkipPortalPrefabs(synced,1 - General, empty by default): a comma-separated list of portal prefab names TortalPortal leaves alone. Other mods add portals that work their own way (one-way gates, dungeon or instance portals, gates with their own menu), and they are still portal pieces to the game, so until now TortalPortal took every one of them over: its window opened on them, vanilla tag pairing was cut, and they turned up in everybody's destination list. - A listed gate is not ours at all. Use, rename (the tag), the per-frame update and the teleport itself fall straight through to vanilla and to whatever the owning mod patches in. It is never in the destination index, on the map, in the portal export, in the health scan or counted against
MaxPortalsPerPlayer, and placing one is never refused by the cap or photographed. It wears its own prefab's look (no runic gateway) and gets no damage immunity fromSelfHealingPortals. Only the item filter still applies, and it already defers to a portal that allows all items. - Names are prefab names, not case-sensitive;
*matches anything, soMWL_*covers a whole family. A trailing(Clone)is ignored. - The gates this mod raises are never skipped, whatever the list says: corpse and concealed gates carry their own marker, so skipping the prefab they are minted from cannot strand a corpse run.
- Applies live. Changing the list strips or restores the gateway and immunity on gates already standing, closes a window open on a gate that was just handed back, and logs the list this peer settled on. The destination list catches up at the next index refresh (
PortalIndexRefreshSeconds). - Checked on a Valheim 1.0.21 dedicated server against a 121-portal test world, five boots: empty list 121 portals indexed;
PORTAL_WOOD0 (case ignored);portal_*0 (glob);portal_stone, portal_blackmarble121 (nothing matched, nothing skipped); empty again 121. No errors in any run.
๐ฆ Package
- The package now ships
plugins/TortalPortal.pdb, matching the DLL, so an error in a player's log carries file and line numbers. Built deterministic and path-mapped with SourceLink off, so neither file records the builder's home folder. - The store README moves to schema v3.1: rune-sealed banners, a HUD strip, one "new in" section, and a ledger of default dials read straight from the code, so the page cannot drift from the DLL. The full detail that used to live on the page is here in the changelog.
[1.6.3] โ 2026-11-12
- Store page rewritten to the new layout, and now the same on every store. The website link now goes to https://ravenirongames.com/.
- No change to the mod:
TortalPortal.dllis the same file as in 1.6.2.
[1.6.2] โ 2026-11-01
A rebuild for Valheim 1.0.21 (network version 41). No floor change: MinimumRequiredVersion stays at 1.5.0, nothing on the wire and nothing written to the world.
๐ง Rebuilt and checked against Valheim 1.0.21
- Rebuilt against Valheim 1.0.21 and re-verified: static reference check on both the client and the dedicated server, plus a headless 1.0.21 dedicated-server boot. Every game method this mod patches (the portal, minimap, teleport, spawn-system and peer-info paths among them) was read against the 1.0.21 changes and none needed a change.
- Website link moved to https://www.rossgilsonlabs.dev.
- The package now declares BepInExPack_Valheim 5.4.2360.
[1.6.1]
No floor change. MinimumRequiredVersion stays at 1.5.0 โ this is a window that opened itself at the far end of a trip: entirely local, nothing on the wire and nothing written to the world. A 1.6.0 client behaves identically apart from being greeted by its own destination window on arrival.
๐ช The destination window greeted you at the far end again
- Fixed (#146, and this time at the cause): the menu came back the instant you arrived. The same symptom 1.4.6 went after, and the thing keeping it alive was 1.4.6's own fix.
- What 1.4.6 had right. Arriving somewhere leaves you standing well inside the destination gate's range, so the gate being travelled to is noted down and holds its menu shut when it reports you in range. 1.4.6 widened that from one way of recognising the gate to three, and that part stands.
- What it had wrong. It also put all three behind a stopwatch started when you left โ a few seconds, called generous, to cover the loading fade. It was not generous, it was unreachable. Vanilla will not end a distant teleport before eight seconds have gone by, and every trip this mod starts is a distant one; it then holds on until the destination area reports itself ready and solid ground is found under you, up to fifteen. So the note expired before you could possibly have landed โ every time, on every route โ the gate you stepped out of was never recognised as an arrival at all, and it did the only other thing it knows how to do.
- Changed: the grace is measured from the landing now, not from the departure, and on the clock the game already keeps for exactly this: vanilla zeroes a timer when a trip begins, pins it at zero for as long as the trip runs, and counts up from zero the moment it ends. That figure is "how long since this player landed", whatever the loading screen cost โ so no world, however large or slow to stream in, can outlast the window again.
- Changed: the note is no longer eaten by the first gate to read it. It used to be cleared as soon as any one portal answered with it, which left it good for one gate and one instance of that gate: a second gate near enough to where you land opened its menu in the same frame, and a destination whose object was rebuilt by the zone still loading in behind you came back with nothing left holding it shut. It expires on its own clock instead, so every gate and every rebuild inside the window reads the same answer. The blanket "you cannot have walked anywhere yet" answer keeps a far shorter leash than the two that actually name the gate, so landing in a hub and stepping to the gate next door still opens that gate's window.
- Changed: every trip is noticed now, whoever starts it. The guard used to be told about a trip by the two routes that ask for one, so any other way of moving a player โ a console teleport, another mod, whatever gets added here next โ landed you unguarded. It watches the teleport itself now, and there is no route left that can forget to mention it.
- The debug log carries the figure each decision turned on, and says so outright when a note goes stale before the gate it names has had its say. That line is the fingerprint of this entire family of bug: if it ever comes back, the log names the cause instead of handing over another hunt.
[1.6.0]
Gates the world was seeded with that nobody has been told about. No floor change - MinimumRequiredVersion stays at 1.5.0: concealed gates are withheld from the published index, so a 1.5.x client is never sent one and simply never has them as destinations, and the reveal rides a routed RPC an older client never registered, which the receiving peer drops as an unknown method. Nothing existing changed shape on the wire or in the world.
๐ฏ๏ธ Concealed gates
- Added: a second kind of seeded portal, one that has to be found.
tortal_scatterconcealed [count] [radius]raises real portals across the world that are deliberately kept out of the published portal index - so no client is sent their position, their name, or the fact that they exist. They are in nobody's destination list and on nobody's map. You find one by walking into it and pressing E, and at that point the server hands that one gate to that one player. - The secret is kept by the machine that owns it, not by the window that draws it. The destination index is a single ServerSync value, one blob broadcast identically to every peer at login - there is no per-player variant of it. A concealed gate riding in that blob would land in every client's memory the moment they joined, and "concealed" would mean no more than our own list declines to draw it: one config edit, one rival mod or one teleport-to-coordinate away from nothing. So they are withheld from the blob entirely and each player's own finds are sent to them over their own routed RPC. The filter that does it is the same one that has always kept corpse gates out of the index, the map, the export and the portal cap - one place, four consequences.
- A claim is checked against the world, not taken on trust. The only thing a client sends is which gate it touched. The server reads everything else for itself: that the gate exists, that it is concealed, who the claimant actually is (
s_playerIDoff their character ZDO, never the connection id), and that they are genuinely standing within 30 m of the gate they named. A claim it cannot resolve - a peer whose character has not arrived yet - is unknown, not refused, and can simply be made again. - Discovery is recorded on the gate itself, as a list of player IDs in the world save. No side file, so it survives a client reinstall, cannot be edited by the player it is about, and is still true after a server rebuild. A client standing close enough to hold that ZDO can read the list off it, which costs nothing - they are at the gate, they have already found it - and says nothing whatsoever about any other concealed gate in the world.
- Added:
EnableConcealedPortals(synced, default on - and dormant until somebody seeds a world). Switching it off leaves standing gates exactly where they are and stops them being discovered or handed out; it does not make them visible, andtortal_concealedclearis how you actually get rid of them. - Added:
ConcealedDiscoveryShared(synced, default off). Off, every player finds every gate for themselves. On, the first player to touch one reveals it for the whole server. Turning it on does not retroactively publish what individuals had already found on their own - it applies from the next discovery onwards. - Added:
tortal_concealedclear(removes every concealed gate, found or not, and pushes the emptied list so nobody keeps a destination that is no longer there) andtortal_concealed(how many are standing, how many are found, and by whom). - The health scan reports a
Concealedline with those counts, and holds these gates apart from every other check - a gate that records no builder, carries a name nobody is meant to read and is in no index by design would otherwise trip half the findings meant for public portals. The one check it keeps is buried, which matters more here than anywhere: the whole purpose of one of these is to be walked up to.
๐ฑ Seeded where a player can actually stand
- Spots are settled by the corpse run's own placement scanner rather than by the coordinate they were sampled at: clearance measured edge to edge from every tree, rock, building piece, portal and generated location, on dry, level, contiguous ground, at least 128 m from every portal already standing.
- Ground height comes from the server-side terrain recipe (
GroundProbe, terraforming included) and not fromWorldGenerator.GetHeight, which is whattortal_scatteruses. BareGetHeightreturns the un-blended single-biome height, and at a biome border that sits metres above or below the mesh a player actually walks on. Test litter nobody visits can afford that; a gate whose entire purpose is to be found cannot. - Every seeded name is checked for uniqueness against every portal already in the world, because vanilla connects two portals whose tags match exactly - a seeded gate sharing a name with somebody's would quietly hook the two together.
- Seeded gates are immune and cannot be hammered down, and they carry the same refusal of a removal this mod did not ask for that corpse gates do. The removal locks are re-taken at every server start, so a gate seeded by a previous run is protected exactly like one seeded five minutes ago. A landmark the world was seeded with is not one gate's worth of wood to whoever finds it first.
- They are deliberately NOT marked as
tortal_scatterlitter.tortal_scatterclearsweeps everything carrying that marker and the health scan reports it as leftovers to tidy, so a seeded world feature wearing it would have been quietly deleted by the first admin who cleared up after a test.
๐งญ Under the hood
- The three new commands are registered with
isCheat: false, unliketortal_scatter's.ConsoleCommand.IsValidtestsIsCheatsEnabled(), which returnsZNet.IsServer()- so a cheat command can never be run by an admin on a dedicated server, which is precisely where seeding a world matters. The gate that replaces it is the server's ownadminlist.txt, checked server-side on the one RPC all three share. They also register fromZNet.Startas well as fromTerminal.InitTerminal, because registration is only a write into a static dictionary and a headless host may never build a Terminal at all. - Typed at a client, all three are routed to the server and answer back into your console - including the seeding summary, which arrives when the last gate is placed rather than leaving the admin with "seeding 25 gates" and no outcome. A console command runs on the machine it was typed into, and that machine has no world to seed.
- The destination list is now two sources merged - the server's index and this player's own finds - rebuilt only when one of them actually changes, because it is read once per frame per open window. The persistent map markers gained the same trigger, so a gate just discovered gets its marker immediately instead of waiting for the server's next index publish to happen to differ.
- Seeding spends a frame per gate: one placement search is a couple of thousand ground probes, and one gate's failure can no longer take the rest of the run down with it. The per-player push reads the standing gates once for the whole round rather than once per player, and records a send only after it has gone out - marked before, a send that threw would leave that peer flagged as told and the poll would skip them from then on, which is the one failure a poll exists to heal.