Skip to content

Modern inventory system for ARMA Reforger with quality-of-life improvements. Search all containers instantly, transfer items by category, view weight/capacity at a glance, and enjoy an enhanced UI. Built using Enfusion best practices for multiplayer stability. Future: magazine consolidation, auto-sorting, loadout presets.

License

Notifications You must be signed in to change notification settings

Rangion42/ReforgerInventoryPlus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Reforger Inventory+

License Version Arma Reforger

Smart inventory management for ARMA Reforger - A comprehensive quality-of-life mod that modernizes the inventory system with search, quick transfer, visual indicators, and intelligent organization.

๐ŸŽฏ Features

โœ… Current (v0.1.0-alpha)

  • ๐Ÿ” Search Bar - Quickly find items across all containers with aggregate counts
  • ๐Ÿ“Š Visual Indicators - Color-coded weight/capacity bars with real-time updates
  • โšก Category Quick Transfer - Move all ammo, medical supplies, or equipment with one click
  • ๐Ÿ‘๏ธ Enhanced Vicinity View - Larger, scrollable preview of nearby items

๐Ÿšง Planned Features

Phase 2: Quality of Life

  • ๐Ÿ”„ Magazine Consolidation - Combine partially-filled magazines
  • โŒจ๏ธ Graduated Stack Moving - Shift+drag (5 items) / Ctrl+drag (maximum)
  • ๐Ÿ“ฆ Simultaneous Container View - See all storage at once
  • ๐Ÿ—‘๏ธ Quick Drop - Rapid junk item disposal

Phase 3: Advanced

  • ๐ŸŽฏ Auto-Sorting - Organize by category with one button
  • ๐Ÿ’พ Loadout Save/Load - Store and recall equipment configurations
  • โš™๏ธ Custom Keybindings - Personalize your controls
  • ๐ŸŽ–๏ธ Arsenal Integration - Enhanced arsenal experience

Phase 4: Polish

  • ๐ŸŒ Settings Menu - Deep configurability
  • ๐Ÿ”— Mod Compatibility - Works with popular mods
  • โšก Performance Optimization - Tuned for large servers
  • ๐ŸŒ Localization - Multiple language support

๐Ÿ“ฅ Installation

For Players

  1. Subscribe on Workshop (coming soon)
  1. Manual Installation
  • Download the latest release from Releases
  • Extract to your Reforger mods folder
  • Enable in the gameโ€™s mod menu

For Server Administrators

Add to your serverโ€™s mod configuration:

{
  "modId": "WORKSHOP_ID_HERE",
  "name": "ReforgerInventoryPlus",
  "version": "0.1.0"
}

๐ŸŽฎ Usage

Search Functionality

  • Press Tab to open inventory
  • Use the search bar at the top to filter items
  • View aggregate counts for ammunition and medical supplies

Quick Transfer

  • Click category buttons to move all items of that type
  • Works between inventory and vicinity, or between storage containers
  • Categories: Weapons, Ammo, Medical, Equipment, All

Visual Indicators

  • Green bar: Under 70% capacity
  • Yellow bar: 70-90% capacity
  • Red bar: Over 90% capacity

๐Ÿ› ๏ธ Technical Details

Architecture

Built on Reforgerโ€™s Enfusion engine using:

  • InventoryStorageManagerComponent - Core inventory operations
  • SCR_InventoryStorageManagerComponent - Extended functionality
  • InventorySearchPredicate - Efficient item querying
  • RplComponent - Server-authoritative networking

Key Design Decisions

  1. Server-Authoritative - All inventory modifications validated server-side to prevent exploits
  2. Client-Side Search - Queries run locally for instant results without server load
  3. Async Operations - Uses InventoryOperationCallback for non-blocking actions
  4. Role-Based Logic - Proper RplRole.Authority/RplRole.Proxy patterns (no legacy isServer())

Performance Considerations

  • Search queries use FindItem() with predicates (client-safe, no network overhead)
  • Weight calculations use GetTotalWeightOfAllStorages() with caching
  • Category transfers batch operations to minimize RPC calls
  • Configurable streamingBudget for large-scale servers

๐Ÿค Contributing

We welcome contributions! Hereโ€™s how to get started:

Development Setup

  1. Clone the repository

    git clone https://github.com/yourusername/ReforgerInventoryPlus.git
    cd ReforgerInventoryPlus
  2. Install Arma Reforger Workbench

  1. Open in Workbench
  • Launch Arma Reforger Workbench
  • Open the project file
  • Configure your addon settings

Coding Standards

  • Naming Convention: Use your own prefix (not SCR_ which is Bohemiaโ€™s)
  • Always set RplComponent to โ€œRuntimeโ€ for dynamic items
  • Use Try-prefixed methods (TryInsertItem, TryMoveItemToStorage, etc.)
  • Network references via RplId, never raw EntityID
  • Comment complex logic especially around replication

Testing Requirements

  • โœ… Test in single-player first
  • โœ… Test on dedicated server (RplComponent issues only appear here!)
  • โœ… Test with full inventories (edge cases)
  • โœ… Test with high latency (multiplayer sync)
  • โœ… Check for memory leaks during extended sessions

Pull Request Process

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request with a clear description

๐Ÿ“‹ Known Issues

  • Controller Input Conflict: Multiple controllers (HOTAS, racing wheels) can break drag-and-drop. Workaround: Unplug secondary controllers.
  • Layout Compatibility: Game updates may require UI layout adjustments.

See the Issues page for a complete list and to report bugs.

๐Ÿ” Compatibility

Tested With

  • โœ… Vanilla Arma Reforger
  • โœ… ACE Anvil
  • โœ… RHS: Status Quo
  • โœ… BetterInventory (some features may overlap)

Known Conflicts

  • None currently identified

๐Ÿ“š Resources

Learning Reforger Modding

Inspiration & Prior Art

๐Ÿ“„ License

This project is licensed under the MIT License - see the file for details.

๐Ÿ‘ Acknowledgments

  • Bohemia Interactive - For Arma Reforger and the Enfusion engine
  • ACE3 Team - Inspiration from their magazine repack system
  • Reforger Modding Community - For sharing knowledge and best practices
  • Beta Testers - Thank you for helping identify issues early

๐Ÿ’ฌ Support & Community


Made with โค๏ธ for the Arma Reforger community

If you find this mod useful, consider giving it a โญ on GitHub!

About

Modern inventory system for ARMA Reforger with quality-of-life improvements. Search all containers instantly, transfer items by category, view weight/capacity at a glance, and enjoy an enhanced UI. Built using Enfusion best practices for multiplayer stability. Future: magazine consolidation, auto-sorting, loadout presets.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages