EnchantableBlocks
EnchantableBlocks (formerly EnchantedFurnace) adds effects for enchantments on blocks! Currently only furnaces are supported.
Get It Now
Builds are available on BukkitDev or in the releases.
Development builds are available for use at your own risk on AppVeyor in the Artifacts tab.
Features
Per-World Focus
All features are configurable per-world. Want an OP world? Not a problem. Want to disable blocks for a vanilla world? Absolutely. All block settings can be controlled by per-world overrides, falling through to default values when not specifically configured.
Enchantment Table Enchanting
EnchantableBlocks offers vanilla-style enchantment table usage for supported blocks. Disable certain enchantments, determine your own conflicts (i.e. silk touch/fortune), or modify enchantability either globally or for a specific world set.
Permission can be granted or denied per-implementation or as a whole. More specific overrides always take precedence.
Nodes are available as follows:
<plugin name>.enchant.table.<block name>
- Permission to enchant a specific block implementation by a plugin in an enchanting table
- Ex:
enchantableblocks.enchant.table.enchantablefurnace
- Note that this is not per-material! I.e.
enchantablefurnace
covers 3 material types.
<plugin name>.enchant.table
- Permission to enchant all block implementations by a plugin in an enchanting table
- Ex:
enchantableblocks.enchant.table
<plugin name>.enchant
- Permission to enchant all block implementations by a plugin in any enchantment source
- Ex:
enchantableblocks.enchant
Anvil Enchanting
EnchantableBlocks offers vanilla-style enchantment and combination for supported blocks in anvils. Supported blocks can be combined with either a matching block or an enchanted book to increase enchantment levels. Uses vanilla combination rules - higher level takes precedence, equal levels yield an increase of 1 level up to the level cap. The enchantment level cap is configurable per-enchantment. Enchantments can be disabled to prevent transfer, though this won't remove them from the base item. Conflicts are also determined separately for maximum configurability.
Permission can be granted or denied per-implementation or as a whole. More specific overrides always take precedence.
Nodes are available as follows:
<plugin name>.enchant.anvil.<block name>
- Permission to enchant a specific block implementation by a plugin in an anvil
- Ex:
enchantableblocks.enchant.anvil.enchantablefurnace
- Note that this is not per-material! I.e.
enchantablefurnace
covers 3 material types.
<plugin name>.enchant.anvil
- Permission to enchant all block implementations by a plugin in an anvil
- Ex:
enchantableblocks.enchant.anvil
<plugin name>.enchant
- Permission to enchant all block implementations by a plugin in any enchantment source
- Ex:
enchantableblocks.enchant
Enchantments
Furnaces
See the wiki for furnace enchantments.
Videos
A basic overview of features is available from shop1126.
Alternate English video courtesy of MusicTechnician.
Portuguese video courtesy of AbsintoJ.
Thank you all!
Permissions
- Please refer to the wiki.
Config
- Please refer to the wiki.
@Jikoo_K
Well, I didn't tryed this, cause I've uncompiled your plugin and fixed it just at this point, and now working very well :
The most important point was "loc.length" instead of "s.lenght()" ;)
Thanks for all the support you gave me :)
@lululombard
I've updated the split regex again. If you would, please try out the latest dev build not approved by BukkitDev staff.
@Jikoo_K
Thanks for the update. I still getting problems with that update : http://pastebin.com/wWtz8J9S
And here's mine furnaces.yml file : http://pastebin.com/aHwXbVVm
Thanks :)
@MysticCity
I would recommend that you offer enchanted furnaces in some form of shop then - your usage case sounds like I'd need to hook Vault and offer a configurable cost per level of enchantment or something, which would definitely take me a while at my current reduced output rate.
@Jikoo_K
atm we have the problem that we dont have the normal exp bar.
so we cant enchant the Furnaces without the exp
@MysticCity
Possibly, but commands like that are often better left to other plugins. If I did implement something similar, I would not be allowing enchanting up to 32767 like Essentials does, for instance.
can you add command like essentials /enchant .....
@lululombard
Thank you! If you would, please update to the latest file not approved by BukkitDev's staff. I changed the way locations are split, which should ideally solve the issue.
@Jikoo_K
Many thanks ! I can effectively have more informations :
If you could light me on this issue, I would be very thankful.
@lululombard
If you'd be willing to run a dev build that has not been approved by Bukkit staff, I've improved the information output when getting the location of the furnace fails. It doesn't yet have any actual changes to the loading process, but the output should give me more information about what exactly the issue is.
I'd suspect an encoding issue, but YamlConfigurations supposedly account for that in keys. The only other possibility I'd come up with is that the worlds are not yet loaded. If that is the case, I'll have to do a rework of when and where I try to load furnaces.
@Jikoo_K
I checked many times but my file seems okay, I can't see where is the problem :/ http://pastebin.com/qT5dy5Cr
@lululombard
I've been looking into your issue, and I can't find anything that could have caused this aside from an encoding issue, which you've already tried to counteract. I may have a solution of sorts, but I need to check what characters are applicable for a world's name.
In the meantime if you could open up your furnaces.yml and ensure that your save appears similar to the following I'd be much obliged.
If it doesn't look like that, please pastebin it for me so I can see what's going wrong.
Hello, I got some problems with the lastest build, with almost all versions of spigot above 1.8 release. At each reboot, I got that : And all furnaces just loose their enchantments. I'm running Debian 7, the furnaces.yml files is about 140 lines long, tried ANSI/UTF8 nothing changes, also a chmod 777 on files does not work. Could you watch for this please ? Thanks.
Because people keep downloading the builds with data loading issues, I've removed the affected builds entirely and squashed the changelog into the latest file.
@Jikoo_K
Great, Thank you for fixing it.
@madtomic
Fixed in v1.3.9, can be fixed for v1.3.8 by manually creating the folder plugins/EnchantedFurnace
If you wrap your errors in code tags, it's a lot easier for devs to read.
On first start up. How to fix this?
[18:52:59 INFO]: [EnchantedFurnace] Enabling EnchantedFurnace v1.3.8 [18:52:59 ERROR]: Error occurred while enabling EnchantedFurnace v1.3.8 (Is it u p to date?) java.lang.RuntimeException: Cannot write furnace save file! Make sure your file permissions are set up properly. at com.github.jikoo.enchantedfurnace.EnchantedFurnace.getFurnaceStorage( EnchantedFurnace.java:237) [?:?] at com.github.jikoo.enchantedfurnace.EnchantedFurnace.loadFurnaces(Encha ntedFurnace.java:196) [?:?] at com.github.jikoo.enchantedfurnace.EnchantedFurnace.onEnable(Enchanted Furnace.java:46) [?:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:316) [s pigot1543.jar:git-Spigot-1543] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader .java:329) [spigot1543.jar:git-Spigot-1543] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage r.java:405) [spigot1543.jar:git-Spigot-1543] at org.bukkit.craftbukkit.v1_7_R3.CraftServer.loadPlugin(CraftServer.jav a:476) [spigot1543.jar:git-Spigot-1543] at org.bukkit.craftbukkit.v1_7_R3.CraftServer.enablePlugins(CraftServer. java:394) [spigot1543.jar:git-Spigot-1543] at net.minecraft.server.v1_7_R3.MinecraftServer.n(MinecraftServer.java:3 60) [spigot1543.jar:git-Spigot-1543] at net.minecraft.server.v1_7_R3.MinecraftServer.g(MinecraftServer.java:3 34) [spigot1543.jar:git-Spigot-1543] at net.minecraft.server.v1_7_R3.MinecraftServer.a(MinecraftServer.java:2 90) [spigot1543.jar:git-Spigot-1543] at net.minecraft.server.v1_7_R3.DedicatedServer.init(DedicatedServer.jav a:194) [spigot1543.jar:git-Spigot-1543] at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java :458) [spigot1543.jar:git-Spigot-1543] at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:6 28) [spigot1543.jar:git-Spigot-1543] Caused by: java.io.IOException: The system cannot find the path specified at java.io.WinNTFileSystem.createFileExclusively(Native Method) [?:1.8. 0_25] at java.io.File.createNewFile(Unknown Source) [?:1.8.0_25] at com.github.jikoo.enchantedfurnace.EnchantedFurnace.getFurnaceStorage( EnchantedFurnace.java:235) [?:?] ... 13 more
EnchantedFurnace v1.3.8 is out! I added a couple of the config ideas I've been sitting on.
2 full releases in a day? Holy crap. Don't worry, I'm now planning on vanishing for another month.
Uploaded EnchantedFurnaces v1.3.3 - this fixes a very serious issue with furnace saves clearing since the 1.3 swap to furnaces.yml. If you are running 1.3.1, please back up your furnaces.yml and do not restart until you have 1.3.3 installed in case this issue affects you.
I've removed 1.3.1 entirely so that no one else can download such a broken build.
@TheCoolGuy123_5_Minecraft_
Please supply errors, I cannot do anything with this little information.