ChooseYourBed
Pick which bed to respawn at when you die, from a map or a list. Client-side.
模組介紹 作者原文
Choose Your Bed
Pick which bed you respawn at when you die, instead of always the last one you claimed.
Client-side only. Install it on each player's game; the server does not need it. Players without it just get vanilla behaviour.
How it works
- Every bed you claim (interact with it so it says "Spawn point set") is added to your saved list for that character + world.
- Beds you claimed before installing the mod are picked up automatically: your current spawn bed straight away, and any other bed you own as soon as you are near it.
- The selection screen only appears when you have two or more saved beds (see ShowMenuWithOneBed).
- When you die, a map of what you have explored opens with a numbered marker on every saved bed, plus where you died and the start stones. Click a marker to respawn there. Scroll to zoom, drag to move the map.
- The same beds are listed down the side with biome and distance from where you died. Click a row, or press 1-9. Press 0 for the start stones.
- "List view" on that screen switches to the plain list, where you can also rename or forget beds.
- If only one bed is saved, it respawns there without asking (change ShowMenuWithOneBed in the config to always ask).
- While alive, every saved bed shows as a named bed pin on the normal map (M).
- Press F7 while alive to open the manager: rename beds, forget ones you don't want listed, or set one as your current spawn.
- Hovering a saved bed shows its name. Destroyed beds are dropped from the list automatically.
Config
BepInEx/config/com.burks.chooseyourbed.cfg
- DeathMenuStyle - Map or List
- ShowBedPinsOnMap - named pins on the normal map
- ManagerKey, MaxBeds, MenuScale, ShowMenuWithOneBed
Saved beds live in BepInEx/config/ChooseYourBed/_.txt.
Notes
- The death-screen map is drawn by the mod from the game's map data (the game's own map cannot open while you are dead), so it looks plainer than the normal map.
- The game still only respawns you at a bed that physically exists; if the one you pick has been destroyed you're asked to pick again.
- Built for Valheim 1.0 / BepInEx 5.4.
Changes
- 1.1.1 - Picks up beds you already own (current spawn bed at once, others when you are near them); more reliable saving on servers; forgotten beds stay forgotten; log lines saying what the mod decided on each death.
- 1.1.0 - Map on the death screen with clickable beds; bed pins on the normal map; fixed the mouse being locked on the death screen.
- 1.0.0 - First version.
1.2.0 - beds on boats
A saved bed is now followed by its identity, not its position, so a bed on a ValheimRAFT boat keeps one entry as the boat moves.
Put ChooseYourBed.dll on the dedicated server as well if boats get moved while you are away: the server then tells your game where the bed is now.
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。
下面這些內容需要先安裝,否則該模組不會生效: