What Is the RandomDrop Addon for InventoryKeeper?
Every Minecraft server administrator knows the pain of balancing death penalties. Too harsh, and players rage quit. Too lenient, and there is no risk. The RandomDrop addon for InventoryKeeper introduces a clever middle ground: instead of dropping everything or keeping everything, players lose only a random selection of their items on death. This small tweak creates unpredictable, exciting gameplay without feeling unfair. Built as an extension to the popular InventoryKeeper plugin, RandomDrop gives you precise control over how many items vanish and which ones are protected.
Imagine a PvP arena where a warrior might drop their enchanted sword or just a stack of cobblestone. The uncertainty keeps every encounter tense. Server owners can also use the addon for a random clear mechanic, removing items from the inventory entirely rather than dropping them on the ground. Whether you run a survival world, a minigame hub, or a hardcore realm, this addon adds a fresh layer of strategy.
Key Features That Make RandomDrop Stand Out
RandomDrop is not just a simple item dropper. It comes packed with thoughtful features that integrate seamlessly with InventoryKeeper’s existing framework. Here is what you can expect:
- Randomized drop amounts – Define a maximum number of items that can drop on death. The addon picks items randomly from the player’s inventory, so no two deaths are identical.
- Hex color support – All messages and lore lines can use modern hex color codes, making your server’s death messages look polished and professional.
- Hover messages – Players can hover over items in chat to see detailed information, such as enchantments or custom lore, before the item is lost.
- Exemption system – Protect specific items by material or lore. For example, a golden apple with the lore “&6Protected item” will never drop, no matter what.
- Random clear option – Instead of dropping items on the ground, you can configure the addon to simply delete a random selection from the inventory, perfect for hardcore or ultra-clean game modes.
Requirements and Compatibility
Before you dive into configuration, make sure your server meets the prerequisites. RandomDrop is an addon, meaning it cannot run standalone. You need InventoryKeeper version 2.1.1 or higher installed on your Spigot, Paper, or any compatible Minecraft server. The addon works with Minecraft versions 1.16 and above, though it is always wise to test on your specific build. No additional dependencies are required, and the lightweight design ensures minimal impact on server performance.
For players who prefer a streamlined experience, installing and managing mods like RandomDrop is a breeze with the foxygame.net launcher — a convenient, flexible, and modern Minecraft launcher where you can download mods right from the menu. While RandomDrop itself is a server-side plugin, the launcher can help you quickly assemble a compatible modpack or keep your client-side mods organized when connecting to a custom server.
Installation and Setup
Getting RandomDrop running takes only a few minutes. First, download the addon JAR file from the official SpigotMC page or your preferred plugin repository. Place it in the /plugins folder of your server. Then, ensure InventoryKeeper is already installed and working. Restart the server or run /plugman load RandomDrop if you use a plugin manager. The addon will generate a default configuration file inside the InventoryKeeper folder, so you do not need to create anything manually.
Once loaded, you can immediately start using the random drop feature by editing the items.yml file inside the InventoryKeeper plugin directory. There is no separate config for RandomDrop; everything is managed through InventoryKeeper’s item settings. This tight integration makes maintenance straightforward.
Configuration Guide: Enabling Random Drop
To activate random drops for a specific item group, open items.yml and locate the item setting you want to modify. Add the following lines to enable the feature:
max-drop: 2– This sets the maximum number of items that can be dropped from that category on death. If you set it to 2, the addon will randomly select up to two items to drop.exempt-drop-lore– A list of lore strings. Any item whose lore contains one of these strings will be completely safe from dropping. The match is partial, so you do not need to copy the entire lore line exactly.exempt-drop-material– A list of material names (likeGOLDEN_APPLEorIRON). All items with IDs containing these strings are protected. Note that numeric IDs are unsupported; use modern material names only.
Here is a practical example. You want players to lose at most two random items on death, but any item with the lore “&6Protected item” or any golden apple should stay safe. Your configuration snippet would look like this:
max-drop: 2
exempt-drop-lore:
- '&6Protected item'
exempt-drop-material:
- 'GOLDEN_APPLE'
After saving the file, reload the configuration with /rd reload (requires the randomdrop.reload permission). All changes take effect immediately without a server restart.
Commands and Permissions
RandomDrop keeps things simple with a single command and one permission node. The command /rd reload reloads all messages from the config.yml file, which is useful after you have customized the death notification texts. To use this command, a player (or console) needs the permission randomdrop.reload. Typically, you grant this to server operators and administrators.
There are no other commands, as the addon relies entirely on InventoryKeeper’s framework for item management. This minimal approach reduces complexity and makes it easy for staff to learn.
Advanced Usage: Random Clear
If you prefer that items vanish entirely rather than litter the ground, RandomDrop offers a random clear function. The setup is almost identical. In your items.yml, add the following keys:
max-clear: 1– The maximum number of items that will be deleted from the inventory on death.exempt-drop-loreandexempt-drop-materialwork exactly the same way, protecting designated items from being cleared.
For example, setting max-clear: 1 and exempting golden apples means that each death will delete exactly one random item, but never a golden apple. This mode is fantastic for ultra-hardcore servers where you want to keep the world clean and add a persistent sense of loss.
Tips for Server Owners
To get the most out of RandomDrop, consider these practical tips. First, combine the addon with InventoryKeeper’s keep-inventory groups to create a hybrid system: some items are always kept, some are randomly dropped, and others are cleared. Second, use hex color codes in your exemption lore to make protected items visually distinct, so players instantly know what they risk losing. Third, test the drop chances with a small group before rolling out to the whole server; you can adjust max-drop to find the sweet spot between challenge and frustration.
Also, remember that the hover message feature only works if your chat plugin supports JSON hover events. Most modern setups do, but it is worth verifying. Finally, keep InventoryKeeper updated, as RandomDrop depends on its API. A mismatch in versions can cause the addon to silently fail.
Conclusion
The RandomDrop addon transforms death from a predictable punishment into a dynamic event. By randomly selecting which items drop or clear, you inject suspense and strategy into every life lost. Its seamless integration with InventoryKeeper, hex color support, and flexible exemption rules make it a must-have for server owners who want to fine-tune their gameplay balance. Whether you are building a competitive PvP arena, a survival economy, or a hardcore challenge, RandomDrop gives you the tools to create a truly unique Minecraft experience. Install it today, tweak the config to match your vision, and watch your players adapt to the thrill of the unknown.