▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/InventoryWizard
InventoryWizard

InventoryWizard

Transform your chaotic inventory into organized perfection with InventoryWizard! 🧙‍♂️

159
1

🧙‍♂️ 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!

License Minecraft PaperMC

🌟 Features

Intelligent Sorting

  • Smart categorization - Items are grouped logically (weapons, tools, food, blocks, etc.)
  • Hotbar optimization - Weapons and tools prioritized for PvP/survival gameplay
  • Stack consolidation - Automatically combines partial stacks
  • Configurable partial stack sorting - 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 - Sort inventories, chests, and hotbar
  • Double Click - Alternative hotbar sorting
  • Commands - /iwiz for programmatic sorting
  • Shift+Right Click in Hotbar Slot 4 - Cycle through sorting modes

🎒 Comprehensive Coverage

  • Player Inventory - Organize your main storage
  • Hotbar - Optimized for quick access to combat/survival items
  • Chests - Keep your storage containers tidy
  • All-in-one - Sort everything simultaneously

📥 Installation

  1. Download the latest InventoryWizard-x.x.x.jar from the releases page
  2. Place the JAR file in your server's plugins folder
  3. Restart your server
  4. Configure the plugin using plugins/InventoryWizard/config.yml (optional)

Requirements

  • Minecraft: 1.21.x
  • Server: PaperMC, Spigot, or compatible fork
  • Java: 17 or higher

Database

  • H2 Database: Embedded, no external setup required
  • Storage: plugins/InventoryWizard/player_preferences.mv.db
  • Performance: Optimized for servers with 1-10,000+ players

🎮 Usage Guide

Control Scheme Overview

ActionLocationPermission RequiredResult
Shift+Right ClickHotbar (slots 0-8)inventorywizard.allSort inventory + hotbar
Shift+Right ClickHotbar (slots 0-8)inventorywizard.hotbarSort hotbar only
Shift+Right ClickHotbar Slot 4inventorywizard.useCycle sorting modes
Shift+Right ClickMain Inventory (slots 9-35)inventorywizard.inventorySort main inventory
Shift+Right ClickChestinventorywizard.chestSort chest contents
Double ClickHotbar (slots 0-8)inventorywizard.hotbarSort 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 1: Shift+Right Click any hotbar slot (0-8) with inventorywizard.hotbar permission
  • Method 2: Double Click 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

  • Shift+Right Click in hotbar slot 4 (middle slot) to cycle through sorting modes
  • Default Mode: Smart categorization by item type
  • Alphabetical 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

CommandAliasesDescriptionPermission
/iwiz/inventorywizard, /sortBase commandinventorywizard.use
/iwiz hotbar/iwiz hbSort hotbar onlyinventorywizard.hotbar
/iwiz inventory/iwiz invSort inventory onlyinventorywizard.inventory
/iwiz all/iwiz bothSort everythinginventorywizard.all

🔐 Permissions

PermissionDescriptionDefault
inventorywizard.useBasic plugin accesstrue
inventorywizard.chestSort cheststrue
inventorywizard.inventorySort player inventorytrue
inventorywizard.hotbarSort hotbartrue
inventorywizard.allSort everything at oncetrue

Permission Groups

# 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:

# 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 true: 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. Stone Types - Stone, granite, cobblestone, deepslate, etc.
  2. Earth Types - Dirt, sand, gravel, clay, concrete, etc.
  3. Wood Types - Logs, planks, leaves, saplings
  4. Ores & Metals - Iron blocks, diamond blocks, etc.
  5. Other Blocks - Remaining building materials
  6. Tools - Pickaxes, axes, shovels, shears, etc.
  7. Weapons - Swords, bows, arrows, tridents
  8. Armor - Helmets, chestplates, boots, shields
  9. Food - All edible items
  10. Redstone - Redstone components and mechanisms
  11. Transportation - Boats, minecarts, saddles
  12. Decoration - 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. Weapons - Combat items for quick access
  2. Tools - Essential survival tools
  3. Food - Health restoration
  4. Building Blocks - Cobblestone, dirt for quick building
  5. Utility Items - Ender pearls, buckets, torches
  6. Other Items - Miscellaneous

🔧 Building from Source

# 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. Fork the repository
  2. Create a feature branch: git checkout -b feature-name
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin feature-name
  5. Submit a pull request

📜 Changelog

Version 1.1.1

  • 🛡️ Rate Limiting Added - Prevents excessive sorting to avoid server lag and abuse (configurable per player)
  • 🗃️ H2 Database - Improved performance and secuirty for inventory data storage
  • 🐛 Bug Fixes - 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

  • New Stack-based Sorting Mode - Group items by type, then sort by stack size (full stacks first)
    • 🔄 Preserved Individual Stacks - Partial stacks maintain their original sizes without combining
  • 📦 Alphabetical Material Grouping - Items grouped alphabetically by material name within stack-based mode
  • 🎯 Enhanced Sorting Logic - 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

  • 🔧 Fixed control scheme - Removed middle click, improved Shift+Right Click logic
  • 🎯 Enhanced hotbar sorting - Priority-based permission system for combined sorting
  • 🛠️ Code optimization - 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

  • PaperMC Team for the excellent server software
  • Minecraft Community 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!

Buy Me A Coffee

Made with ❤️ andfor the Minecraft community

Transform your chaotic inventory into organized perfection with InventoryWizard! 🧙‍♂️

Совместимость

Minecraft: Java Edition

1.21.x

Платформы

Поддерживаемые окружения

Сервер

Детали

Лицензия:MIT
Опубликован:8 месяцев назад
Обновлён:7 месяцев назад
Главная