- Contributors
- ALIN007
- Source Code
- https://github.com/DMariusM/WMInventoryControl
- Supported Servers
- Paper
WMInventoryControl is an add-on for WeaponMechanics that enforces per-player weapon rules and blocks edge-case exploits.
It uses a namespaced PDC mark to tag a certain amount of weapons from the player's inventory and only those marked weapons are allowed to fire.
Features
Requirements
Command
Configuration highlights
Support
It uses a namespaced PDC mark to tag a certain amount of weapons from the player's inventory and only those marked weapons are allowed to fire.
Features
- Mark on first use (main/off-hand); stacked items are denied.
- Per-weapon limits and EXCLUSIVE / POOL groups (with per-member caps).
- Safe container policy: real storage unmarks on successful placement; utility UIs (special storages) are blocked so items don’t get unmarked and returned to the player's inventory.
- Combat Weight (via CombatLogX): INDIVIDUAL/SHARED_POOL with per-combat tracking.
- Out-of-combat reset:
- remove-limit-post-combat: true → reset immediately (default)
- or weight-reset-timeout-seconds: N for a grace timer while out of combat
- Configurable combat restrictions (CombatLogX): block marking, re-marking, dropping, and moving marked weapons while in combat.
- Admin-safe /invsee transfers, item-frame handling, hat guard, bundles/pots quirks handled.
- Simple API for other plugins (mark/unmark, limits, groups, events).
- Check out the README file for more info
Requirements
- Java 21
- Paper 1.20+ (uses Paper-only APIs)
- WeaponMechanics (depend)
- CombatLogX (optional; enables combat/weight features)
Command
- /wmic reload — permission wmic.reload
Configuration highlights
- weapon-limits, groups, containers (regular / non-accepting)
- weight-groups with INDIVIDUAL / SHARED_POOL
- remove-limit-post-combat and weight-reset-timeout-seconds
- combat-restrictions.* toggles
Support
- for support, you can contact me on Discord destroiermariusm
- you can open an issue on Github