ModsJava
DropItemControl
A plugin that prevents players from dropping locked items.
⬇ Download on HangarOpen in MCModsHubGet it on Google Play →# DropItemControl
A Minecraft plugin that allows players to lock items to prevent accidental dropping or placing into containers—ideal for protecting special tools.
## Features
- **Item Locking**: Prevents dropping or placing items into containers
- **Comprehensive Protection**: Blocks placing into grindstone, enchantment table, anvil, smithing table, and villager trading
- **Multiple Lock Modes**:
- Lock individual items
- Lock by item type (all items of the same type)
- Lock all items in the inventory
- **Flexible Management**:
- Limit the number of items each player can lock
- LuckPerms support for setting different limits for different player groups
- **User-Friendly**:
- Smart command suggestions (tab completion)
- Clear, color-coded notifications
- **Highly Customizable**:
- Player data stored in individual files
- Customizable messages and item lore
- Enable/disable the plugin with a command
## Commands
All commands use the `/dic` prefix for consistency and easy access:
### Main Command
- `/dic help` - Display command help
### Lock Items
- `/dic lock` - Lock the item in your hand
- `/dic lock type` - Lock all items of the same type
- `/dic lock all` - Lock all items in your inventory
### Unlock Items
- `/dic unlock` - Unlock the item in your hand
- `/dic unlock type` - Unlock all items of the same type
- `/dic unlock all` - Unlock all items in your inventory
### Management
- `/dic list` - View information about locked items
- `/dic toggle` - Enable/disable the plugin (admin only)
- `/dic on` - Enable the plugin (admin only)
- `/dic off` - Disable the plugin and remove lock lore (admin only)
> **Note**: Legacy commands (`/lockitem`, `/unlockitem`, etc.) are still supported for backward compatibility.
## Permissions
- `dropitemcontrol.lock` - Allow item locking
- `dropitemcontrol.unlock` - Allow item unlocking
- `dropitemcontrol.list` - Allow viewing the locked items list
- `dropitemcontrol.admin` - Admin rights for plugin control
- `dropitemcontrol.limit.` - Set the maximum number of items a player can lock
## Installation
1. Download the JAR file from Releases or build from source
2. Place the JAR file into the server’s `plugins` folder
3. Restart the server
## Requirements
- Minecraft 1.21+
- Paper or compatible forks
- Java 21+
## Configuration
You can customize settings in the `config.yml` file:
```yaml
# Maximum number of locked items per player
max-locked-items: 5
# Messages
messages:
prefix: "&8[&bDropItemControl&8] &7"
item-locked: "&aItem &f%item% &ahas been locked in your hand!"
# ...
# Other settings
settings:
# Show lore on locked items
show-lock-lore: true
# Lore displayed on locked items
lock-lore: "&c&lLocked - Cannot be dropped"
# Allow lock by item type
lock-by-item-type: true
# Count each item type as one lock slot
count-by-item-type: true
```
## Support
Need help or have questions? Join our Discord server:
https://discord.gg/4PaYftZwu3
DropItemControl is a free Minecraft Java mod. Compatible with Minecraft 1.21, 1.21.1, 1.21.2, 1.21.3 and newer. Downloaded 71 times (via Hangar). Download it and open it directly in the game.
Explore more