AnyItemEffects icon

AnyItemEffects -----

Custom Items with custom Effects & Enchants!




This will be the last time I update it. I will be updating it with support for 1.12 and up. If you are still lower than that then well you belong in the dark ages. I will also release all the source code to be downloadable so anyone may continue it in the future. I will post it here when it is finised!
----------, Dec 15, 2021

Thanks to qweqdja
Review: Hello is it possible to make a weapon that applies effects to an enemy? For example a sword that poisons someone that i hit.

I now have added a way so that negative effects can be put on items and will be granted to the one whom is hit with the respective item!
----------, Jun 11, 2020

Yeet
----------, Feb 16, 2020

Fix this!
> [20:38:15 ERROR]: Error occurred while enabling ArmorEffectsMaven v1.0 (Is it up to date?)
java.lang.IllegalArgumentException: No enum constant org.bukkit.Material.SILVER_SHULKER_BOX
at java.lang.Enum.valueOf(Enum.java:238) ~[?:1.8.0_212]
at org.bukkit.Material.valueOf(Material.java:1) ~[CannonSpigot.jar:git-TacoSpigot-fd3209f3]
at com.kohlerpop1.ArmorEffectsMaven.Utils.ArmorListener.<init>(ArmorListener.java:69) ~[?:?]
at com.kohlerpop1.ArmorEffectsMaven.Main.initiateServer(Main.java:45) ~[?:?]
at com.kohlerpop1.ArmorEffectsMaven.Main.onEnable(Main.java:17) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) ~[CannonSpigot.jar:git-TacoSpigot-fd3209f3]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:332) [CannonSpigot.jar:git-TacoSpigot-fd3209f3]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:404) [CannonSpigot.jar:git-TacoSpigot-fd3209f3]
at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugin(CraftServer.java:360) [CannonSpigot.jar:git-TacoSpigot-fd3209f3]
at org.bukkit.craftbukkit.v1_8_R3.CraftServer.enablePlugins(CraftServer.java:319) [CannonSpigot.jar:git-TacoSpigot-fd3209f3]
at net.minecraft.server.v1_8_R3.MinecraftServer.s(MinecraftServer.java:408) [CannonSpigot.jar:git-TacoSpigot-fd3209f3]
at net.minecraft.server.v1_8_R3.MinecraftServer.k(MinecraftServer.java:372) [CannonSpigot.jar:git-TacoSpigot-fd3209f3]
at net.minecraft.server.v1_8_R3.MinecraftServer.a(MinecraftServer.java:327) [CannonSpigot.jar:git-TacoSpigot-fd3209f3]
at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:267) [CannonSpigot.jar:git-TacoSpigot-fd3209f3]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:563) [CannonSpigot.jar:git-TacoSpigot-fd3209f3]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_212]
> [20:38:15 INFO]: [ArmorEffectsMaven] Disabling ArmorEffectsMaven v1.0


And also fixed the amount always being 1
----------, Feb 16, 2020

Plugin now supports command to directly give a player the selected item via command:
/ai give <player> <amount> <ID>
The id is the unique id in the config.

Ex.

Code (Text):
Items:
  example:
    Enabled: true
    Material: DIAMOND_BOOTS
    Name: '&6&lExample Item With Effects'
    Lore: '&6Create multiple lines;&6separated by a semicolon!'
    Effects:
    - JUMP;2;0 # EffectName;Level;DurationInSeconds - Leave Duration 0 for infinite time!
    Enchants:
    - ARROW_INFINITE;1
The unique id would be 'example'

Thanks for downloading and enjoy the update!
----------, Jan 26, 2020

This should fix a communication error with player chatting and creating of the guis in the /ai gui creation process. This should now be fixed for everyone! Thanks for using.
----------, Jan 24, 2020

Now supports /ai give <player> [amount] - amount will default to 1 if not given!
It will open up your current items gui to select an item to give to the selected player. The player must be online to receive the item.
Enjoy!
----------, Jan 23, 2020

This is now fixed. I totally spaced it and it probably has been a problem for a while. Sorry everyone.

Code (Text):
[09:20:31] [Server thread/ERROR]: Could not pass event InventoryClickEvent to ArmorEffectsMaven v1.0
org.bukkit.event.EventException: null
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:320) ~[Spigot-1.14.4-94af569-20190911-0820.jar:git-Spigot-94af569-6ddeb98]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[Spigot-1.14.4-94af569-20190911-0820.jar:git-Spigot-94af569-6ddeb98]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:529) ~[Spigot-1.14.4-94af569-20190911-0820.jar:git-Spigot-94af569-6ddeb98]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:514) ~[Spigot-1.14.4-94af569-20190911-0820.jar:git-Spigot-94af569-6ddeb98]
at net.minecraft.server.v1_14_R1.PlayerConnection.a(PlayerConnection.java:2133) ~[Spigot-1.14.4-94af569-20190911-0820.jar:git-Spigot-94af569-6ddeb98]
at net.minecraft.server.v1_14_R1.PacketPlayInWindowClick.a(SourceFile:33) ~[Spigot-1.14.4-94af569-20190911-0820.jar:git-Spigot-94af569-6ddeb98]
at net.minecraft.server.v1_14_R1.PacketPlayInWindowClick.a(SourceFile:10) ~[Spigot-1.14.4-94af569-20190911-0820.jar:git-Spigot-94af569-6ddeb98]
at net.minecraft.server.v1_14_R1.PlayerConnectionUtils.lambda$0(PlayerConnectionUtils.java:19) ~[Spigot-1.14.4-94af569-20190911-0820.jar:git-Spigot-94af569-6ddeb98]
at net.minecraft.server.v1_14_R1.TickTask.run(SourceFile:18) [Spigot-1.14.4-94af569-20190911-0820.jar:git-Spigot-94af569-6ddeb98]
at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.executeTask(SourceFile:144) [Spigot-1.14.4-94af569-20190911-0820.jar:git-Spigot-94af569-6ddeb98]
at net.minecraft.server.v1_14_R1.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) [Spigot-1.14.4-94af569-20190911-0820.jar:git-Spigot-94af569-6ddeb98]
at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.executeNext(SourceFile:118) [Spigot-1.14.4-94af569-20190911-0820.jar:git-Spigot-94af569-6ddeb98]
at net.minecraft.server.v1_14_R1.MinecraftServer.aX(MinecraftServer.java:909) [Spigot-1.14.4-94af569-20190911-0820.jar:git-Spigot-94af569-6ddeb98]
at net.minecraft.server.v1_14_R1.MinecraftServer.executeNext(MinecraftServer.java:902) [Spigot-1.14.4-94af569-20190911-0820.jar:git-Spigot-94af569-6ddeb98]
at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.executeAll(SourceFile:103) [Spigot-1.14.4-94af569-20190911-0820.jar:git-Spigot-94af569-6ddeb98]
at net.minecraft.server.v1_14_R1.MinecraftServer.sleepForTick(MinecraftServer.java:885) [Spigot-1.14.4-94af569-20190911-0820.jar:git-Spigot-94af569-6ddeb98]
at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:819) [Spigot-1.14.4-94af569-20190911-0820.jar:git-Spigot-94af569-6ddeb98]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_241]
Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(Unknown Source) ~[?:1.8.0_241]
at java.util.ArrayList.get(Unknown Source) ~[?:1.8.0_241]
at com.kohlerpop1.ArmorEffectsMaven.Events.InvClickEvent.InventoryClickEvent(InvClickEvent.java:31) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_241]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_241]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_241]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_241]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:316) ~[Spigot-1.14.4-94af569-20190911-0820.jar:git-Spigot-94af569-6ddeb98]
... 17 more
----------, Jan 23, 2020

This improves and should fix the found bugs. If you have bugs please use the discussion to report them not the review area and please be descriptive otherwise I cant fix it. Thanks!
----------, Jan 22, 2020

Thanks everyone who posted errors in the discussion. As of now, they should all be fixed. Let me know of anymore issues. Thanks Again!
----------, Jan 21, 2020

Caused by: java.lang.UnsupportedOperationException: Use BukkitRunnable#runTaskLater(Plugin, long)
at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftScheduler.scheduleSyncDelayedTask(CraftScheduler.java:491) ~[minecraft_server.jar:git-Spigot-9de398a-9c887d4]
at com.kohlerpop1.ArmorEffectsMaven.Events.ItemPickupEvent.ItemPickup(ItemPickupEvent.java:24) ~[?:?]
at sun.reflect.GeneratedMethodAccessor393.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_101]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_101]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:316) ~[minecraft_server.jar:git-Spigot-9de398a-9c887d4]
... 17 more

This should now be working properly!
----------, Jan 14, 2020

Fixed glass error and now works with all versions!
----------, Jan 13, 2020

There may be a few bugs but it should work for the most part. Feel free to reply in the discussion or dm me on discord with bugs. Thanks!
----------, Jan 8, 2020

Fixed all the bugs reported in it and updated to support 1.14. Enjoy!!!
----------, May 13, 2019

Forgot to remove debug options!
Heres the fix!
----------, Feb 12, 2019

Fix bugs where if your item was a place-able block that you would place it and keep the effect.... Now removes the effect but still places the block.

Also fixed if you were holding an item then pressed 'e' and moved it around you could throw it out or move it out of your hand to get more effects... Now made it so effects should be properly removed if the item is moved.

Still looking for a way to fix the clearing of items makes you keep all effects.

Thanks for downloading!
----------, Feb 12, 2019

Also optimized code!!!
----------, Jan 31, 2019

Fixed this!!!

