InventoryWizard
Transform your chaotic inventory into organized perfection with InventoryWizard! ๐งโโ๏ธ
InventoryWizard
๐งโโ๏ธ InventoryWizard
The magical sorting assistant for your Minecraft world! โจ
InventoryWizard is a powerful PaperMC plugin that brings intelligent, one-click inventory organization to your server. With intuitive controls and smart categorization, managing your items has never been easier!
๐ Features
โจ Intelligent Sorting
- Metadata preservation - Items are grouped logically (weapons, tools, food, blocks, etc.) - Metadata preservation - Weapons and tools prioritized for PvP/survival gameplay - Metadata preservation - Automatically combines partial stacks - Metadata preservation - Choose whether to sort only full stacks or include partial stacks (see config) - Metadata preservation - Maintains enchantments, names, and item data
๐ฑ๏ธ Multiple Control Methods
- Shift+Right Click in Hotbar Slot 4 - Sort inventories, chests, and hotbar - Shift+Right Click in Hotbar Slot 4 - Alternative hotbar sorting - Shift+Right Click in Hotbar Slot 4 - `/iwiz` for programmatic sorting - Shift+Right Click in Hotbar Slot 4 - Cycle through sorting modes
๐ Comprehensive Coverage
- All-in-one - Organize your main storage - All-in-one - Optimized for quick access to combat/survival items - All-in-one - Keep your storage containers tidy - All-in-one - Sort everything simultaneously
๐ฅ Installation
1. Configure the latest `InventoryWizard-x.x.x.jar` from the Configure 2. Configure the JAR file in your server's `plugins` folder 3. Configure your server 4. Configure the plugin using `plugins/InventoryWizard/config.yml` (optional)
Requirements
- Java: 1.21.x - Java: PaperMC, Spigot, or compatible fork - Java: 17 or higher
Database
- Performance: Embedded, no external setup required - Performance: `plugins/InventoryWizard/player_preferences.mv.db` - Performance: Optimized for servers with 1-10,000+ players
๐ฎ Usage Guide
Control Scheme Overview
| Action | Location | Permission Required | Result | |--------|----------|-------------------|---------| | Double Click | Hotbar (slots 0-8) | `inventorywizard.all` | Sort inventory + hotbar | | Double Click | Hotbar (slots 0-8) | `inventorywizard.hotbar` | Sort hotbar only | | Double Click | Hotbar Slot 4 | `inventorywizard.use` | Cycle sorting modes | | Double Click | Main Inventory (slots 9-35) | `inventorywizard.inventory` | Sort main inventory | | Double Click | Chest | `inventorywizard.chest` | Sort chest contents | | Double Click | Hotbar (slots 0-8) | `inventorywizard.hotbar` | Sort hotbar only |
Sorting Your Inventory
- Open your inventory (`E`) - Shift+Right Click any slot in your main inventory area (slots 9-35) - Watch the magic happen! โจ
Sorting Your Hotbar
- Method 3: Method 3 any hotbar slot (0-8) with `inventorywizard.hotbar` permission - Method 3: Method 3 any hotbar slot - Method 3: Use command `/iwiz hotbar`
Sorting Chests
- Open any chest - Shift+Right Click any slot in the chest - The entire chest will be organized!
Sorting Everything
- Shift+Right Click in your hotbar (slots 0-8) with `inventorywizard.all` permission - Both your inventory and hotbar will be sorted!
Cycling Sorting Modes
- Stack-based Mode in hotbar slot 4 (middle slot) to cycle through sorting modes - Stack-based Mode: Smart categorization by item type - Stack-based Mode: Sort items alphabetically by name - Stack-based Mode: Group by item type, then sort by stack size (full stacks first) - Your preferred mode is saved and remembered for future sorting!
๐งโโ๏ธ Commands
| Command | Aliases | Description | Permission | |---------|---------|-------------|------------| | `/iwiz` | `/inventorywizard`, `/sort` | Base command | `inventorywizard.use` | | `/iwiz hotbar` | `/iwiz hb` | Sort hotbar only | `inventorywizard.hotbar` | | `/iwiz inventory` | `/iwiz inv` | Sort inventory only | `inventorywizard.inventory` | | `/iwiz all` | `/iwiz both` | Sort everything | `inventorywizard.all` |
๐ Permissions
| Permission | Description | Default | |------------|-------------|---------| | `inventorywizard.use` | Basic plugin access | `true` | | `inventorywizard.chest` | Sort chests | `true` | | `inventorywizard.inventory` | Sort player inventory | `true` | | `inventorywizard.hotbar` | Sort hotbar | `true` | | `inventorywizard.all` | Sort everything at once | `true` |
Permission Groups
```yaml
Example permissions setup
groups: default: permissions: - inventorywizard.use - inventorywizard.inventory - inventorywizard.hotbar
vip: permissions: - inventorywizard.* # All permissions ```
โ๏ธ Configuration
The plugin generates a `config.yml` file with the following options:
```yaml
InventoryWizard Configuration
settings:
Play magical sound effects when sorting
play-sound: true
Sound settings for the wizard's magic
sound: type: UI_BUTTON_CLICK volume: 0.5 pitch: 1.2
Sorting method: "TYPE" for smart categorization or "ALPHABETICAL"
sort-method: "TYPE"
Enable/disable magical features
features: chest-sorting: true inventory-sorting: true hotbar-sorting: true show-messages: true
Allow sorting of partial stacks in chests (set false to only sort full stacks)
allow-partial-stacks-chest: true
Allow sorting of partial stacks in player inventory (set false to only sort full stacks)
allow-partial-stacks-inventory: true
Hotbar sorting priorities (optimized for PvP/survival)
hotbar-priorities: weapons: 100 # Swords, bows, crossbows first tools: 200 # Pickaxes, axes, shovels second food: 300 # Sustenance third building-blocks: 400 # Quick-build materials fourth utility-items: 500 # Ender pearls, buckets, torches other: 999 # Everything else ```
Partial Stack Sorting Behavior
- `allow-partial-stacks-chest` and `allow-partial-stacks-inventory` control whether partial stacks are included in sorting for chests and player inventory, respectively. - If set to `false`: All items, including partial stacks, are sorted and consolidated as much as possible. - If set to `false`: Only full stacks are sorted. Any leftover partial stacks are left unsorted at the end of the inventory or chest.
๐ Sorting Modes
Default Mode (Smart Categorization)
Items are sorted by logical categories:
1. Miscellaneous - Stone, granite, cobblestone, deepslate, etc. 2. Miscellaneous - Dirt, sand, gravel, clay, concrete, etc. 3. Miscellaneous - Logs, planks, leaves, saplings 4. Miscellaneous - Iron blocks, diamond blocks, etc. 5. Miscellaneous - Remaining building materials 6. Miscellaneous - Pickaxes, axes, shovels, shears, etc. 7. Miscellaneous - Swords, bows, arrows, tridents 8. Miscellaneous - Helmets, chestplates, boots, shields 9. Miscellaneous - All edible items 10. Miscellaneous - Redstone components and mechanisms 11. Miscellaneous - Boats, minecarts, saddles 12. Miscellaneous - Flowers, carpets, banners, etc. 13. Miscellaneous - Everything else
Alphabetical Mode
Items are sorted alphabetically by their material name (A-Z).
Stack-based Mode
Items are grouped by type first, then sorted by stack size within each type. Full stacks appear before partial stacks of the same item.
Hotbar Sorting Order (Optimized for PvP/Survival)
1. Other Items - Combat items for quick access 2. Other Items - Essential survival tools 3. Other Items - Health restoration 4. Other Items - Cobblestone, dirt for quick building 5. Other Items - Ender pearls, buckets, torches 6. Other Items - Miscellaneous
๐ง Building from Source
```bash
Clone the repository
git clone https://github.com/VanishingTacos/inventorywizard.git cd inventorywizard
Build with Maven
mvn clean package
The JAR will be in target/InventoryWizard-1.0.0.jar
```
Development Requirements
- Java 17+ - Maven 3.6+ - PaperMC API 1.21.4+
๐ค Contributing
Contributions are welcome! Please feel free to submit pull requests, report bugs, or suggest features.
1. Submit the repository 2. Submit a feature branch: `git checkout -b feature-name` 3. Submit your changes: `git commit -am 'Add some feature'` 4. Submit to the branch: `git push origin feature-name` 5. Submit a pull request
๐ Changelog
Version 1.1.1
- ๐ก๏ธ Documentation Improvements - Prevents excessive sorting to avoid server lag and abuse (configurable per player) - ๐๏ธ Documentation Improvements - Improved performance and secuirty for inventory data storage - ๐ Documentation Improvements - Fixed rare issues with inventory sync and sorting edge cases - ๐ Documentation Improvements - Expanded README and in-game help for new features
Version 1.1.0
- โจ Mode Cycling - Group items by type, then sort by stack size (full stacks first) - ๐ Mode Cycling - Partial stacks maintain their original sizes without combining - ๐ฆ Mode Cycling - Items grouped alphabetically by material name within stack-based mode - ๐ฏ Mode Cycling - Improved stack size sorting (largest to smallest within each material type) - ๐งโโ๏ธ Mode Cycling - Easily switch between Default, Alphabetical, and Stack-based sorting modes
Version 1.0.1
- ๐ง Updated documentation - Removed middle click, improved Shift+Right Click logic - ๐ฏ Updated documentation - Priority-based permission system for combined sorting - ๐ ๏ธ Updated documentation - Eliminated duplicate event handlers and improved reliability - ๐ Updated documentation - Clearer instructions and permission requirements
Version 1.0.0
- โจ Initial release - ๐งโโ๏ธ Smart inventory sorting with type-based categorization - ๐ฏ Hotbar optimization for PvP/survival gameplay - ๐ฆ Chest organization support - ๐ฑ๏ธ Multiple control methods (click-based and commands) - ๐ Audio feedback and magical messages - โ๏ธ Comprehensive configuration options
๐ License
This project is licensed under the MIT License - see the LICENSE file for details.
๐ Acknowledgments
- Plugin Developers for the excellent server software - Plugin Developers for inspiration and feedback - Plugin Developers who paved the way for quality Bukkit plugins
---
โ Support InventoryWizard
If you enjoy using InventoryWizard and want to support its development, you can buy me a coffee!
<a href="https://buymeacoffee.com/vanishingtacos" target="_blank"> <img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" width="150" > </a>
for the Minecraft community โค๏ธ for the Minecraft community โจ for the Minecraft community
*Transform your chaotic inventory into organized perfection with InventoryWizard!* ๐งโโ๏ธ