Item Rarity
Item Rarity is a great addition to your server, if you're in search for creating a separation between items/ tiers. By default, adding this mod all items will be categorized under the common rarity. You're able to configure which items are under a different rarity with a server side config that is auto-generated. Any ideas/ suggestions you have for the mod, leave a comment down below. I hope you enjoy what this mod… (more)
Item Rarity is a great addition to your server, if you're in search for creating a separation between items/ tiers. By default, adding this mod all items will be categorized under the common rarity. You're able to configure which items are under a different rarity with a server side config that is auto-generated. Any ideas/ suggestions you have for the mod, leave a comment down below. I hope you enjoy what this mod brings! NOT COMPATIBLE WITH: LBMaster Better Inspect, Expansion Hardline, or Map - Livonia. Expect issues if usage with any of these list above if used with Item Rarity. - 8 default raritys - Create your own rarity tags - Change the colors - 3 different styles - Enable/ disable item slot colors - Base class support - Server profile config for quick editing - Multi-language support for 13 different languages English Czech German Russian Polish Hungarian Italian French Spanish Portuguese Japanese Chinese (Traditional) Chinese (Simplified) 1. Install the mod to your server 2. Once you start your server with this mod, a config file will generate $profile:\ItemRarity\config.json 3. Update the config with classnames and rarity levels you're wanting. Save the file. 4. Restart server to push the new changes Things to remember, - All items are COMMON by default unless you configure a new rarity for classname - You can change/ create new rarity levels (besides common) - You can disable/ enable slot colors in config Config Guide (CLICK HERE) You are allowed to monetize this mod as long as your server was approved for monetization by Bohemia, and access or use of this mod is not part of the monetization.
No file I/O on hot paths, no timers created per event, no per-player-per-frame hooks.
Every server-visible override preserves its chain.
No server-side script overrides. Counts hook dispatch and timers only, not what the hooks do inside. Methodology.
Which vanilla methods the mod hooks, which of them drop the chain, how often each hook fires, and which risky calls sit inside hot hooks.
How long hook bodies take, network cost, or engine-side load. Measured across live fleets, most server lag comes from the engine and world state, not mod script chains — a light footprint does not clear a mod of lag, and a heavy one does not convict it. Methodology.
Everything else
All 17 overrides
Surface is the dispatch tier the rubric can price (— = unpriced); server is whether the override exists on a dedicated server; super() shows whether the vanilla chain is preserved on a server.
| method | surface | server | super() | where |
|---|---|---|---|---|
Icon.Refresh |
— | yes | ✓ | ItemRarity.pbo::scripts\5_mission\icon.c:3 |
Icon.InitEx |
— | yes | ✓ | ItemRarity.pbo::scripts\5_mission\icon.c:10 |
Icon.CreateWhiteBackground |
— | yes | ✓ | ItemRarity.pbo::scripts\5_mission\icon.c:18 |
Icon.DestroyWhiteBackground |
— | yes | ✓ | ItemRarity.pbo::scripts\5_mission\icon.c:25 |
Icon.FullScreen |
— | yes | ✓ | ItemRarity.pbo::scripts\5_mission\icon.c:32 |
Icon.SetItemPreviewEx |
— | yes | ✓ | ItemRarity.pbo::scripts\5_mission\icon.c:39 |
InspectMenuNew.Init |
— | yes | ✓ | ItemRarity.pbo::scripts\5_mission\inspectmenunew.c:6 |
InspectMenuNew.SetItem |
— | yes | ✓ | ItemRarity.pbo::scripts\5_mission\inspectmenunew.c:31 |
InventoryQuickbar.UpdateItems |
— | yes | ✓ | ItemRarity.pbo::scripts\5_mission\inventoryquickbar.c:3 |
ItemManager.PrepareTooltip |
— | yes | ✓ | ItemRarity.pbo::scripts\5_mission\itemmananager.c:16 |
ItemManager.SetIconTemperature |
— | yes | ✓ | ItemRarity.pbo::scripts\5_mission\itemmananager.c:30 |
MissionServer.OnClientPrepareEvent |
— | yes | ✓ | ItemRarity.pbo::scripts\5_mission\missionserver.c:3 |
SlotsIcon.ClearRemainSelected |
— | yes | ✓ | ItemRarity.pbo::scripts\5_mission\slotsicon.c:3 |
SlotsIcon.Refresh |
— | yes | ✓ | ItemRarity.pbo::scripts\5_mission\slotsicon.c:10 |
SlotsIcon.OnIconDrag |
— | yes | ✓ | ItemRarity.pbo::scripts\5_mission\slotsicon.c:17 |
SlotsIcon.SetItemPreview |
— | yes | ✓ | ItemRarity.pbo::scripts\5_mission\slotsicon.c:24 |
SlotsIcon.OnIconDrop |
— | yes | ✓ | ItemRarity.pbo::scripts\5_mission\slotsicon.c:31 |
Load-order constraints (CfgPatches)
What each PBO declares: its addon identity and the addons it requires to be loaded first (requiredAddons). A partial load-order signal from the mod's own metadata.
ItemRarity.pbo
ItemRarityrequiredVersion 0.1 — requiresDZ_Data
census 1.1 · findings 1.1 · hash 6a92ee6ddefbf716