WMInventoryControl

WMInventoryControl 2025-10-04

Contributors
ALIN007
Source Code
https://github.com/DMariusM/WMInventoryControl
Supported Servers
  1. 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
  • 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

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
Stability
Status: Initial stable release (v1.0.0). Tested on Paper 1.21.4 with WeaponMechanics 4.1.5. Not yet widely battle-tested so please test on a staging server, test everything before using it on your main server and keep backups. If you hit an issue, open a ticket and include your config + versions.

Support
  • for support, you can contact me on Discord destroiermariusm
  • you can open an issue on Github
Author
DMariusM
Downloads
10
Views
53
First release
Last update

Ratings

0.00 star(s) 0 ratings