ArmorLock
Armor Lock
Lock Player's Armor Slots And More!
Features:
- Prevents players from modifying their armor slots unless they have the permission "armorlock.modify".
- Gives players with permission a set of armor on respawn, with configurable type, enchantment, and enchantment level.
- Players with the permission "armorlock.droparmor" will drop a set of armor on death with configurable type, enchantment, and enchantment level.
- Prevents players who have the permission "armorlock.dropnothing" from dropping anything on death.
Installation:
Place the plugin into your server's plugin directory, and restart/reload the server.
Configuration:
Modify the generated configuration values as you like.
Possible armor types:
- LEATHER
- CHAINMAIL
- IRON
- GOLD
- DIAMOND
Possible enchantment types:
- DURABILITY
- PROTECTION_ENVIRONMENTAL
- PROTECTION_EXPLOSIONS
- PROTECTION_FALL
- PROTECTION_FIRE
- PROTECTION_PROJECTILE
- THORNS
Possible enchantment levels: 1-4
Permissions:
- armorlock.modify: Lets a player modify their armor.
- armorlock.trainee: Player spawns with trainee armor.
- armorlock.guard: Player spawns with guard armor.
- armorlock.superguard: Player spawns with superguard armor.
- armorlock.droparmor: Player drops configurable armor on death.
- armorlock.dropnothing: Player drops nothing on death.
Information:
Original plugin requested by Penguinaz here: http://forums.bukkit.org/threads/prevent-guards-from-taking-off-armor.145380/
Added features requested by Osikac here: http://forums.bukkit.org/threads/players-spawn-with-armor.147664/
-
View User Profile
-
Send Message
Posted Jan 19, 2016Can you update this?
-
View User Profile
-
Send Message
Posted Dec 8, 2013Can you make it so that it becomes impossible for a player to remove the armor? If they click long enough or shift click it is easily removed... Might want to check that...
-
View User Profile
-
Send Message
Posted Sep 22, 2013Anyway to make it so the new iron armor dropped doesn' t have to be enchanted? and is it possible to make the new iron armor at a random durability?
-
View User Profile
-
Send Message
Posted Aug 14, 2013@jakedawg555777575775
IIRC, If you take away the permission armorlock.dropnothing from a player, it shouldn't clear their drops.
-
View User Profile
-
Send Message
Posted Aug 12, 2013Thanks a bunch but in the ArmorlockListener class there is one line of code that is compeltely ruining the purpose :( The event.getDrops().clear(); Please make an option so that when they die they drop the new armor AND the rest of their inventory :( Not just the new armor :( Thanks a million!
-
View User Profile
-
Send Message
Posted Jun 23, 2013Thanks man, this really helped for my prison server! Great job!
-
View User Profile
-
Send Message
Posted Jun 13, 2013Could you add A Option in the Config to allow Unsafe Enchantments(Over the Default Number) Or just Allow them No Matter what :P Like 1-10000 Thanks ! -Colt