Enchantment Limiter

Discussion in 'Plugin Requests' started by Xenu99, Jan 3, 2015.

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

    Xenu99

    Plugin category: Mechanics

    Suggested name: eLimit

    What I want: I would like a lightweight plugin that limits the highest level for a enchant type. I want the plugin to check the highest level from a yml config file. I want the config file to be the bukkit enchantment name and highest level, like this: DAMAGE_ALL: 5. Some other features I want is that the plugin only check the item for illegal enchants when you enchant/use a anvil, so you still can spawn in items over the enchantment limit for drop parties etc.

    Ideas for commands: /elimit reload.

    Ideas for permissions: elimit.reload

    When I'd like it by: As soon as possible, but there is no rush :)

    Thanks for considering doing this <3
     
  2. Offline

    Xenu99

    Bump :c
     
  3. Offline

    BladeFireTurtle

    I'll give it my best go for you, no promises though! ;)
    Edit - Almost done, this is turning out a little harder then it would first appear, I'll finish up and upload it in the morning! :)
     
    Last edited: Jan 5, 2015
    Xenu99 likes this.
  4. Offline

    Xenu99

    Awesome, thanks a lot man!
     
  5. Offline

    MoejoeAw44

    @BladeFireTurtle Maybe add a feature to toggle getting the enchantment though anvils. That would be a cool idea ;)
     
    BladeFireTurtle likes this.
  6. Offline

    BladeFireTurtle

    Sure I'll add this feature as well! Getting really close to finishing, I just need to do a little bugfixing with the anvils.

    *Edit* Done! Here's the link: https://drive.google.com/file/d/0B7mtRB6mZWVLcVlPeW03cGoyWjQ/view?usp=sharing the only command needed is: /enchantlimit reload
    The only permission node is: enchantlimiter.reload (By default an OP only command).

    The config has been setup using the official minecraft enchantment names, if you have diffuculty understanding whats what this site may come in handy: http://jd.bukkit.org/rb/apidocs/org/bukkit/enchantments/Enchantment.html

    I've also added a couple of extra config nodes for toggling the limiting of both enchanting tables and anvils.
    I've also included an option to tell the player that their enchantment has been limited so they are not confused. (Unfortunatly it is not possible to stop the anvils and enchanting table from displaying what they would normally give you).

    If you have any issues installing/using it let me know and I'll try to help as best I can.
    Really hope it helps! :D
     
    Last edited: Jan 5, 2015
  7. Offline

    Xenu99

    Thanks so much man :D, it works amazingly! You should really put this project up on bukkitdev, I think it could get really popular :)
     
  8. Offline

    BladeFireTurtle

    No worries! Glad I could help! :D
     
Thread Status:
Not open for further replies.

Share This Page