Code (Java):
[ 12 : 37 : 39 ERROR ] : Could not pass event InventoryClickEvent to ArmorEffectsMaven v1.0
org. bukkit . event . EventException : null
        at org. bukkit . plugin . java . JavaPluginLoader $1. execute ( JavaPluginLoader. java : 308 ) ~ [ spigot - 1.13.1. jar : git - Spigot - 2440e18 - 4228a56 ]
        at org. bukkit . plugin . RegisteredListener . callEvent ( RegisteredListener. java : 62 ) ~ [ spigot - 1.13.1. jar : git - Spigot - 2440e18 - 4228a56 ]
        at org. bukkit . plugin . SimplePluginManager . fireEvent ( SimplePluginManager. java : 500 ) ~ [ spigot - 1.13.1. jar : git - Spigot - 2440e18 - 4228a56 ]
        at org. bukkit . plugin . SimplePluginManager . callEvent ( SimplePluginManager. java : 485 ) ~ [ spigot - 1.13.1. jar : git - Spigot - 2440e18 - 4228a56 ]
        at net. minecraft . server . v1_13_R2 . PlayerConnection . a ( PlayerConnection. java : 2140 ) ~ [ spigot - 1.13.1. jar : git - Spigot - 2440e18 - 4228a56 ]
        at net. minecraft . server . v1_13_R2 . PacketPlayInWindowClick . a ( SourceFile : 33 ) ~ [ spigot - 1.13.1. jar : git - Spigot - 2440e18 - 4228a56 ]
        at net. minecraft . server . v1_13_R2 . PacketPlayInWindowClick . a ( SourceFile : 10 ) ~ [ spigot - 1.13.1. jar : git - Spigot - 2440e18 - 4228a56 ]
        at net. minecraft . server . v1_13_R2 . PlayerConnectionUtils . a ( SourceFile : 10 ) ~ [ spigot - 1.13.1. jar : git - Spigot - 2440e18 - 4228a56 ]
        at java. util . concurrent . Executors $RunnableAdapter. call ( Unknown Source ) [ ?:? ]
        at java. util . concurrent . FutureTask . run ( Unknown Source ) [ ?:? ]
        at net. minecraft . server . v1_13_R2 . SystemUtils . a ( SourceFile : 199 ) [ spigot - 1.13.1. jar : git - Spigot - 2440e18 - 4228a56 ]
        at net. minecraft . server . v1_13_R2 . MinecraftServer . b ( MinecraftServer. java : 896 ) [ spigot - 1.13.1. jar : git - Spigot - 2440e18 - 4228a56 ]
        at net. minecraft . server . v1_13_R2 . DedicatedServer . b ( DedicatedServer. java : 411 ) [ spigot - 1.13.1. jar : git - Spigot - 2440e18 - 4228a56 ]
        at net. minecraft . server . v1_13_R2 . MinecraftServer . a ( MinecraftServer. java : 831 ) [ spigot - 1.13.1. jar : git - Spigot - 2440e18 - 4228a56 ]
        at net. minecraft . server . v1_13_R2 . MinecraftServer . run ( MinecraftServer. java : 729 ) [ spigot - 1.13.1. jar : git - Spigot - 2440e18 - 4228a56 ]
        at java. lang . Thread . run ( Unknown Source ) [ ?:? ]
Caused by : java. lang . NullPointerException
        at com. kohlerpop1 . ArmorEffectsMaven . Events . InvClickEvent . InventoryClickEvent ( InvClickEvent. java : 26 ) ~ [ ?:? ]
        at jdk. internal . reflect . NativeMethodAccessorImpl . invoke0 ( Native Method ) ~ [ ?:? ]
        at jdk. internal . reflect . NativeMethodAccessorImpl . invoke ( Unknown Source ) ~ [ ?:? ]
        at jdk. internal . reflect . DelegatingMethodAccessorImpl . invoke ( Unknown Source ) ~ [ ?:? ]
        at java. lang . reflect . Method . invoke ( Unknown Source ) ~ [ ?:? ]
        at org. bukkit . plugin . java . JavaPluginLoader $1. execute ( JavaPluginLoader. java : 304 ) ~ [ spigot - 1.13.1. jar : git - Spigot - 2440e18 - 4228a56 ]
        ... 15 more
----------, Jan 30, 2019


TITLE SAYS IT ALL......
----------, Jan 30, 2019

Totally removed 2 classes which were unneeded with my new work around and now runs very smooth on the server...
----------, Jan 29, 2019

Fixed a bunch of NPE's generated by 1.8 versions!!!
Finally worked them all out and fully tested and works like a charm.... Happy using!!!
----------, Jan 28, 2019

Title says it all!!!
----------, Jan 28, 2019

Now supports 1.12 and 1.13 fully
----------, Jan 24, 2019

You can now create items from in game with /ae gui!!!
Only an id, name, and at least 1 effect is required while lore and enchants are optional!!!
Have fun!!!
Potentially coming soon the creation of them with a single command!
----------, Jan 23, 2019

Fixed NPE
----------, Jan 18, 2019

If you want a 1.8 version you must use this version.... The rest will not work.
----------, Jan 18, 2019

Now full supports any item and armortype with enchants and effects....
----------, Jan 17, 2019

You can now directly add enchants in config so you no longer to add them after getting the item!!!
----------, Jan 16, 2019

Now durability will be normal and armor piece can now be enchanted and still work!!! :p (y)
----------, Jan 16, 2019

Resource Information
Author:
----------
Total Downloads: 18,375
First Release: Jan 16, 2019
Last Update: Dec 15, 2021
Category: ---------------
All-Time Rating:
15 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings