Filled EnhancedEnchants

Discussion in 'Plugin Requests' started by JoeLyshGaming, Jun 8, 2019.

Thread Status:
Not open for further replies.
  1. Offline

    JoeLyshGaming

    Plugin category: Mechanics

    Minecraft version: Spigot 1.12.2

    Suggested name: EnhancedEnchants

    What I want: I'd like a plugin that modifies the mechanics of anvils. I want to be able to get high enchantments by combining books in anvils.

    For example, if you combine 2 Fortune I books, it gets you Fortune II. I want to be able to combine 2 Fortune III books and get Fortune IV, or combine 2 Fortune X books, and get Fortune XI (Fortune 11).

    Ideas for commands: No commands needed for this plugin.

    Ideas for permissions: ee.enchant.<maxlevel> | ee.enchant.unlimited

    When I'd like it by: As soon as possible.
     
    Last edited: Jun 8, 2019
  2. Offline

    Kars

    Should be easy. Working on it.
     
  3. Offline

    JoeLyshGaming

    Awesome, thanks a lot! If possible, could you make it possible to bind to tools, weapons, and armor. I was testing if you could combine a Fortune X book with a pickaxe, and it combines to a pickaxe with fortune III.
     
  4. Offline

    Kars

    It is finished and it works. Just need to add in the permissions and level costs. Few things though.

    The level cost does not scale up with the enchantments. I'm thinking of adding a multiplier to the config that would be on 10 by default. Every level of enchantment beyond vanilla would cost the vanilla cost + 10* the additional levels.
    So for example having Sharpness 6 would cost <cost> + (1*10). Sharpness 7 <cost> + (2*10). What do you think?

    About the permissions. I'm looking into the system you wish for but it would be easier for me to work with tiers. I'll keep you posted on that.

    I hope to have this thing done and uploaded for approval tomorrow.
     
  5. Offline

    Kars

    The first version is uploaded and awaiting confirmation.

    It contains everything except for the custom permissions. I have no time to work on that till next week so i will leave you with this first version.

    https://dev.bukkit.org/projects/enhancedenchants

    If it says not found that is because it is still pending. Be patient.

    I will get back to you as soon as i finish the permissions also.
     
  6. Offline

    JoeLyshGaming

    I put 2 Protection IV books in an anvil, and it outputs 1 Protection IV instead of 1 Protection V. Also, I think that'd be a great idea to add the multipliers.
     
    Last edited: Jun 12, 2019
  7. Offline

    Kars

    Like it says in the description, you need to give yourself the permission.
     
  8. Offline

    JoeLyshGaming

    Do I need to give myself the permission, or would * work?
     
  9. Offline

    Kars

    @JoeLyshGaming * would work.
    Opping yourself would also work.

    I'm releasing version 1.1 where i turn the permission to all by default because you are apparently not the only person with this problem.
     
  10. Offline

    JoeLyshGaming

    For some reason, it's still not working for me, even though I updated to the 1.1 version. I put 2 efficiency V books in an anvil and got 1 eff. V book out. I gave my self a fortune X book, and tried to put it on an axe. It gave me an axe with Fortune III on it. I'm sorry if I'm the only one with this trouble, and I'm sure you're doing everything correctly, but it's just not working for me. Is there any dependencies, and it's for sure for 1.12.2 right?
     
  11. Offline

    Kars

    Hm. You are right it doesn't work for 1.12. I hadn't tested it before. It works for 1.13+.

    Must have something to do with the way the new item type check works.. I will look into this and get back to you. For now i'll turn the supported versions to 1.13+

    Thanks for bringing this to my attention.
    ---------------------------------------------------------------------------------
    Edit:

    Turns out you can not modify the maximum cost for an enchantment pre-1.13. That is what is causing the problem...

    I could make a 1.12 version for you but it will not be able to combine anything that costs over 40 levels. Which is kind of pointless if you ask me. I could also disable the cost increase entirely. What do you think?
     
    Last edited: Jun 15, 2019
  12. Offline

    JoeLyshGaming

    I think that would be okay to disable the cost increase. I could have it to where only certain ranks could use this.
     
  13. Offline

    Kars

    @JoeLyshGaming Sorry for the delay. The 1.12 version is uploaded and awaiting confirmation.
     
  14. Offline

    JoeLyshGaming

    Hey, sorry for the wait on the reply as well. If I have any issues in the future, or if I need an update on it due to an update to minecraft (1.15+) I will let you know, but as of now, this is perfect! Thank you very much for this!
     
    Kars likes this.
Thread Status:
Not open for further replies.

Share This Page