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.
Captain TargetPortal
Valheim Portal Mod - Restrict portal connections by Public/Private/Group/Admin/Guild mode
CHANGELOG
Changelog / 변경 로그
[1.2.4] - 2026-07-26
Files Modified / 수정 파일
Map.cs · TargetPortal.cs
- ✅fix1 : [Map.cs] Group-mode portals lost their connection when the party leader briefly logged out, since access was checked by "is the owner currently online" — switched to a party-continuity check based on the group membership recorded when the portal's mode was set (owner online-in-my-party OR my ID/any currently online party member overlaps with the recorded membership)
- ✅fix2 : [Map.cs] Guild-mode access check compared owner by both ID and name (a struct equality check) instead of ID alone, which could incorrectly deny access after a display-name change
- ✅improve1 : [TargetPortal.cs]
SetPortalMode()now also records the current party's member IDs on the portal's ZDO (TargetPortal GroupMembers) when switching to Group mode, and theTargetPortals ChangePortalModeRPC signature was extended to carry this data - ✅fix1 : [Map.cs] 파티장이 잠깐 접속을 끊으면 Group 모드 포탈 연결이 끊기던 문제 수정 — "소유자가 현재 온라인인가"로 판정하던 것을, 포탈 모드 설정 당시 기록된 파티원 정보 기반의 파티 연속성 체크(소유자가 내 파티에 온라인 중이거나, 내 ID/현재 온라인 파티원 중 하나가 기록된 멤버 목록과 겹침)로 변경
- ✅fix2 : [Map.cs] 길드 모드 접근 판정이 소유자를 ID+이름 동시 비교(구조체 비교)로 하고 있어, 표시 이름이 바뀌면 정상 길드원인데도 접근이 거부될 수 있던 문제 수정 — ID만으로 비교하도록 변경
- ✅improve1 : [TargetPortal.cs] Group 모드로 전환할 때 현재 파티원 ID 목록을 포탈 ZDO(
TargetPortal GroupMembers)에 함께 기록하도록 개선,TargetPortals ChangePortalModeRPC 시그니처를 이 데이터를 담도록 확장