LimitDrops is a small, lightweight plugin which stops players from dropping items and lagging the server. It's mainly of use for Creative servers, where a hacked client can be used to drop large amounts of items.
There are four sources of drops that can be prevented, each of which can be enabled/disabled individually:
- Prevent players from dropping items. This can also be done with WorldGuard.
- Prevent containers from dropping their inventories. The event itself is not canceled, so the block itself is still dropped normally. Shulker boxes are not emptied because the shulker box drop itself includes the contents.
- Prevent minecarts/boats with inventories from dropping their inventories. The event itself is not canceled, so the minecart/boat itself is still dropped normally.
- Prevent dispensers/droppers from dispensing anything. WorldGuard can do this, but only for items on the blacklist.
Configuration (Required)
After installing LimitDrops and restarting your server, you need to edit the configuration file and add which world(s) you want to be affected by adding the names to the worlds section. List one world per line. Then restart your server.
By default the plugin will have all four cases listed above enabled. You can control which ones are active by changing the limit-drops section for player, container-inventory, minecart-inventory, and dispenser.
Set prevent-shulkerbox-creative-drops to true to prevent the drop of shulker boxes and their contents when broken by a player in Creative mode. This setting defaults to false, allowing shulker box drops in Creative mode.
You can also change the drop-message shown to players who attempt to drop items. Set it to an empty string "" to not show a message.
Here is the default configuration file:
worlds:
- putyourworldshere
limit-drops:
player: true
container-inventory: true
minecart-inventory: true
dispenser: true
prevent-shulkerbox-creative-drops: false
drop-message: "&cInventory drops are not allowed in this world."
Commands/Permissions
None
Miscellaneous
This plugin uses the bStats metrics system to provide anonymous usage data. You may opt-out globally by changing plugins/bStats/config.yml. The metrics are available at https://bstats.org/plugin/bukkit/LimitDrops/21059
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta