EasyEnchant
EasyEnchant
EasyEnchant is a complete overhaul of the current enchanting method, using commands to get accurate enchantments while also allowing for server owners to completely control how much the enchantments cost (using a multiplier and adder) and each enchantments maximum level. This also allows for users to add enchantments to their already enchanted tools, weapons and armor.
Works well with EnchantMore
NOTE: When updating to v1.2 let a new config generate!!! IMPORTANT
ANOTHER NOTE SINCE PEOPLE DON'T READ: READ THE CONFIG PROPERLY
Servers using EasyEnchant
- BigDogsPvP: mc.bigdogspvp.com:25641
- MC Legends Realm: mc.legends-realm.com
- BoarderLine: play.blcraft.net
- SemiCraft: 80.222.151.230
- Land Of Ch'bey: landofchbey.com
- damNation: damNation.eu
- Xazier Prison: 69.122.231.55
More will be added to this list as I find them.
Requirements
- Vault (Only if you choose to use money as currency)
Commands
- /ee
- /ee list
- /ee combos
- /ee exceptions
- /ee comboinfo (combo)
- /ee combo (combo)
- /ee (enchantment) (level)
- /ee cost (enchantment) (level)
- /ee remove (enchantment)
- /ee plugininfo
- /ee (page number)
Permission Nodes
- easyenchant.use
- easyenchant.notable
- easyenchant.nocost
- easyenchant.combo.(combo-name) ie. easyenchant.example
Video Demo
http://www.youtube.com/watch?v=wUzMq8XhEsc
Combo Format
example: cost: 15 enchantments: protection_environmental:5&protection_fire:3&oxygen:2
How it works:
- Click on an enchantment table
- Use /ee (or /easyenchant or /enchant) to bring up a list of help commands
- Use /ee (enchantment) (level)
- If it passes all the checks (ie. level <= maxlevel, (playerLevel - cost) >= 0, etc) the item is enchanted and the player looses the amount of levels.
- When finished click on the table again or walk away from the table
Pictures:
Features:
- Modifiable alias list
- Permission Nodes
- Combinations (User modifiable)
- Conflict Check
- Extremely configurable (maxLevel/Level costs per enchantment)
- Easy to use (simple drag and drop)
- Very compatible with EnchantMore
- MaxEnchantmentStack allowing for owners to control how many enchantments people can put on certain types of items
- Exception list to add non-standard enchanting
- Command to show exceptions for the item in the players hand
- Original enchantment method can still be used
- Choice of using Levels or Money as currency
- Can remove certain enchantments from an item
To-Do for later versions
- Spout interface
- Incorporate Bookshelves
- All ideas are on extreme hold, due to University
- More ideas (?)
Like what I do? Want to support me and my projects? A donation goes a long way for a simple developer like myself!
It is done! Version 1.1.0 is finished with a reworked "canEnchantItem()" check based off an Exception list in the configuration. This was done to allow it to work even better along side of EnchantMore.
Version 1.1.0 can be found here if the BukkitDev link isn't up yet.
PLEASE LET A NEW CONFIG GENERATE
It will contain lots of new things for instance the "Exception" list (with defaults set to work alongside of EnchantMore) and the MaxEnchantmentStack. Plus a few new comments at the top giving a brief description of the new features.
Any bugs, please inform me ASAP.
Yea good idea, i agree that this would work great with EnchantMore.
So for next version:
This is awesome, can you add support for non-standard item/enchantment combinations (i.e., bypassing canEnchantItem())? If this is added, looks like this plugin will work great along side EnchantMore.
@Laserhog
That looks great. If I can think of any other ideas, I'll throw them at ya :)
Thanks!
@Hangar
Hmmmmm, good suggestion. Max Enchantment Stack. Will add in to next version when i get around to it. Will be something like this:
Reckon that would work? Fully configurable just fyi. Those would just be the defaults.
I'd like to be able to limit how many enchants people can stack on any given item to maybe 2. I've discovered that some of my users are running around fully stacked on every item and it makes them quite OP. In fact, it changes what it even means to have an item enchanted. Now they feel they simply HAVE to have it fully stacked or "it sucks." There's also been a boon in "XP grinder farms," which I like to think are a valid part of the game and I don't really want to nerf them (yet). But this change in overall mentality was never really my intent (which was just to remove the randomness and provide some convenience). I try to be balanced in all things with my plugin use but I'm worried that this one is now a bit over the top. I could raise all the prices but I don't want to penalize the non-power-users/abusers. I know most ops may not spend much time thinking about balance but I try to keep it in mind always for my survival worlds :)
Just a suggestion :)
Another thought when you use /ee list the tooltip displays the max level for each enchant could it possibly also display the maximum the player is capable of doing based on their current level (and bookcases).
Not sure on the format but maybe something like efficiency(4/5) or simply display the level the player is able to do and not worry about displaying the maximum.
Cheers
@Laserhog
That sounds perfect. Good luck I look forward to the addition if it is possible.
@shepard42
Thank you.
Yes, i am planning to HOPEFULLY try and incorporate book cases into a maxEnchantmentCost system. Where possibly per every book case in the immediate vicinity it increases the maxEnchantmentCost by 1.5, up to 30 book cases and starting from max cost being 4. When 30 bookcases are around it the max cost becomes infinite.
Sounds good?
This mod is fantastic just one request, enchantment table bookcases have no effect on the level the player can enchant it is always maximum. It would be nice if you could have an option to set the enchantment tables power or maximum cost it can enchant depending on the bookcases just like the standard enchantment table interface.
@Darkhand81
Then what is a suitable license i could change it to. I still want people to be able to decompile and learn from this, as this is what i do with most other plugins, but not straight up copy and re-release it. I also dont want to HAVE to release the source myself.
Ideas?
Doesn't the Bukkit license require source availability? Granted, it's Java and pretty easy to decompile.
You should change your license though if you're not planning to release on your own.
@bladedpenguin
I wont release the source. Just use a Java Decompiler. I'm perfectly fine with people looking at my code, however if they were to copy and re-release it under a different name then i would be mad.
@Laserhog
Thats great, thanks for the help. Perhaps you could release the source so those of us who read java can look for bugs like this on our own?
if you don't want to release source(understandable), please change the license from GPL.
@bladedpenguin
Thank you for the info. I was able to recreate this issue. It seems there is a problem with it using capital letters....
I was able to make it work however by changing "I" to 1, "II" to 2, etc. For now this will have to do but in the next version i will try get uppercase working, or make it ignore case all together.
@shinji257
I have noticed this myself and it was because i had "@EventHandler" in one place it shouldnt have been.
This error doesn't affect anything in the plugin but i have uploaded a new one with a fix anyway.
I've got an issue when this plugin starts up. I have not tested functionality but it is throwing a severe alert for the event registration.
22:26:32 [INFO] [EasyEnchant] Loading EasyEnchant v1.0.5.
22:26:32 [INFO] EasyEnchant Version 1.0.5 Is Enabled!
22:26:32 [SEVERE] Wrong method arguments used for event type registered
I did verify it was this plugin that was causing it as removing the plugin clears it up. There is no crash dump so it must be caught in your code somewhere.
WooT! I have the users happily enchanting things. One problem though: they can't use combos.
I checked, and the user had easyenchant.minerI, eascyenchant.minerII, and easyenchant.minerIII, but they "You do not have permission to use this combo" when they type "/ee combo minerIII"
Heres my config
Awesome! We've been waiting on bow enchantments.
For others that might have problems delete the EE folder from \plugins and let the new version recreate everything.
New RB, New EE version.
Here, if the link in BukkitDev isnt up yet