Plugin category: Mechanics Suggested name: InventoryLock What I want: I'v been using InventoryPlus a long time. Now it doesn't work anymore I need a plugin that allows me to lock specific slots. I'm using the KingsKit plugin and i need it for the RPG-Aspect That means that the items are getting placed in the inventory and the plugin shouldn't deny this. Code: locked: - 0 - 1 - 2 - 36 - 37 - 38 - 39 //this locks the first 3 hotbar slots and the armor slots Ideas for commands: /lock (number of slot) Ideas for permissions: inventorylock.bypass When I'd like it by: asap
@Hergarian Just a note here that the Armor Slots are 36-39, not 100-103. I could go into detail why the Wiki says 100-103 but I won't. Just remember that Bukkit Plugins will only work with the Slots 36-39 and not 100-103.
Really simple! Hang on! DONE: http://ci.zsinfo.nl/job/InventoryLock/lastSuccessfulBuild/ Also needed: http://ci.zsinfo.nl/job/ZSUtilities/lastSuccessfulBuild/ Note: Ops and people with inventorylock.bypass can click the locked slots.
Hello @Zandor300 thank you for it. I couldn't test it till today. The current ploblem is: 1. The player can still drop the item 2. If i click a locked slot once it got put back. But if i click it direclty again i can move it.
@Hergarian I'll fix that right away now! EDIT: FIXED! Download from the same link build 4 or higher! (Not tested because I can't right now) The client gets out of sync of the server and the item is still there but the client thinks it's not there...
@Hergarian The client gets out of sync with the server so it looks like it duplicates but it doesn't. I can't really fix this...