Inactive [MISC] EasyEnchant v1.2.2 - Complete control of enchantments [1.2.5-R5]

Discussion in 'Inactive/Unsupported Plugins' started by Laserhog, Dec 23, 2011.

  1. Offline

    Laserhog

    EasyEnchant
    Version: 1.2.1
    Download: EasyEnchant v1.2.2
    BukkitDev: Here

    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.

    Test Build: EasyEnchant v2.0.0a BETA for CB 1.4.5 R0.2
    To use the test build:
    1. Let a clean config generate
    2. Crouch and Right Click an Enchantment Table
    3. Make sure to have the item you want to enchant in hand
    4. Tell me what you think. Feedback is appreciated
    Whats different/new/not implemented yet:
    • First attempt at a GUI using the inventory
    • No Combos/Eco support yet
    Note: **When updating to v1.2 let a new config generate** IMPORTANT

    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
    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.combo.example
    Basics Demonstration (thanks to dannybtw):


    Combo Format:
    Code:
      name:
        cost: 15
        enchantments: protection_environmental:5&protection_fire:3&oxygen:2
    Example Max Level Combination List (open)

    Code:
    Combination:
      maxhelmet:
        cost: 0
        enchantments: protection_environmental:4&protection_fire:4&protection_explosions:4&protection_projectile:4&oxygen:3&water_worker:1
      maxarmor:
        cost: 0
        enchantments: protection_environmental:4&protection_fire:4&protection_explosions:4&protection_projectile:4
      maxlegings:
        cost: 0
        enchantments: protection_environmental:4&protection_fire:4&protection_explosions:4&protection_projectile:4
      maxboots:
        cost: 0
        enchantments: protection_environmental:4&protection_fire:4&protection_explosions:4&protection_fall:4&protection_projectile:4
      maxsword:
        cost: 0
        enchantments: damage_all:5&damage_undead:5&damage_arthropods:5&knockback:2&fire_aspect:2&loot_bonus_mobs:3
      maxtool:
        cost: 0
        enchantments: dig_speed:5&durability:3&loot_bonus_blocks:3
      silkmaxtool:
        cost: 0
        enchantments: dig_speed:5&durability:3&silk_touch:1
    ComboList: maxhelmet maxarmor maxlegins maxboots maxsword maxtool silkmaxtool
    



    How it works:
    1. Click on an enchantment table
    2. Use /ee (or /easyenchant or /enchant) to bring up a list of help commands
    3. Use /ee (enchantment) (level)
    4. 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.
    5. When finished click on the table again or walk away from the table
    Pictures (open)


    [​IMG]

    [​IMG]

    [​IMG]

    [​IMG]

    Features:
    • Modifiable alias list
    • Extremely configurable (maxLevel/Level costs per enchantment)
    • Easy to use (simple drag and drop)
    • Original enchantment method can still be used
    • Choice of using Levels or Money as currency
    • Full list on BukkitDev page...
    To-Do for Next Version:
    • Incorporate book shelves
    • More ideas (?)
    Change Log:

    Version 1.2.2
    - Added "easyenchant.notable"
    - Added "easyenchant.nocost"
    - Changed combo permission nodes

    Version 1.2.1
    - Added remove function
    - Changed how it displays the enchantments in some commands

    Version 1.2.0
    - Cleaned code somewhat
    - Added choice of money/levels as currency

    Version 1.1.0b
    - Added '/ee exceptions' to show the exceptions avaliable for the item in hand

    Version 1.1.0
    - Added Exception list for non standard enchanting
    - Added MaxEnchantmentStack
    - Changed a few methods

    Version 1.0.5
    - Changed how players can move while enchanting
    - Removed /ee break
    - Now skips enchantments in combos
    - Ratio for combo costs based on how many are added
    - Added bow enchantment support
    - Updated to new EventHandler

    Version 1.0.3
    - Added Permission Nodes
    - Added combinations
    - Added a conflict check
    - Show max level in enchantment list
    - Fixed death respawn bug

    Version 1.0.2
    - Fixed one spelling error
    - Added "protection_explosions" to config (forgot about it......)
    - Added "/ee remove" to easily remove the table

    Version 1.0.1
    - Bukkit Release
    - Slight help list change

    [​IMG]
     
  2. Offline

    joeblow0413

    Hello, I couldn't help to notice your charm in making plugins i was wondering if you would like to be our plugin dev on my public cool server it has a nice spawn and everything and is run by a good staff and we will love u check out more about our server laser hog at www.elemental-craft.com if u will be our plugin dev please reply here and tell me some ideas and what you can do. Thanks
     
  3. Offline

    Laserhog

    New version out. Just a small, by request, update to add a new command.
    /ee exceptions
    Lists the available exceptions for the the item in your hand.
     
  4. Offline

    Lilerem94

    very nice.. :) it works but why you can only 2 enchatments put in a weapon.. normaly you can put 4 enchatmens in a sword..:)
     
  5. Offline

    Laserhog

    The maxEnchantmentStack per item type (sword,bow,tool,misc) is configurable. Just change the '2' to a '4' and you are set.
     
  6. Offline

    Lilerem94

    ohh okey thx very much..:) and again this is a very nice plugin !
     
  7. Offline

    IHHI

    I don't know how to use Permission Nodes: easyenchant.use
    Someone can help me please ?
     
  8. Offline

    Laserhog

    easyenchant.use allows people to interact with the enchantment table and begin enchanting with EasyEnchant.
     
  9. Offline

    drdeft

    I have error "Cannot stack any more enchantments" trying enchant new clear iron sword. Bukkit 1.2.5. EasyEnchant 1.1.0b has default clear config.
     
  10. Offline

    Laserhog

    I don't know why this would be happening. I just tested with the latest RB and EE 1.1.0b with default config values and i was able to enchant an iron sword with 2 enchantments before receiving that message.
     
  11. Offline

    polo3400

    Add a level ignore list
     
  12. Offline

    Laserhog

    What?
     
  13. Offline

    polo3400

    Sorry, didn't realize what i wrote it was so late. Basically a permission node so you can enchant things regardless of the level it requires.
     
  14. Offline

    drdeft

    but i have this error in wrote conditions... i can sand my server zip (23mb) if you want
     
  15. Offline

    Semirotta

    Is there a way to make the normal members use : /ee cost (enchantment) (level) , but not to use commands like: /ee comboinfo (combo) , /ee combo (combo), /ee (enchantment) (level)

    Coz i would love to make the enchants cost money.EDIT: dodes the cost mean LEVELS? obviously it does? :O
     
  16. Offline

    Laserhog

    Yes cost is in Levels. And there is currently no per-command permission nodes. If people want it i may consider adding support for currency plugins. However, i would most likely just do iConomy (or i could see what Vault is all about).
     
  17. Offline

    Laserhog

    New EasyEnchant out. Version 1.2.0 Includes:
     
  18. Offline

    Snazzie

    Is there a way to remove an enchant?

    For instance, we have a player who's spent the levels to get his pick maxed out in Fortune, Efficiency, and Unbreaking. He took the pick to be repaired, and the repair mod that we use added Silk Touch to his pick, which he doesn't want. As a result, it sparked a conversation with other players who have spent levels on enchants that they later decided they didn't like but they don't want to re-make and re-enchant a new weapon.

    The blacksmith addition obviously has nothing to do with your mod - and is something that we're working out on our end. But, I don't know if removing enchants is something you'd consider adding as part of your addon because it seems to make a lot of sense to me. :) Since this says "complete control over enchants" and all. :p

    Either way - we love this plugin so thanks!
     
  19. Offline

    Laserhog

    Sure!
    I'll add this next weekend however since over the next week I'm jam packed with exams. One thing about this is do you want players to receive some sort of repayment? Or simply remove the enchantment and no levels/money is given back to the player?
    In my opinion, no repayment should be given as, if they didn't want the enchantment, they shouldn't have added it. Or, in the example you gave me, it is an enchantment that was given to them for free when repairing, so the levels they would receive wouldn't actually belong to them.
    But as always, input on the matter is welcome :D
     
  20. Offline

    Snazzie

    Yeah, I agree that there should not be repayment.

    Like you said, the player would get "paid" to reverse the enchant from the blacksmith. Boo on that!
    The perk here is that they don't have to start over from scratch.
    Even if someone decides that Efficiency 5 is too fast, then they can remove it and purchase 4 instead.
    Sure, they have to go get the levels/money to get 4, but at least it's not a "dead" pick anymore.
    Getting the levels/money to get Efficiency 4 is a heck of a better deal then getting the materials to build a new pick, then get all the money/levels to replace the other enchants that you did like, as well as Efficiency 4.
    Hope that ramble was easy enough to follow.

    Don't worry about the time to fix it. :)
    Good luck on your exams!
     
  21. Offline

    Laserhog

    Version 1.2.1 here with:
    • Remove command
    • Updated "/ee"
    • Changed how it displays the enchantments in some commands
     
  22. Offline

    dannybtw

    mc.legends-realm.com uses this plugin

     
  23. Offline

    Laserhog

    Added a video demo of EE thanks to dannybtw
    Updated server list
     
  24. Offline

    Bhavnit34

    I cant get the permissions to work. I tried putting easyenchant.use my config permissions file for my server for certain players, yet they still say they dont have permission. I tried putting the permission in the group that they are in but that didnt work either.

    I also tried giving them permission for the armourexample combo but still didnt work. Any help?
     
  25. Offline

    Laserhog

    What permissions plugin are you using?

    EDIT: Just tested with the most recent easyenchant, bukkit build (1.2.5 R4) and PEX. It all seems to be working fine. Are you putting the permission nodes in properly?
     
  26. Offline

    grizzlyheka

    ya i have the same problem as Bhavnit34.
    can u hopefully just take a screenshot of hows its sposed to look like if it's set to allow anyone to use easy enchant?

    -edit im new with bukkit like 24hour new so ya........ anyways it would be extremely helpful if u took a screen shot of how it woulf look since it would greatly improve my understanding on permissions since i just cant watch person blab on about permission for 30min... to boring.

    -edit2 im using pex btw!
     
  27. Offline

    Laserhog

    Well one thing to remember with permissions is when you are adding new permission nodes to the list, you DON'T use [TAB]'s, instead, use 4 spaces in place of EACH tab. I get the feeling this is often a problem with people and permission nodes.

    I have tested EVERY permission node used in default EE (easyenchant.use, easyenchant.swordexample, easyenchant.armorexample) and they all work (used PEX).
     
  28. Offline

    grizzlyheka

    i do now that u need 4 spaces its just that i've start like 24 hourrs ago . aka fairly new to bukit,permissions,etc i rather have a visual aid helping me since for some reason its just makes it easier for me to c how it is done then hearing some1 say it
     
  29. Offline

    Laserhog

    This is my default permissions file with "easyenchant.use" added to it.
    Code:
    groups:
      default:
        default: true
        permissions:
        - modifyworld.*
        - easyenchant.use
     
  30. Offline

    grizzlyheka

  31. Offline

    dannybtw

    Can you please make it so we can raise the enchant cost i want prot 4 to be 40 each not 26
     

Share This Page