Emerald Tools
This plugin has been updated to 1.13 and the support page has moved to: https://www.spigotmc.org/resources/emerald-tools.59681/
Emerald Tools!
Use emeralds to craft diamond tools and armor with random enchantments!
Donate and Support the plugin!
Features
- Craft armor with emeralds and get diamond armor with a random enchantment!
- Craft armor with emeralds and a diamond to get Tier 2 tools/armor!
- Craft armor with emeralds and a diamond and a blaze powder to get Tier 3 tools/armor!
- Tier 2 items have 2x durability
- Tier 3 items have 3x durability and are guaranteed to get a good enchantment!
- Any suggestions are welcome :)
*NEW*
Due to popular demand, the recipe items are now customizable in config.
Configuration
Just drop the SparklingTools.jar file into your plugins folder then restart your server
- There are no commands or permissions to work with
Recipes
Note: The items in these recipes are customizable
Emerald Bow:
(Tier 2) Emerald Bow:
(Tier 3) Emerald Bow:
Emerald Helmet:
(Tier 2) Emerald Helmet:
(Tier 3) Emerald Helmet:
Emerald Chestplate:
(Tier 2) Emerald Chestplate:
(Tier 3) Emerald Chestplate:
Emerald Leggings:
(Tier 2) Emerald Leggings:
(Tier 3) Emerald Leggings:
Emerald Boots:
(Tier 2) Emerald Boots:
(Tier 3) Emerald Boots:
Emerald Sword:
(Tier 2) Emerald Sword:
(Tier 3) Emerald Sword:
Emerald Pickaxe:
(Tier 2) Emerald Pickaxe:
(Tier 3) Emerald Pickaxe:
Emerald Axe:
(Tier 2) Emerald Axe:
(Tier 3) Emerald Axe:
Emerald Spade:
(Tier 2) Emerald Spade:
(Tier 3) Emerald Spade:
Emerald Hoe:
(Tier 2) Emerald Hoe:
(Tier 3) Emerald Hoe:
To-Do
Add multiple tiers, each increasing in durability and chance of a better enchantmentAdd fancy lores for each tier- Add optional permissions for each tier
Configurable crafting recipes
I crafted a Tier 3 Chestplate but it doesnt feel like it has 3x durability. The max durability on it is 528, is that supposed to be alot? This plugin is very cool tho :D
Currently getting
Could not pass event PrepareItemCraftEvent to SparklingTools v1.7.3c
org.bukkit.event.EventException: null
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot.jar:git-Spigot-642f6d2-6103339]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-642f6d2-6103339]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) [spigot.jar:git-Spigot-642f6d2-6103339]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) [spigot.jar:git-Spigot-642f6d2-6103339]
at org.bukkit.craftbukkit.v1_12_R1.event.CraftEventFactory.callPreCraftEvent(CraftEventFactory.java:781) [spigot.jar:git-Spigot-642f6d2-6103339]
at net.minecraft.server.v1_12_R1.Container.a(Container.java:641) [spigot.jar:git-Spigot-642f6d2-6103339]
at net.minecraft.server.v1_12_R1.ContainerPlayer.a(ContainerPlayer.java:75) [spigot.jar:git-Spigot-642f6d2-6103339]
at net.minecraft.server.v1_12_R1.InventoryCrafting.splitStack(InventoryCrafting.java:122) [spigot.jar:git-Spigot-642f6d2-6103339]
at net.minecraft.server.v1_12_R1.SlotResult.a(SourceFile:72) [spigot.jar:git-Spigot-642f6d2-6103339]
at net.minecraft.server.v1_12_R1.ContainerPlayer.shiftClick(ContainerPlayer.java:146) [spigot.jar:git-Spigot-642f6d2-6103339]
at net.minecraft.server.v1_12_R1.Container.a(Container.java:251) [spigot.jar:git-Spigot-642f6d2-6103339]
at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:1897) [spigot.jar:git-Spigot-642f6d2-6103339]
at net.minecraft.server.v1_12_R1.PacketPlayInWindowClick.a(SourceFile:33) [spigot.jar:git-Spigot-642f6d2-6103339]
at net.minecraft.server.v1_12_R1.PacketPlayInWindowClick.a(SourceFile:10) [spigot.jar:git-Spigot-642f6d2-6103339]
at net.minecraft.server.v1_12_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot.jar:git-Spigot-642f6d2-6103339]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_151]
at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_151]
at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46) [spigot.jar:git-Spigot-642f6d2-6103339]
at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:748) [spigot.jar:git-Spigot-642f6d2-6103339]
at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [spigot.jar:git-Spigot-642f6d2-6103339]
at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [spigot.jar:git-Spigot-642f6d2-6103339]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [spigot.jar:git-Spigot-642f6d2-6103339]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_151]
Caused by: java.lang.NullPointerException
at com.darkstar.emeraldtools.SparklingTools.onCraftLeggings(SparklingTools.java:511) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_151]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_151]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_151]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_151]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[spigot.jar:git-Spigot-642f6d2-6103339]
... 22 more
Confirmed it works in 1.9.2 but the config is empty. I would very much like to customize the recipes but even more so I would like to see a permission added. I don't want ALL players to have the benefit of using this plugin until they've completed quests to obtain it.
Unfortunately, I can't use the plugin with this vision.
The config is empty when running 1.9, unable to customize recipes.
Still working at version 1.9.
I can confirm that this plugin is 100 % working error free with Server Version Bukkit 1.8.8 , Thanks Dark!! i might also mention that this plugin works great with our emerald economy system. Much Thanks
I can confirm that this plugin is 100 % working error free with Server Version Bukkit 1.8.8 , Thanks Dark!! i might also mention that this plugin works great with our emerald economy system. Much Thanks
please repair that this error on create item ... version spigot 1.7.2-1.8.4 ( 1.7.2 , 1.7.4 , 1.7.5 , 1.7.10 , 1.8.0 , 1.8.1 , 1.8.2 , 1.8.3 , 1.8.4 )
Engine is git-Spigot-1.7.9-R0.2-207-g03373bb (MC: 1.7.10) (Implementing API version 1.7.10-R0.1-SNAPSHOT)
[20:33:39 ERROR]: Could not pass event PrepareItemCraftEvent to SparklingTools v1.7.2 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) [mc.jar:git-Spigot-1.7.9-R0.2-207-g03373bb] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [mc.jar:git-Spigot-1.7.9-R0.2-207-g03373bb] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:509) [mc.jar:git-Spigot-1.7.9-R0.2-207-g03373bb] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:494) [mc.jar:git-Spigot-1.7.9-R0.2-207-g03373bb] at net.dzikoysk.wildskript.objects.recipe.ResultEvent.onInventoryClick(ResultEvent.java:49) [WildSkript.jar:?] at sun.reflect.GeneratedMethodAccessor158.invoke(Unknown Source) [?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [?:1.7.0_80] at java.lang.reflect.Method.invoke(Method.java:606) [?:1.7.0_80] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:298) [mc.jar:git-Spigot-1.7.9-R0.2-207-g03373bb] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [mc.jar:git-Spigot-1.7.9-R0.2-207-g03373bb] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:509) [mc.jar:git-Spigot-1.7.9-R0.2-207-g03373bb] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:494) [mc.jar:git-Spigot-1.7.9-R0.2-207-g03373bb] at net.minecraft.server.v1_7_R4.PlayerConnection.a(PlayerConnection.java:1477) [mc.jar:git-Spigot-1.7.9-R0.2-207-g03373bb] at net.minecraft.server.v1_7_R4.PacketPlayInWindowClick.a(PacketPlayInWindowClick.java:15) [mc.jar:git-Spigot-1.7.9-R0.2-207-g03373bb] at net.minecraft.server.v1_7_R4.PacketPlayInWindowClick.handle(PacketPlayInWindowClick.java:65) [mc.jar:git-Spigot-1.7.9-R0.2-207-g03373bb] at net.minecraft.server.v1_7_R4.NetworkManager.a(NetworkManager.java:186) [mc.jar:git-Spigot-1.7.9-R0.2-207-g03373bb] at net.minecraft.server.v1_7_R4.ServerConnection.c(ServerConnection.java:81) [mc.jar:git-Spigot-1.7.9-R0.2-207-g03373bb] at net.minecraft.server.v1_7_R4.MinecraftServer.v(MinecraftServer.java:734) [mc.jar:git-Spigot-1.7.9-R0.2-207-g03373bb] at net.minecraft.server.v1_7_R4.DedicatedServer.v(DedicatedServer.java:289) [mc.jar:git-Spigot-1.7.9-R0.2-207-g03373bb] at net.minecraft.server.v1_7_R4.MinecraftServer.u(MinecraftServer.java:584) [mc.jar:git-Spigot-1.7.9-R0.2-207-g03373bb] at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:490) [mc.jar:git-Spigot-1.7.9-R0.2-207-g03373bb] at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628) [mc.jar:git-Spigot-1.7.9-R0.2-207-g03373bb] Caused by: java.lang.NullPointerException at com.darkstar.emeraldtools.SparklingTools.onCraftBow(SparklingTools.java:570) [?:?] at sun.reflect.GeneratedMethodAccessor182.invoke(Unknown Source) [?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [?:1.7.0_80] at java.lang.reflect.Method.invoke(Method.java:606) [?:1.7.0_80] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:298) [mc.jar:git-Spigot-1.7.9-R0.2-207-g03373bb] ... 21 more
everyone versions of plugin have that error
@jenks1999
Hi jenks1999
I had the same error when I played with my plugins the problem is you are running a old version of java that is what fixed that error for me.
Hope this helps
-KittenIso
@Darkstar1592
[07:53:22 ERROR]: Could not pass event PrepareItemCraftEvent to SparklingTools v1.7.2 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:305) [spigot_server.jar:git-Spigot-ed3e3af-ee6d0fa] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [spigot_server.jar:git-Spigot-ed3e3af-ee6d0fa] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot_server.jar:git-Spigot-ed3e3af-ee6d0fa] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot_server.jar:git-Spigot-ed3e3af-ee6d0fa] at org.bukkit.craftbukkit.v1_8_R1.event.CraftEventFactory.callPreCraftEvent(CraftEventFactory.java:729) [spigot_server.jar:git-Spigot-ed3e3af-ee6d0fa] at net.minecraft.server.v1_8_R1.CraftingManager.craft(CraftingManager.java:291) [spigot_server.jar:git-Spigot-ed3e3af-ee6d0fa] at net.minecraft.server.v1_8_R1.ContainerWorkbench.a(ContainerWorkbench.java:56) [spigot_server.jar:git-Spigot-ed3e3af-ee6d0fa] at net.minecraft.server.v1_8_R1.InventoryCrafting.setItem(InventoryCrafting.java:129) [spigot_server.jar:git-Spigot-ed3e3af-ee6d0fa] at net.minecraft.server.v1_8_R1.Slot.set(Slot.java:55) [spigot_server.jar:git-Spigot-ed3e3af-ee6d0fa] at net.minecraft.server.v1_8_R1.Container.clickItem(Container.java:284) [spigot_server.jar:git-Spigot-ed3e3af-ee6d0fa] at net.minecraft.server.v1_8_R1.PlayerConnection.a(PlayerConnection.java:1593) [spigot_server.jar:git-Spigot-ed3e3af-ee6d0fa] at net.minecraft.server.v1_8_R1.PacketPlayInWindowClick.a(SourceFile:31) [spigot_server.jar:git-Spigot-ed3e3af-ee6d0fa] at net.minecraft.server.v1_8_R1.PacketPlayInWindowClick.a(SourceFile:9) [spigot_server.jar:git-Spigot-ed3e3af-ee6d0fa] at net.minecraft.server.v1_8_R1.PacketHandleTask.run(SourceFile:13) [spigot_server.jar:git-Spigot-ed3e3af-ee6d0fa] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [?:1.7.0_25] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [?:1.7.0_25] at java.util.concurrent.FutureTask.run(FutureTask.java:166) [?:1.7.0_25] at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:696) [spigot_server.jar:git-Spigot-ed3e3af-ee6d0fa] at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316) [spigot_server.jar:git-Spigot-ed3e3af-ee6d0fa] at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:634) [spigot_server.jar:git-Spigot-ed3e3af-ee6d0fa] at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:537) [spigot_server.jar:git-Spigot-ed3e3af-ee6d0fa] at java.lang.Thread.run(Thread.java:724) [?:1.7.0_25] Caused by: java.lang.ArrayIndexOutOfBoundsException: 12 at com.darkstar.emeraldtools.SparklingTools.onCraftPickaxe(SparklingTools.java:343) [?:?] at sun.reflect.GeneratedMethodAccessor364.invoke(Unknown Source) [?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [?:1.7.0_25] at java.lang.reflect.Method.invoke(Method.java:606) [?:1.7.0_25] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301) [spigot_server.jar:git-Spigot-ed3e3af-ee6d0fa] ... 21 more
Once item is created this error spams console on 1.8.1
@Darkstar1592
1.8 enchantment properties are stored on the player's "character sheet" and are no longer random. Please keep this in mind when designing this because it would be nice to be able to use that as an option with this plugin. IE: the tier 1, 2, and 3 always be what enchanting tables would do as well.
I am setting up my server and was glad I found this because diamond would be well traded, but I couldn't find reason to trade emeralds, but this will keep a healthy emerald trade going on my server. :)
@Darkstar1592 Thank you!
@thatguywhohatesyou
I think when I first started this plugin I had a reason for why I didn't do that, but now I have no idea what it was. I will probably change it do work like you said.
Could you possibly make it so enchantments are applied AFTER the crafting process so players can't choose their enchantment?
@Darkstar1592
Just tried out the latest version, i'm still getting an error. The following errors, i got while craft tier 1,2, &3 of the bows.
Erros: http://pastebin.com/dXbGh4WG
I noticed that the error would appear when i would moves items around in the crafting table.
@marubal21
@fujiboy4
I found the error and it has been fixed. I uploaded a patch and it is now awaiting approval by bukkit.
I seem to have a similar issues as fujiboy4, when i craft any of the items i get errors in console.
Errors: http://pastebin.com/W0k79G5h
I'm not positive, but every time someone tries to craft something it gives the console an error. But, the emerald armor still works. And, are the emerald armor supposed to have no enchants sometimes?
//
Possible to enable emerald ressourcepack for armor plz
@emoser75
Apparently the random I set up for generating the enchantment level was choosing numbers 1 less than it was supposed to. So enchantment levels would generate from 0-4 instead of 1-5. I have fixed it and the patch is awaiting approval by bukkit.