ServersideQoL DropControl
Configure mob drop tables
模組介紹 作者原文
Serverside QoL
This mod adds some QoL features as a serverside-only mod.
It's designed and tested for dedicated servers with vanilla/console clients (e.g. XBox/PS/Switch users).
If you'd like to support me, subscribe as a test user.
You can help by testing the beta versions on hexium.
Features
Configure mob drop tables.
On startup, a template configuration file will be generated.
|Field|Description|
|-----|-----------|
|Prefab|The name of the item to drop. This is the name of the prefab in the game files, not the display name. Technically non-item prefabs (like creatures) should also work, but that's not tested. See
|AmountMin|The minimum amount to drop. The actual amount is chosen randomly between AmountMin and AmountMax.|
|AmountMax|The maximum amount to drop.|
|Chance|The probability of dropping the item. 0 = 0%, 1 = 100%|
|OnePerPlayer|If true, exactly one item per player is dropped, other fields which influence the dropped amount are ignored.|
|DoubleAmountAndChancePerLevel|If true, AmountMin,AmountMax and Chance are doubled for each additional level (star) of the killed creature.|
|IgnoreWorldResourceRate|If true, world modifiers that change the amount of resources dropped have no effect for this drop.|
|MinLevel|If set, the minimum level the killed creature needs to have for this drop.|
|MaxLevel|If set, the maximum level the killed creature needs to have for this drop.|
|RequiredGlobalKey|If set, the global key that needs to be set for this drop.|
|ForbiddenGlobalKey|If set, the global key must not be set for this drop.|
|QualityIncreaseChance|The probability for the dropped item to gain an additional quality level (upgrade level of gear/level of fish/level of eggs). 0 = 0%, 1 = 100%|
|DoubleQualityIncreaseChancePerLevel|If true, QualityIncreaseChance is doubled for each additional level (star) of the killed creature.|
|MaxQuality|The maximum quality the drop can be.|
|MultiplyMaxQualityByLevel|If true, MaxQuality is multiplied by the level of the killed creature. QualityIncreaseChance is adjusted so that the chance to get a max quality item stays the same across creature levels.|
Examples:
$(ValheimInstallDir)/BepInEx/config/ArgusMagnus.ServersideQoL.DropControl.Drops.yml:
Entries:
Give Zil & Thungr a chance to drop a chicken egg with a chance for quality increase based on their level (number of stars)
- Name: GoblinBruteBros
DisplayName: Zil & Thungr
Enabled: true # required, otherwhise entry will be ignored and use vanilla drops
Drops:
- Prefab: GoblinShaman_Hildir
AmountMin: 1
AmountMax: 1
Chance: 1
OnePerPlayer: false
DoubleAmountAndChancePerLevel: false
IgnoreWorldResourceRate: true
MinLevel:
MaxLevel:
RequiredGlobalKey:
ForbiddenGlobalKey:
Make Zil spawn with the same level
QualityIncreaseChance: 1
DoubleQualityIncreaseChancePerLevel: true
MaxQuality: 1
MultiplyMaxQualityByLevel: true
- Prefab: TrophyGoblinBruteBrosBrute
AmountMin: 1
AmountMax: 1
Chance: 1
OnePerPlayer: false
DoubleAmountAndChancePerLevel: false
IgnoreWorldResourceRate: true
MinLevel:
MaxLevel:
RequiredGlobalKey:
ForbiddenGlobalKey:
QualityIncreaseChance: 0
DoubleQualityIncreaseChancePerLevel: true
MaxQuality: 1
MultiplyMaxQualityByLevel: false
- Prefab: ChickenEgg
AmountMin: 1
AmountMax: 1
Chance: 0.25
OnePerPlayer: false
DoubleAmountAndChancePerLevel: false
IgnoreWorldResourceRate: true
MinLevel:
MaxLevel:
RequiredGlobalKey:
ForbiddenGlobalKey:
QualityIncreaseChance: 0.25
DoubleQualityIncreaseChancePerLevel: false
MaxQuality: 1
MultiplyMaxQualityByLevel: true
- Name: GoblinBruteBros_nochest
DisplayName: Zil & Thungr
Enabled: true
Drops:
- Prefab: GoblinShaman_Hildir_nochest
AmountMin: 1
AmountMax: 1
Chance: 1
OnePerPlayer: false
DoubleAmountAndChancePerLevel: false
IgnoreWorldResourceRate: true
MinLevel:
MaxLevel:
RequiredGlobalKey:
ForbiddenGlobalKey:
Make Zil spawn with the same level
QualityIncr
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。
下面這些內容需要先安裝,否則該模組不會生效: