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
@kbalor
Its not a bug, and it won't be fixed. This is mean to lock items in slots, not toggle locked items.
@jacob_vejvoda
thanks mr jacob. now my only problem is saving toggle on/off support. hope to be fixed.
@kbalor
You gave them the wrong perm, the perm is whatever you write.
How do I allow other players to use the lock items? Because when a player joins and spawned the items were automatically vanished. I think this is because of the permission. I wrote - slot.lock.slot0 from PEX but the item still vanishing. what is the correct permission for it?
basically items only shown if you are an op
@Sprolez
Yah, I think its caused by updating to the new set-up with and old config.
@MineCraftMyph
I've had a error that's similar to yours..... I think it's because you didn't fill out the config for the locked inventory slots correctly/completely. Because after I erased the locked slots I typed in the config and set the locked slots in-game using the in-game commands, the error didn't appear for me anymore.
@MineCraftMyph
Did you update from an old version? What server/SL version do you have?
Your latest version contains bugs.
@jacob_vejvoda
For example, someone clears their inventory or is in Creative when they join the server, the items don't reappear in their inventory until they try to move an item's location that's in one of the inventory slots that were locked. Example pictures for clear inventory:Picture #1 Picture #2 Picture #3 Picture #4 Picture #5 I was thinking you could do something like an auto-refresh so that whenever its not in the in persons inventory it would automatically reappear without them having to do anything (e.g. put an item in a locked slot and then try to move it out to refresh it for the locked items to reappear).
@Sprolez
What do you mean?
Is there anyway that you could add a auto refresh to the config? So it could refresh the selected areas that are locked in the inventory.
@jessefjxm
No, manual edit should work for commands. Just remove it and so /sl reload
Wondering if there's a way to clear the command bound to slot in v2.6, for example, /antioch is bound to slot 0 as default, and I want to remove it. Manually editing proved useless, as you mentioned :(
@jacob_vejvoda
I know but my server isn't ready to be updated.
@sgdc3
Just update, 1.9 will be released soon.
@jacob_vejvoda
I tryed, but I need the latest features of the plugin...
@sgdc3
Just use an old version.
Could you make a quick fix for 1.7.10? (Just delete all BANNER referencies in the source)
@sgdc3
Yep, latest version is for 1.8 as the download says...
Latest version is incompatible with 1.7.10 (Spams errors about banners)