zInventoryLock Lock Specific Inventory Slots to Prevent Item Movement
A Lightweight Plugin for Minecraft Servers
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✨ Features
Slot Locking - Lock specific hotbar slots (0-8) to prevent item movement
Sound Effects - Customizable sound feedback when players interact with locked slots
✨ Particle Effects - Visual particles to indicate locked slot interactions
Per-Player Settings - Individual slot locks for each player
Global Locks - Server-wide slot restrictions
⚡ Lightweight - Minimal performance impact
Easy Configuration - Simple YAML configuration file
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Commands & Permissions
Spoiler: Click to expand command table
Command
Description
Permission
Default
/invlock lock <slot>
Lock a hotbar slot
zinvlock.lock
OP
/invlock unlock <slot>
Unlock a hotbar slot
zinvlock.unlock
OP
/invlock reload
Reload plugin configuration
zinvlock.reload
OP
Aliases:
/ilock, /inventorylock
Spoiler: Click to expand permissions table
Permission
Description
Default
zinvlock.use
Basic command usage
OP
zinvlock.lock
Lock inventory slots
OP
zinvlock.unlock
Unlock inventory slots
OP
zinvlock.reload
Reload configuration
OP
zinvlock.bypass
Bypass all slot locks
OP
zinvlock.*
All permissions
OP
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
In-Game Messages
Slot {slot} has been locked! - Successful lock
Slot {slot} has been unlocked! - Successful unlock
This slot is locked! You cannot move items here. - Blocked interaction
Slot {slot} is already locked! - Already locked
Invalid slot number! Use 0-8 for hotbar slots. - Invalid input
Color codes use Minecraft's & formatting
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ Configuration
Code (Text):
# zInventoryLock Configuration
settings:
sound_enabled: true
sound_type: "ENTITY_VILLAGER_NO"
sound_volume: 0.5
sound_pitch: 1.0
particles_enabled: true
particle_type: "CLOUD"
particle_count: 3
global_locked_slots: []
messages:
slot_locked: "&aSlot {slot} has been locked!"
slot_unlocked: "&aSlot {slot} has been unlocked!"
slot_blocked: "&cThis slot is locked! You cannot move items here."
# ... more messages
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Requirements
Requirement
Version
Minecraft
1.20+
Java
17+
Server Software
Spigot/Paper/Bukkit
Dependencies
None
Minimal dependencies for easy installation
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Installation
Download the plugin JAR file
Place it in your server's plugins folder
Restart your server
Configure settings in plugins/zInventoryLock/config.yml
Use /invlock reload to apply changes
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Usage Examples
Code (Text):
/invlock lock 0 # Lock hotbar slot 0
/invlock unlock 4 # Unlock hotbar slot 4
/invlock reload # Reload configuration
Hotbar slots are numbered 0-8 from left to right
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
License
This project is licensed under the MIT License
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Author
Made with ❤️ by GamingHuzai
Discord: huzaidev
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
zInventoryLock - Keep Your Inventory Secure ️