Armor Control
Armor Control
Version: v1.5.1
(Follow me on Twitter for updates!)
Armor Control is a plugin created by Staartvin from a request.
Update on Spigot: click here!
Armor Control is a plugin which lets server admins configure what players can wear or use on certain levels.
All levels can be configured individually. For example: You can wear iron armor whenever you're level 20 or higher (XP level). You can use iron sword whenever you're level 15 or higher.
Armor Control will check when a player tries to wear a certain piece of armor or use a certain tool/weapon. If a player isn't allowed to wear a certain piece of armor or use a certain tool/weapon, it we'll be returned into their inventory.
Features:
- Controls armor allowed to wear
- Controls weapons allowed to use
- Controls tools allowed to use
- Allows admins to easily change levels
- Very simple
- Drop and Use
- Permissions
- Regularly updated
- Modpack support (Tekkit, Feed the Beast)
Permissions:
- - armorcontrol.exempt A player with this permission will not be bound to any armor restrictions.
- - weaponcontrol.exempt A player with this permission will not be bound to any weapon restrictions.
- - toolcontrol.exempt A player with this permission will not be bound to any tool restrictions.
- - armorcontrol.reload Allows a player to perform /armorcontrol reload
- - armorcontrol.add Allows a player to perform /armorcontrol add
Commands:
- /armorcontrol reload
- /ac reload
- /ac help
- /ac add <name> <data value> <level>
Pictures:
Message shown when a player isn't allowed to wear a certain piece of armor.
Donations
I'm a poor student and I'm developing this plugin in my free-time, if you like my plugin and want to help me, please donate. Donating is the best way to help me out, it goes towards more bug-fixing. Thanks! Donate is in the top right corner. ;)
Donators
Thanks to all the people who donated and downloaded this plugin! I love you all! <3 Especially thanks to my donators who gave me that little boost:
- Semirotta for 5 dollars
@semirotta
Hmm, it will be a pain to get all those. Also, do you know a good tekkit server to test Armor Control? I can't make a tekkit server, and so I can't test it aswell.
@Staartvin
Thanks a lot! I'll try it out, appreciate you helping me on my problem :)
<<reply 1122587>>
Unfortunately...
Ive never found complete list of item ids / data values.
@semirotta
I'm working on Tekkit support. I haven't ever used tekkit, so I'm beginning to hook into it. I hope I can figure something out. What I'm wondering about is: is there a data value list of all tekkit items somewhere? I need the data values of all those weapons, armor and tools.
@Staartvin
Have you thought about making 1.2.5 minecraft compatible version for tekkit?
No rush but i'm just saying, it would be really useful add :)
@Zilacon
I've uploaded ArmorControl v1.2 to BukkitDev. It will be up in a few hours. (I hope) Any incompatibility with DiabloDrops should be gone.
Enjoy!
@Zilacon
Ok, I'm talking with Deathmarine about it. I hope he can help me.
@Staartvin
Sorry i get very impatient when i got errors scrolling down my console, and i cant remove it cause i setup all my items and rules around your plugin >_>
@Zilacon
I'm quite busy with school. Also, I've looked into your problem, but I can't seem to fix it. I'm working on it, but I need time for that.
Waaaaaah!?!? Still no update!?
@semirotta
I'll look into Tekkit.
@Zilacon
They do work. I've tested them. And yet again to be certain. Make sure you type it correctly, capitalization is important.
Tekkit support? (Minecraft 1.2.5)
this would be awesome to work with the dark matter or red matter armors etc.
Armors+ weapons + tools + Support for MagicSpells and your own lvl system * . *
It will be the best plugin i ever saw !
Your exempt permissions are not working.
I tried making my moderators and admins exempt from item levels and it still restricts them.
Not to rush things but any possibility a update could come out fast? I'm trying to fix all these errors on my server. Slenderman, ArmorControl, LegendaryMessages, and now since i updated NoCheatPlus is erroring like mad...
Id just like to strike this plugin off the list ya know.
@Staartvin
No problem, thank for your prompt response :D
@Zilacon
@Zilacon
Hi Zilacon,
This exception is created because, indeed, the normal enchanments don't go higher than level 3. Armor Control normally removes the item and adds it to the inventory with the applied enchanment and durabilty. Because you have Diablo Drops. I'll try to make it compatible with DiabloDrops or, if that doesn't work, change the method. Thanks for letting me know.
Staartvin
@Staartvin
I am being spammed with this error, please make a fix!
08:39:00 [SEVERE] Could not pass event InventoryCloseEvent to Armor Control v1.1 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:341) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at net.minecraft.server.NetServerHandler.handleContainerClose(NetServerHandler.java:1201) at net.minecraft.server.Packet101CloseWindow.handle(SourceFile:17) at net.minecraft.server.NetworkManager.b(NetworkManager.java:290) at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:113) at net.minecraft.server.ServerConnection.b(SourceFile:39) at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:596) at net.minecraft.server.DedicatedServer.r(DedicatedServer.java:222) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:494) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:426) at net.minecraft.server.ThreadServerApplication.run(SourceFile:856) Caused by: java.lang.IllegalArgumentException: Enchantment level is either too low or too high (given 10, bounds are 1 to 3 at org.bukkit.inventory.ItemStack.addEnchantment(ItemStack.java:299) at org.bukkit.inventory.ItemStack.addEnchantments(ItemStack.java:285) at Staartvin.ArmorControl.Methods.checkInventoryforArmor(Methods.java:187) at Staartvin.ArmorControl.Listeners.onInventoryClose(Listeners.java:47) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:339) ... 14 more
I dont think your plugin accepts enchantments above level 3 or something, i have DiabloDrops installed and the enchantments go up to 10 and its random on every item.
Make it compatible with TEKKIT (1.2.5 minecraft) Also i like your idea with the mcmmo use :)