Enchantment Leveller (Revamp)

Discussion in 'Plugin Requests' started by Chessnutter, Dec 24, 2018.

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

    Chessnutter

    Plugin category: Enchanting

    Minecraft version: Spigot 1.12.2

    Suggested name: Enchantment Leveller

    What I want:
    About a year ago I requested a plugin be made on here, by Tabuu I think, but now I would like it to have a few more features. Original plugin - https://drive.google.com/open?id=1DZ-4VNJJUD9yFGwKkr7A-J58QmiGf7e-

    Basically the plugin allows the user to go /level, and if the user is holding an enchanted item all enchants on that item increase by one level. It costs levels to use the command and all enchantments are capped at 10.

    I would like each individual enchantment to have a configurable max limit, for example in a config if I set sharpness to 15 and did /level while holding a sharpness 15 sword the sword would become a sharpness 15 one, but if I tried to do /level while holding a sharpness 15 sword it wouldn't go any higher. I would like to be able to configure all 1.12 enchants please.

    If possible I would like the command /level to work with enchantment books as well, currently it does not.


    Ideas for commands: /level (already made)

    Ideas for permissions: None needed.

    When I'd like it by: 30th December
     
  2. Offline

    TheSaltyOne

    So far i have the plugin! I will now try to add the book support but here is it for now (if you find bugs please tell me)

    Update: Added Book compatibility but it has a few bugs...
    Features:
    - If using a book with e.g Sharpness 4 the book won't be fully consumed but instead 1 level is consumed only!

    Known bugs:
    - If you have two book in your inventory both with two different enchantments that are also on the item but one can't be upgraded any further (e.g Sword with Unbreaking 3 (3 is max) and sharpness 3 (5 is max) but have a sharpness and an unbreaking book in your inventory both books are used)
     

    Attached Files:

    Last edited by a moderator: Dec 25, 2018
  3. Offline

    Chessnutter

    Thanks so much for the plugin! It looks like you made an entirely new plugin, which is fine but it doesn't have some of the functionality of the original.

    The amount of levels an item needs to /level should equal: number of levels on an item * 5 + 5. Right now it is just number of levels on an item *5.

    Could all the messages be configurable in a config please, and could you please add a message for an item with no enchantments when a player tries to do /level?

    Could there be an option to add a limit to how high levels can go in the config, one for each enchantment? (Higher than vanilla level limits, for example if in the config there was sharpness:9 then any item with sharpness could be levelled to IX. Or if the config said smite:28 then the smite could be /level up to but not over 28.

    /level ing books doesn't work, I tried with blast protection and sharpness and nothing happened.
     
  4. Offline

    TheSaltyOne

    Okay I will do that! But i will take me a bit since its new year and stuff now

    Well you can set it up in the config?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Dec 29, 2018
Thread Status:
Not open for further replies.

Share This Page