PersistentRaids
Raid creatures hunt and persist after the HUD. Open-world mobs stay vanilla. Per-raid Custom Raids durations untouched unless you opt in.
模組介紹 作者原文
PersistentRaids
Raid/event monsters keep hunting and get longer sight. Open-world creatures (boars, greydwarves, etc.) stay vanilla.
Far-despawn can still be blocked for enemies. Raid mobs keep hunting after the HUD ends. Custom Raids owns when the next raid starts. Raid creature cap defaults to 60 server-wide (CapScope).
Do not enable Expand World Events Multiple events. Leave AllowMultipleRaids = false.
Install on server and all clients.
Commands: persistraid clear | event | stop | cap | boss
Changelog
1.0.7
- Cap counts only raid creatures and works on a dedicated server. Tames, wildlife, and bosses are never removed.
- CapScope: ServerWide (default 60), PerPlayerArea (default 40 within 200 m), or Both. Furthest from players go first.
1.0.6
- ALL raid/event creatures forced to fight every AI tick (block flee, keep hunt). Every raid, every shy prefab.
1.0.5
- Timers: leave per-raid Custom Raids Duration / PauseIfNoPlayerInArea alone by default. Optional OverrideRaidDurations is off.
- Raid AI: force hunt + alert, clear shy flee flags so Greylings fight instead of milling.
1.0.4
- Persistence is raid-only now. Never-despawn / ZDO.Persistent apply only to raid/event creatures (and bosses).
- Open-world wildlife culls like vanilla, so it no longer piles up around bases (fixes base-area FPS).
1.0.3
- Fix: 1.0.1 lied that a player was always inside the raid circle and could report a stashed event as “current”. Custom Raids then skipped every new raid.
- AllowMultipleRaids now defaults false. persistraid stop clears a stuck current event.
1.0.2
- Long-range sight, forced hunt, and never-lose-aggro apply only to RandomEvent / raid creatures.
- Open-world mobs keep vanilla view range and aggro.
- Night despawn skip is raid-only.
- World bosses no longer inherit raid hunt from NeverDespawnBosses.
1.0.1
- Initial release.
Config Values
[Despawn]
Block far-despawn and mark ZDOs persistent for RAID/event creatures only. Open-world wildlife culls like vanilla so it does not pile up around bases.
Setting type: Boolean
Default value: true
NeverDespawnMonsters = true
Bosses persist / skip far-despawn. Hunt range is still raid-only.
Setting type: Boolean
Default value: true
NeverDespawnBosses = true
Event creatures keep hunting after the raid timer ends.
Setting type: Boolean
Default value: true
EventMonstersSurviveRaidEnd = true
Ignore despawn-in-day on night-spawned event creatures.
Setting type: Boolean
Default value: true
NeverDespawnNightMonsters = true
[Filters]
Comma prefab names. Empty = all enemies.
Setting type: String
Default value:
CreatureWhitelist =
Comma prefab names to ignore.
Setting type: String
Default value:
CreatureBlacklist =
[General]
Master switch.
Setting type: Boolean
Default value: true
Enabled = true
[Logging]
Log blocked despawns and extra raids.
Setting type: Boolean
Default value: false
EnableDebugLogging = false
Log when the monster cap is hit.
Setting type: Boolean
Default value: true
LogCapEvents = true
[MultipleRaids]
Leave false. Custom Raids will not start a new raid while any event is still current.
Setting type: Boolean
Default value: false
AllowMultipleRaids = false
OFF by default. When on, keeps the raid timer (and spawn checks) running with nobody in the circle. Leave off so each raid's PauseIfNoPlayerInArea and Duration work as configured.
Setting type: Boolean
Default value: false
ContinueSpawningWithoutPlayers = false
Unused (kept so old configs still load).
Setting type: Single
Default value: 600
SpawnWithoutPlayersDuration = 600
OFF by default. When on, replaces every random-event Duration with OverrideDurationSeconds. Leave off to use each Custom Raids Duration.
Setting type: Boolean
Default value: false
OverrideRaidDurations = false
Only used when OverrideRaidDurations is on. Seconds.
Setting type: Single
Default value: 60
OverrideDurationSeconds = 60
[RaidChase]
Only RandomEvent/raid creatures keep hunt/aggro. Open-world mobs stay vanilla.
Setting type: Boolea
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。
下面這些內容需要先安裝,否則該模組不會生效: