Slot Lock

Slot Lock

Slot Lock

Slot Lock


Set which slots you want locked, the item you want locked in the slot, how many of the item, the name, the lore(s), and enchantments.
You can also set a command and book from the books.yml if the item is a book.



/sl help

/sl reload

/sl info



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.



1. Drop the plugin into your plugins folder and restart the server.

2. Edit the config and set the locked slots.

3. Do /sl reload

Here is an example config:

#Just put - <all> to enable all worlds.
#slotlock contains the players slots you want locked (0-39).
#(0-8) are the hot-bar, (9-35) are the inventory, and (36-39) is the armor.
#item is the item locked in the slot, amount is the amount of items,
#permission is the permission node you must have for the slots to be locked, 
#name is the item name, and lore is the item lore.
#The book section is for what book name in the book file will be used.
#Command is the command that will be run, null for none.
#canUse is whether or not you can use the item, like throw it or eat it.
  - <all>
#  - world
#  - world_the_end
lockCreative: false
    item: "387"
    amount: 1
    name: "&4Book o' Info"
    lore1: "&3This is a book of info"
    lore2: "&cYes it is..."
        enchantment: DAMAGE_ARTHROPODS
        level: 1
    book: info
    permission: "slot.0"
    item: "350:2"
    amount: 1
    name: LockedSLot
    lore1: This is a locked slot
    commandUser: console
    command: "give <player> 1 1"
    permission: slot.two
    canUse: false

In enabledworlds ether put the worlds you wand enabled or <all> for all worlds.
Under slotlock the first number is the slot, the item is the item in that slot, and amount is the amount of items.

Here is an example book.yml:

  author: Eliminator
  title: "Book O' Info"
    1: "&l   --INFO--\nThis book is awesome!"
    2: "&2Its full of info!"
    3: "&4Thats right!"
    4: "&5Colours\n&6Colours\n&7And more colours!"
    5: "The End...\n\n\n...or is it?"


Upcoming Features

- Possibly different locks for the same slot?

- Ask!



If you like my plugins and want to help me out:


MC Stats

This plugin utilizes Hidendra's plugin metrics system, which means that 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.



Check out my YouTube for more Minecraft awesomeness:

Keep up to date with my stuffs at my FB page:

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of jacob_vejvoda jacob_vejvoda Apr 12, 2015 at 05:42 UTC - 0 likes

    @jessefjxm: Go

    Create a ticket with the server version and SL version.

    Check out my YouTube, my Face-book, my Game, and my Mods!

    PM me, (-; ZBDH8cccdcef21ccfea0c8915347baa0a716

  • Avatar of jessefjxm jessefjxm Apr 12, 2015 at 05:29 UTC - 0 likes

    Meet a Error about PEX:

    And they say "slot_lock is broken". Hope there's a way to fix this :)


  • Avatar of jacob_vejvoda jacob_vejvoda Apr 10, 2015 at 16:26 UTC - 0 likes

    @Icewing4922: Go

    You can't, only one command.

  • Avatar of Icewing4922 Icewing4922 Apr 10, 2015 at 16:22 UTC - 0 likes

    how can i have multiple commands run when one item is clicked?

  • Avatar of jacob_vejvoda jacob_vejvoda Apr 10, 2015 at 00:32 UTC - 0 likes

    @Slow_Silver: Go

    Can you paste-bin your config?

  • Avatar of Slow_Silver Slow_Silver Apr 10, 2015 at 00:00 UTC - 0 likes

    @jacob_vejvoda: Go

    If I have the same item would that effect it? I mean, it's working when I'm opped. It's so close I can taste it hehe

  • Avatar of jacob_vejvoda jacob_vejvoda Apr 09, 2015 at 23:59 UTC - 0 likes

    @Slow_Silver: Go

    I don't think its possible to lock the same slot with different items.

    I plan on adding that though.

  • Avatar of Slow_Silver Slow_Silver Apr 09, 2015 at 23:54 UTC - 0 likes

    Hiya, this plugin is really neat! I'm having a problem tho I'm unsure of how to fix or if it's even possible. I want to lock the same slot with the same item for multiple pex groups that run different menu commands. When I'm opped it works fine. But when I deop the item completely disappears as if the group needs a perm. This is the config so far as I'm just testing it before putting in the work:

    enabledworlds: - <all>

    1. - world
    2. - world_the_end lockCreative: false slotlock: 8: item: "403" amount: 1 name: "&8[&aLedger&8]" lore1: "&dComing Soon!" permission: slot.doclvl1 commandUser: op command: "cc open mainmenu" canUse: false 8: item: "403" amount: 1 name: "&8[&aLedger&8]" lore1: "&dComing Soon!" permission: slot.doclvl2 commandUser: op command: "cc open mainmenu" canUse: false

    I've given the rank I want to have access to the top one there, slot.doclvl1 and by all means works when I'm opped like what I said. Can anyone help me?

    Last edited Apr 09, 2015 by Slow_Silver
  • Avatar of Tai1er Tai1er Apr 03, 2015 at 11:32 UTC - 0 likes

    Hi, I'm back =) and I found the solution to use this plugin without bug with spigot 1.8.1. The whitelist option doesn't work, so we need to put every items and blocks in the backlist. The config file which is on the jar file is loaded so we need to remove it after the first loading. If we don't remove it, a player receive 2 messages when he put a blacklisted item in a slot.

    Thanks jacob_vejvoda for this plugins. =D

  • Avatar of jacob_vejvoda jacob_vejvoda Apr 02, 2015 at 16:32 UTC - 0 likes

    @NoHoPeLess: Go

    I different slots, yes, in the same slots? Not yet. I am going to add that though.


Date created
Aug 06, 2013
Last update
Feb 12, 2015
Development stage
  • enUS
GNU General Public License version 3 (GPLv3)
Curse link
Slot Lock
Recent files