SlotLock
Lock inventory slots: a locked slot keeps its item when you place stacks, store, sort or move everything, and an emptied slot stays reserved for its item. Hover a slot and press K. Works with OttoStas
模組介紹 作者原文
Slot Lock — keep your potion where you put it
35 languages: in-game texts follow your game's language — English · Svenska · Français · Italiano · Deutsch · Español · Русский · Română · Български · Македонски · Suomi · Dansk · Norsk · Íslenska · Türkçe · Lietuvių · Čeština · Magyar · Slovenčina · Polski · Nederlands · Português (Portugal) · Português (Brasil) · 簡體中文 · 繁體中文 · 日本語 · 한국어 · हिन्दी · ไทย · Hrvatski · ქართული · Ελληνικά · Srpski · Українська · Latviešu (English otherwise).
Put your healing mead in slot 4 of your hotbar, lock the slot, and it stays there: no more potions sent to a chest by
"Place stacks", or scattered by a transfer.
Features
- Lock a slot: open your inventory, hover one of your slots and press K (configurable). A gold frame shows the locked slots; press K again to unlock.
- The item stays: a locked slot is skipped by the game's Place stacks button and by every transfer that empties your inventory into another one.
- OttoStash friendly: a locked slot is also an OttoStash favorite slot, so its store shortcut leaves it alone. The middle click keeps its OttoStash role (store a single slot).
- InventorySlots friendly: its sort button (S) sorts everything around your locked slots, and puts each reserved item back into its locked slot. Its quick stack, store all and take all leave locked slots alone too.
- Reserved when empty: drink the last potion and the slot stays free for it. The next potions you pick up or take go straight back into it, and other items never land in it.
- Change a reservation by hand: drop another item into a locked slot and the slot is reserved for that item from now on.
- Saved with the character: locks follow your character on every server and PC.
- Client side: only the players who want locked slots need the mod.
Configuration
BepInEx/config/com.Azura.slotlock.cfg:
| Setting | Default | Meaning |
|---|---|---|
| Enabled | true | Locked slots keep their item |
| LockKey | K | Key to lock or unlock the hovered slot (inventory open) |
| SyncWithOttoStash | true | A locked slot is also an OttoStash favorite slot |
| FrameColor | gold | Color of the frame around locked slots |
Installation
- With a mod manager (r2modman, Mod Manager): click Install. BepInExPack Valheim is installed with it.
- By hand: install BepInExPack Valheim, then put SlotLock.dll in Valheim/BepInEx/plugins.
Tested with Valheim 1.0.17 and BepInExPack Valheim 5.4.2350.
En français
Rangez votre hydromel de soin dans la case 4 de la barre rapide, verrouillez-la, et il y reste: plus de potions envoyées
au coffre par « Placer les piles » ni dispersées par un transfert.
- Verrouiller une case: inventaire ouvert, survolez une de vos cases et appuyez sur K (réglable). Un cadre doré montre les cases verrouillées; K à nouveau pour déverrouiller.
- L'objet reste en place: une case verrouillée est ignorée par le bouton « Placer les piles » du jeu et par tout transfert qui vide votre inventaire dans un autre.
- Avec OttoStash: une case verrouillée est aussi une case favorite d'OttoStash, que son rangement laisse tranquille. Le clic molette garde son rôle dans OttoStash (ranger une seule case).
- Avec InventorySlots: son bouton de tri (S) range tout autour des cases verrouillées et remet chaque objet réservé dans sa case. Son rangement rapide, « tout ranger » et « tout prendre » les laissent tranquilles aussi.
- Réservée une fois vide: la dernière potion bue, la case reste libre pour elle. Les prochaines potions ramassées y retournent, et aucun autre objet ne s'y met.
- Changer de réservation à la main: déposez un autre objet dans une case verrouillée, elle lui est réservée désormais.
- Enregistré avec le personnage, sur tous les serveurs et tous les PC. Côté joueur: seuls ceux qui veulent des cases verrouillées installent le mod.
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。
下面這些內容需要先安裝,否則該模組不會生效: