- Player's item lock
- Players aren't afraid of losing items
You can access to LockedItem by using LockedItem::getInstance()
## All LockedItem Commands:
| Command | Description |
|---|---|
| /setlock | Lock the item in hand |
| /unlock | Unlock the item in hand |
## 📃 Permissions:
- You can use permission
lockeditem.setlockfor command /setlock - You can use permission
lockeditem.unlockfor command /unlock
**Example:** ```php LockedItem::getInstance()->setLocked($item); ``` ## Project Infomation
| Plugin Version | Pocketmine API | PHP Version | Plugin Status |
|---|---|---|---|
| 1.0.0 | 3.x.x | 7.4 | Completed |