HomeJavaModsLocked Items (trade blocker)
Locked Items (trade blocker)
[​IMG]
Banner made by @CodingPig
This is my very first custom plugin, and now I decided to recode it as a beta version and share it to public :)
Prevent certain item from being transferred from player to player, neccessary for offline servers. You want to give newbies op items and don't want players to create fake account to farm them without limiting their ip? Locked Items can do it.
Depends: DeathDropsAPI
[​IMG]
[​IMG]
[​IMG]
Features:
- Lightweight
- Prevent locked items from being transferred by following methods:
- Any locked item being transferred by these methods, the owner's name will be written to them.
- Locked item's name can't be changed by anvils, can still be enchanted by anvils but can not be enchanted as a #2 slot of anvils (for example a locked enchanted book can't be used to add enchantment to weapons)
- A locked item with owner name in chest, hopper, dropper, dispenser, brewing stand, furnace can't be clicked by a player that is not the owner
- If a player have a locked item with someone else's name written on it, they will lost that item.
Requirements
- Java 8
- Bukkit/Spigot 1.7.10 (newest protocolhack one) and 1.8 thru 1.11.2
- Item must have a name to be locked
/**************/
Commands
/lockeditems: Lock/Unlock item
/lockeditems reload: reload config
Aliases: li, lockitem
Permissions:
lockeditems.*: all plugin's permissions
lockeditems.admin: access to /lockeditems command
lockeditems.ignore: bypass the check
Installation
- Install DeathDropsAPI
- Put the jar to your plugins folder
- Reload/restart server or load the plugin by your plugin manager
- Edit the configuration file
- /lockeditems reload
Other plugin coming soon
Timed Items: Items with expire date!
Any bug or suggestion please make a post in the discussion section
Current known issue: None!
Leave a good rating if you like this plugin :)
Source code: Github

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Locked Items (trade blocker) is a free Minecraft Java mod. Compatible with Minecraft 1.9, 1.10, 1.11, 1.12. Downloaded 10,040 times (via Spigot). Download it and open it directly in the game.

Explore more