Slot Lock
Slot Lock
Features
Lock any item in any slot. You can easily do this with the lockhand command, and all 1.8 items like player skulls and banners are supported!
You can lock different items in the same slot for different people using perms. You can also make per-world locks with world perms in PEX or GM.
--------------------------------------------------------------
Commands
/sl reload
/sl lockhand <perm> (Sets for item in hand)
/sl lockhand <perm> <slot>
/sl setCommand <player/console> <command>
/sl setCanUse <true/flase> (Sets for item in hand)
/sl world <enable/disable> <world>
--------------------------------------------------------------
Permissions
Permission to use the /reload or /help commands:
"slot.lock.commands" allows you to use slot lock commands.
"slot.lock.drop" allows you to drop from locked slots.
Also whatever permissions you define in the slots configuration.
--------------------------------------------------------------
Configuration/Installation
1. Drop the plugin into your plugins folder and restart the server.
2. Lock slots as wanted using the commands.
3. Change enabled worlds and other things only using commands.
NO support will be proved for people who manually edit the config!
--------------------------------------------------------------
Upcoming Features
- Bug fixes?
--------------------------------------------------------------
Donate
If you like my plugins and want to help me out:
--------------------------------------------------------------
MC Stats
This plugin utilizes Hidendra's plugin metrics system, which means that mcstats.org collects server info like: A unique identifier, The server's version of Java, Whether the server is in offline or online mode, The plugin's version, The server's version, The OS version/name and architecture, The core count for the CPU, The number of players online, and the Metrics version. Opting out of this service can be done by editing plugins/Plugin Metrics/config.yml and changing opt-out to true. For more information, see the guidelines.
--------------------------------------------------------------
YouTube/FaceBook/Twitter
Check out my YouTube for more Minecraft awesomeness:
http://www.youtube.com/user/Jacobvejvoda
Keep up to date with my stuffs at my FB page/Twitter:
https://www.facebook.com/EliminatorProductions
https://twitter.com/Elimnator
Im not adding this into slot-lock, but I might make a new plugin.
Hey! Look, i want something like this: *link* Is there any way to add, for the still existing/not locked slots from your plugin, items that are defined on some kind of a whitelist and only those items can be placed on those slots? Also, is it possible for you to add the option to completly "disable" slots, like no item, neither from pickup or drag/drop, ever gets into those disabled slots?
Thanks alot :)
Yes, you can make a donor have certain slots locked/un-locked, while other players don't have that. But you can't have different items in the same slot for different people.
Is there way to make different groups have a different inventory like donor gets one extra thing?
Yes, thanks for the info, but Please don't post in huge letters...
@all
This plugin conflicts with Scavenger, if you use these two plugins together, there will be a "little" bug - DUPLICATING ITEMS. Thx for attention!
You can have items locked for certain people in certain worlds if you use PEX.
Each slot has "permission: slot.perm" you can define for each slot.
However as of now there is no support for locking the same slot with different items for different people.
@jacob_vejvoda Is this multiverse compatible and can you add a permission that if you have this then your inventory is locked. People without this permission go on like normal
@icomputerz
That is not from slot-lock, PEX is causing it, try updating PEX.
Hey jacob_vejvoda, hope all is well.
With the new versions, I keep having this error over and over:
http://dev.bukkit.org/paste/8710/
Please post a paste-bin of you console when you start up.
It wont work for me, i put it in my plugins folder restarted my server but it did nothing? COnfig file wasn't there and i looked at my plugin list (/pl) and it wasn't there! HELP PLZ
Your sure its this plugin that's causing the lag? It may be another one in combination with this one.
This plugin gives me a lot of lag when I attack a mob in survival mode.
Spawn 10 zombies and try to fight with them!
I think thats why the inventory is updating ever.
ok i figured it out but how would i got about having the locked armor slots dyed a pacific color?
Paste your config on paste-bin and post a link, Ill tell you what your doing wrong.
this plugin doesn't seem to be working for me perhaps someone could make a tutorial?
@CommodoreAlpha
Sounds good, Ill do something like that.
Instead of handling slot-locking the way you currently do, may I propose an alternative?
Perhaps instead, you could "slot-lock groups", each of which have their own (custom) permission. Allow me to explain:
You can designate, for example, two groups within the config. The first group, named "ExampleA" locks all slots of the hotbar with dirt blocks. The second group, named "ExampleB" locks only the first slot of the hotbar with a written book. If you wanted a player to have their entire hotbar locked, you would give them the "slot.lock.ExampleA" permission, and if you wanted a player to have only that book in the first slot, you would give them the "slot.lock.ExampleB" permission.
This practically eliminates any need for multiworld support, and makes this plugin much more flexible.
"It is not possible to pop up the book GUI, it is handled entirely on the client side."
I'm afraid you will just have to use the quick-bar.