Slot Lock

Slot Lock

Slot Lock

Features

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

Backpacks can be crafted with the defined recipe, they must be chest-plates, when you put them on they unlock the defined slots.

http://i784.photobucket.com/albums/yy127/Elimiator/text_colour_zpsc6d4c62e.png

--------------------------------------------------------------

Commands

/sl help

/sl reload

/sl info

--------------------------------------------------------------

Permissions

Permission to use the /reload or /help commands:

"slot.lock.commands" allows you to use slot lock commands.

"slot.lock.blocks" allows you to place locked blocks.

"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. Edit the config and set the locked slots.

3. Do /sl reload

Here is an example config:

enabledworlds:
  - <all>
#commandUser is who will run the command, console means command will be run from the console.
#player means the player will run the command, the player will need permission to use the command.
lockCreative: false
slotlock:
  2:
    item: 351
    sub-type: 10
    amount: 1
    permission: slot.1
    name: "&2JumpDisc"
    lore: "&2This is a jump disc!"
    book: null
    commandUser: console
    command: give player 1 1
  8:
    item: 387
    amount: 1
    permission: slot.2
    name: "&4Book o' Info"
    lore: "&3This is a book of info"
    book: info
    commandUser: player
    command: null
backpacks:
    1:
      slots:
        - 9
        - 10
        - 11
        - 12
        - 13
        - 14
        - 15
        - 16
        - 17
      recipe:
        - 0
        - 299
        - 0
        - 0
        - 54
        - 0
        - 0
        - 0
        - 0
      item: 303
      permission: backpack.small
      name: Small Backpack
      lore: This is a small backpack

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:

info:
  author: Eliminator
  title: "Book O' Info"
  pages:
    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

- Enchantments on the items.

- items with meta-data.

--------------------------------------------------------------

Donate

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

https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif

--------------------------------------------------------------

MC Stats

This plugin sends info on how many servers and players are using this plugin.
If you wish to disable the usage stats, look at /plugins/PluginMetrics/config.yml.
http://api.mcstats.org/signature/SlotLock.png

--------------------------------------------------------------

YouTube

Check out my YouTube for more Minecraft awesomeness:

http://www.youtube.com/user/Jacobvejvoda

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

Facts

Date created
Aug 06, 2013
Category
Last update
Feb 03, 2014
Development stage
Release
Language
  • enUS
License
GNU General Public License version 3 (GPLv3)
Curse link
Slot Lock
Downloads
3,006
Recent files

Authors