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
Not work with 1.8.8:
Log: http://pastebin.com/JEnmpWUU
@TheDavroar
Yes, you can lock books.
Does this also work on pre-created books? Like people have these locked in their hotbar and instead of executing a command, just open te book. A rule book or a progress book for example?
@jacob_vejvoda
watch
https://www.dropbox.com/s/joysq5yx0mjiuyr/2015-11-16_19.59.16.png?dl=1
@jacob_vejvoda
Should i be in survival or something like that?
@jacob_vejvoda
it wont do that for me i just get the helping lines for this plugin in the chat
/sl lockhand slot.2 Sets for item in hand
@jacob_vejvoda
Can u please give me a whole command line as an example?
@jacob_vejvoda
haha no that stands for 14Boss14 :D
It will give me the informations with /sl lockhand perm /ls lockhand perm slot etc. like if i would have wrote the false command
@CreepyCauliflower
Where does it say: "-14B.14"?
@jacob_vejvoda
Hello and thanks for the fast reply but if I type for example /sl lockhand slot.1 only the instructions will appear
-14B.14
@CreepyCauliflower
For <perm> you can put anything, for example slot.1 then all players with the perm slot.1 will have that slot locked.
Hey. I dont understand what kind of a permission i have to put in <perm>. Can someone please post a command template?
And please add a understandable description for that :D
What do I put in the <perm>?
bumping cuz nothing works for me either
@chsedv
Its because you have no locked slots. Just ignore the error, go in-game and lock a slot.
Then restart.
pl help not working with java 8 and spigot 1.8.8.r01
@jacob_vejvoda
Yes using 2.8 new version and no, i have install as new plugin. no old before.
@chsedv
Are you using Slot Lock v2.8, and did you delete your config folder if you had an old one?
Im using spigot 1.8.8 R01 but i have only errors by server start with this plugin.
Error in console of Spigot 1.8.8 server:
---------------------------------------------------------
[09:29:35] [Server thread/INFO]: [SlotLock] Enabling SlotLock v2.8
[09:29:35] [Server thread/ERROR]: Error occurred while enabling SlotLock v2.8 (Is it up to date?)
java.lang.NullPointerException
at io.hotmail.com.jacob_vejvoda.slot_lock.slot_lock.getSlotId(slot_lock.java:153) ~[?:?]
at io.hotmail.com.jacob_vejvoda.slot_lock.slot_lock.onEnable(slot_lock.java:72) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-5f38d38-18fbb24]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:340) [spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-5f38d38-18fbb24]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-5f38d38-18fbb24]
at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugin(CraftServer.java:357) [spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-5f38d38-18fbb24]
at org.bukkit.craftbukkit.v1_8_R3.CraftServer.enablePlugins(CraftServer.java:317) [spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-5f38d38-18fbb24]
at net.minecraft.server.v1_8_R3.MinecraftServer.s(MinecraftServer.java:414) [spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-5f38d38-18fbb24]
at net.minecraft.server.v1_8_R3.MinecraftServer.k(MinecraftServer.java:378) [spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-5f38d38-18fbb24]
at net.minecraft.server.v1_8_R3.MinecraftServer.a(MinecraftServer.java:333) [spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-5f38d38-18fbb24]
at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:263) [spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-5f38d38-18fbb24]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:525) [spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-5f38d38-18fbb24]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_65]