Armorset Effects
What it does
This Plugin allows you to add certain Effects to full Armor Sets, so whenever a Player wears a full set of Armor (Helmet, Chest, Pants, Shoes) he gains some Bonus Effects
Commands
- /armor reload - reloads the config file
- /armor add <Armor Type> <PotionEffectType:amplifier> - Adds a new Effect to an Armor Set
- amplifier value is optional, default 1
- PotionEffectType currently only accepts Names as seen here (e.g. JUMP, WATER_BREATHING, not case sensitive):
- /armor del <Armor Type> <Potion Effect> - Deletes an existing Effect from the Armor Set
- e.g.:
- /armor add leather jump:2 - adds level 2 Jump Potion Effect to Leather Set
- /armor del leather jump - removes the Jump Effect from Leather Set
- <Armor Type> can be leather/iron/chain/gold/diamond
Permissions
armorEffects.commands - allows you to use all armor commands, default op
Config
i'd suggest using the commands to add/delete Effects to not mess up the config file
You should add a feature to just add an effect to a single piece of armor
On 1.7.9 R0.2
[14:32:00 INFO]: DavidStyler10 issued server command: /armor add [14:32:00 ERROR]: null org.bukkit.command.CommandException: Unhandled exception executing command 'armor' in plugin Armorset_Effects v1.1 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:180) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at org.bukkit.craftbukkit.v1_7_R3.CraftServer.dispatchCommand(CraftServer.java:701) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at net.minecraft.server.v1_7_R3.PlayerConnection.handleCommand(PlayerConnection.java:956) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at net.minecraft.server.v1_7_R3.PlayerConnection.a(PlayerConnection.java:817) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at net.minecraft.server.v1_7_R3.PacketPlayInChat.a(PacketPlayInChat.java:28) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at net.minecraft.server.v1_7_R3.PacketPlayInChat.handle(PacketPlayInChat.java:47) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at net.minecraft.server.v1_7_R3.NetworkManager.a(NetworkManager.java:157) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at net.minecraft.server.v1_7_R3.ServerConnection.c(SourceFile:134) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at net.minecraft.server.v1_7_R3.MinecraftServer.v(MinecraftServer.java:667) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at net.minecraft.server.v1_7_R3.DedicatedServer.v(DedicatedServer.java:260) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at net.minecraft.server.v1_7_R3.MinecraftServer.u(MinecraftServer.java:558) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:469) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] Caused by: java.lang.ArrayIndexOutOfBoundsException: 2 at com.github.Eikester.ArmorsetEffects.ArmorsetEffects.onCommand(ArmorsetEffects.java:89) [?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] ... 13 more
nice job.
UPDATES?
This plugin seems to be very useful, please add in (the player holds an item in his hand - armour - this piece when worn then gives the player the specific potion effect!!!
Also note that making it so that only certain groups are effected would be a very valuable addition... :D
The plugin doesn't seem to be generating a config file. Anyone have a sample one I could throw in to the files for it?
Edit: Nevermind, I got it working.
@Eikester
Are you going to be updating this plugin?
@spoonerds
noted, will be added asap
Could you add a permissions node to only enable the plugin for specific groups.
This is a really cool concept you have here but I was wondering if it's possible to add specific named items to the config. What I mean is something like this: /armor add <Armor Type> <Set Type> <PotionEffectType:amplifier>
The <set type> would contain the first word in each armor piece such as "Magical" and then apply to the potion effects only if I was wearing an armor set with each piece starting with "Magical" in it. Does that make sense?
Magical Hood
Magical Chestpiece
Magical Leggings
Magical Boots
Potion effects for entire set: Speed:1
Please let me know if you need more clarification.