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 angrybirds085 angrybirds085 Dec 20, 2014 at 10:27 UTC - 0 likes

    @jacob_vejvoda: Go

    I think it is because now I don't have it installed it's fine, but when I did have it installed it was causing the problem, and I like this plugin so don't want to not have it

  • Avatar of jacob_vejvoda jacob_vejvoda Dec 20, 2014 at 05:30 UTC - 0 likes

    @angrybirds085: Go

    So is, or isn't this plugin causing the problem on your sever?

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

    PM me, (-;

  • Avatar of angrybirds085 angrybirds085 Dec 19, 2014 at 20:44 UTC - 0 likes

    Hey it's me again, I've been having some trouble with people joining on my server, I'm running the latest version of Spigot and my friends have joined and the world isn't loading in. I've uninstalled all plugins and been adding them back one by one to see which one it is, and I've added this and it's not happening the same as before but my friend joins, the world doesn't load for about 10 seconds, but before I put this plugin on to test it loaded instantly. Any help?

    EDIT: Before the not loading bug/glitch, the book I had set to be placed in the middle slot in hotbar was always dropped on ground at spawn point. Might be a bug due to 1.8?

    Last edited Dec 19, 2014 by angrybirds085
  • Avatar of jacob_vejvoda jacob_vejvoda Dec 02, 2014 at 01:10 UTC - 0 likes

    @Stormbow: Go

    Just use quotation marks, they are needed if you use symbols.

    Yes. all codes should work.

  • Avatar of Stormbow Stormbow Dec 02, 2014 at 01:00 UTC - 0 likes

    Are quotation marks required around config settings or not? You use them on lore1 for 0, and not for 1.

    What about for the permission entries? You used them in 0, not in 1.

    Are all formatting codes (e.g., &l) allowed in the name and lore# entries?

    18.01% of PermissionsEx users with problems have shown appreciation for my help.
    Please show your appreciation by clicking LIKE on any posts which you find helpful. :) BFAK:83847,94c9f420badc7fda29227b4adaca49728cacc02e4e890d026ebba529a25877e9

  • Avatar of jacob_vejvoda jacob_vejvoda Nov 28, 2014 at 18:00 UTC - 0 likes

    @kahlilnc: Go

    How do you know its my plugin that causing that?

  • Avatar of kahlilnc kahlilnc Nov 28, 2014 at 05:43 UTC - 0 likes

    Errors spewing out cuz of pex and this arent quite compatible :(

    Want to be a part of one of the most unique KitPvP servers?
    If you are experienced and willing to help add me on Skype: kahlil NC !!!

  • Avatar of MeOwCrafteur MeOwCrafteur Nov 06, 2014 at 07:40 UTC - 0 likes

    Please add the ability to change item slots depending on permissions! For example, a novice has a basic blocked armor, but if it rises to the next rank, armor change but still stuck!

    I've tried different ways (with slot.name0, slot.name1 ... in the permissions, but nothing happens when i change user group...)

    Sorry for my english, I'm french, I hope it's understandable. thanks

    Last edited Nov 06, 2014 by MeOwCrafteur
  • Avatar of angrybirds085 angrybirds085 Oct 22, 2014 at 15:50 UTC - 0 likes

    @jacob_vejvoda: Go

    Ah! Thanks

  • Avatar of angrybirds085 angrybirds085 Oct 21, 2014 at 17:15 UTC - 0 likes

    @jacob_vejvoda: Go

    Aww, ok and thanks


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