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

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

     
  1. Offline

    Laserhog

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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

    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


    [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]

    This post has been edited 40 times. It was last edited by Laserhog Nov 26, 2012.
  2.  
  3. Offline

    Etsijä

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    No I cannot confirm that it is caused by EasyEnchant. The log line just happens to come every time just after your plugin is loaded. No functionality is broken, though.
  4. Offline

    Beef Stew

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    That's the problem. I'm bad with permissions.
  5. Offline

    kahlilnc

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Then nothing is wrong with the plugin itself. . . So please go learn how to use permissions. I refer PermissionsEX. That is what I use and it is pretty simple to manage. . . If your going to own a server, permissions is necessary to a stable server. :/
  6. Offline

    Laserhog

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    If you are Op you should automatically have the permissions, without the need of a permissions plugin. Also, yes the table WILL break if you hit it in creative. If you were Op and you hit it while in creative you still should be enchanting however, even though there is no table there.
  7. Offline

    Beef Stew

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I am OP, it's MY server I was on. And I hit it, it broke, I typed /ee, nothing.
  8. Offline

    Laserhog

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I just tested with a copy of the file from the download link above. Works perfectly fine. I was Op, in survival mode (creative worked too, tho the table was destroyed) and when i hit the table it said i was now enchanting. When i typed "/ee" off the bat it said to hit a table to begin and after i hit the table it showed a list of commands. If it showed you nothing when you typed "/ee" then are you sure you have EasyEnchant installed?
  9. Offline

    Beef Stew

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Yes I am sure. I followed those steps, and when I hit the table, nothing.
  10. Offline

    Laserhog

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    The fact that it shows nothing makes me think you don't have EE installed as even when you don't have permission and hit it it shows a message.
  11. Offline

    Beef Stew

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    How could I type /ee and have it say hit a table to begin if I didn't install it?
  12. Offline

    Laserhog

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Then I think the problem may lie in you having an outdated craft bukkit version. Should be 1.1-RB (1818).
  13. Offline

    flea1777

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Don't know if anyone has pointed this out but there is a typo in the list of enchantments. You have put unkreaking instead of unbreaking.

    Edit- just checked the update logs seems you might have got it :)

    This post has been edited 3 times. It was last edited by flea1777 Feb 15, 2012.
  14. Offline

    Laserhog

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Yea im pretty sure i fixed all the typos in the plugin. Its just i havent updated the pictures yet.
  15. Offline

    flea1777

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Yeah you got them nice plugin.
  16. Offline

    Laserhog

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Thanks
    :D
  17. Offline

    UnluckyNinja

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Convenient.

    This post has been edited 1 time. It was last edited by UnluckyNinja Feb 15, 2012.
  18. Offline

    Kylindra

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hi, I just installed this on my server because my players have been asking for a way to control enchants. I'm staring at the config file trying to figure out how to set enchant prices. However, if I understand this correctly it seems like this mod is only useful for higher level enchants because it seems impossible to make low level enchants cheap while making high level enchants expensive.

    For example, without the mod I can use 1 level and get Protection I on my pick. But with the mod the only way to make Protection I cost only 1 level is to make ALL levels of Protection cost only 1 level (assuming I understand the formula correctly). My understanding is that:

    Protection I Cost = ( 1 x CM ) + CA

    So unless CM = 1 and CA = 0, there is no way to make Protection I cost 1 level.

    I could make Protection I cost 2 levels by CM = 2 and CA = 0, but then Protection IV is only 8 levels which seems too easy.

    Do I understand this correctly? Am I missing something?

    If not I would suggest a small modification to the formula that would fix this.


    Cost = [(level -1) * CM] + CA

    This means I could set CM to anything I want, CA = 1 and get Protection I at 1 level while still making higher levels of protection much more expensive.

    This post has been edited 2 times. It was last edited by Kylindra Feb 16, 2012.
  19. Offline

    Laserhog

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    You could make Protection I cost 1 level and have the cost grow quite high at later levels simply by making the CA a negative number.
    For example.
    CM = 8 CA = -7
    Protection I = 1 cost
    Protection II = 9 cost
    Protection III = 17 cost
    Protection IV = 25 cost
    Protection V = 33 cost
    etc.

    Hope this clarifies it slightly
  20. Offline

    Kylindra

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Negative numbers...doh! Never occurred to me. Thanks.
  21. Offline

    ssbenss

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    only one question, how do you type the command in while the enchantment table is up?
  22. Offline

    Laserhog

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    You dont type it once you have the enchantment GUI up, instead you simply HIT the enchanting table and you will begin enchanting with this plugin. Then you can type the commands.
  23. Offline

    ssbenss

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    well then its not working for me but however when i do /ee the command pops up saying to click on an enchantment table, but i click the enchantment table and nothing happens whether i left click or right click it

    This post has been edited 2 times. It was last edited by ssbenss Feb 17, 2012.
  24. Offline

    Laserhog

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    What version of CB are you using? The latest version of EE only works with RB 1.1-R1 or higher.
  25. Offline

    wicked9090

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Dunno if this has been asked yet or you are working on it or if it has even been done but could you please make it so you can do this with bows also?
  26. Offline

    Laserhog

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Bow enchanting was added in the last version.
  27. Offline

    ssbenss

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    oh ok yeah i forgot to update it
  28. Offline

    Master78

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Thx Laserhog great plugin.

    Could you add an optional iconomy support that lets enchantment cost lvl and money if desired.
  29. Offline

    momo123

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hey bow entchant doesn´t work for me this note comes if i trie it "[EasyEnchant] infinity is not a valid enchantment"

    This post has been edited 1 time. It was last edited by momo123 Feb 18, 2012.
  30. Offline

    Laserhog

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I think the problem may lie in that you need to let a new configuration and alias list generate as they actually changed since the last version (adding the bow enchant info to the config as well as bow enchant aliases)
  31. Offline

    Laserhog

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    hmmmmm, possibly, but for now i want to keep this as close to normal enchanting as possible. But if you really want to add some sort of Eco system to enchanting you could always get an exp buy/sell plugin.
  32. Offline

    Qazedt

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Does this support PermissionsBukkit? I have PermsBukkit configured for this plugin, but it just seems to default to op only.

    EDIT: Never mind, turns out I was in the spawn area while I was trying to test permissions :p
    Great plugin, only thing I'd like is a way to turn off the no permissions message if someone can't use EasyEnchant and is breaking an enchantment table.

    This post has been edited 1 time. It was last edited by Qazedt Feb 19, 2012.

Share This Page