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

    Fyre

    Actually to prevent the original developer doing exactly that, and then accusing the developer who modified and released it before the license was changed of illegally modifying and re-releasing your plugin, you can't change the license on an existing release. You can release the newer version under a different license, but this version will always be under the GNU Public license.
     
  3. Offline

    Laserhog

    Ok please test out this new release. It only has some simple "bug" fixes but you may like it. Here
     
  4. Offline

    Kirbyarm

    Testing now.
     
  5. Offline

    ZeroZX4

    ok so i see perfect solution for us all make that CAN move and he will stop enchanting if he move but when he start enchanting and move spamm his chat with message that he stopped enchanting and to re active it he need to punch the table again and leave us in config file option to translate that message and give us node to be able to disable easy enchant totally to a player and you will be happy cause we stop crying and we be happy cause players on our servers stop crying cause they cant move

    or as an alternative check this plugin out

    http://forums.bukkit.org/threads/me...-shops-by-spawning-drops-on-slabs-1337.17672/
    wathc the video of it

    its shop plugin and to buy stuff from it what i want you to look at is that how the chat acts when he start buying and how it acts when he go too far from it while buying and i think that would be even much better

    if you can make same thing for your plugin like dont freez us but make 4 block zone from table which crossing will cancel enchanting

     
  6. Offline

    Kirbyarm

    Works beautifully! Thank you so much. :) Now if only you could make a permissions node that would make left-clicking an enchantment table do nothing (or more intelligently, make a node that allows a player to enter EE mode)... the nodes don't seem to work for me. I use GroupManager.

    Got Skype? (At author)

    @Zero: He fixed the movement freezing.
     
  7. Offline

    Laserhog

    Funny you mention that cause thats EXACTLY what i just did.
    :D

    Yes i have skype. I sent you a message with my name.
    GroupManager?..... Is that superperm compatible? If so then it should work fine.
    Also, just added the node on player interaction with the table

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 22, 2016
  8. Offline

    fuzyfeet

    Any way to make this use something other than XP/Levels for the cost? Maybe it could consume items, like say 5 redstone dust for BLA enchantment, 3 bones for DAT enchantment, etc.? Other things it could consume/cost could be health. I'm going to leave a message on nisovin's MagicSpells plugin but maybe you can see if he has a hook in so it uses mana.
     
  9. Offline

    Laserhog

    Geez, this seems like it could be complex but, after i add all the the features i will have a go at this. Seems like a good idea.
    Thanks.
     
  10. Offline

    fuzyfeet

    Cool, looking forward to using this on my server. I'm full of good ideas, just wish I could make them happen myself...PHP easy, Java intimidating...
     
  11. Offline

    anakhon

    Hello,
    I'm wondering, is your plugin compatible with the Essential Permissions ? Because I added "easyenchant.use" and "easyenchant.break", but it does not seems to do anything when I do the /ee <enchant> <level> or /ee break command...

    Thanks for answers.
     
  12. Offline

    Laserhog

    I am not sure about Essentials permissions but if you are op it will always let you use the commands. If essentials permissions uses super perms then it should work, but again i dont use it so i dont know.
     
  13. Offline

    anakhon

    Yep, when i'm op, it works fine, but without it does not... I think i'll have to take a look for another permission plugin...
     
  14. Offline

    Laserhog

    Updated to 1.1 RB
    Any problems, please inform me!

    I think i may have found why it wasn't working as i had the same problems. If you are too close to the spawn area and you are not Op and you hit/break a block the event isn't even registered. So even if you had the permission node "easyenchant.use" you couldn't enchant. This can be fixed by simply moving out of the spawn zone/radius

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 22, 2016
  15. Offline

    Etsijä

    23:06:02 [INFO] [EasyEnchant] Loading EasyEnchant v1.0.5.
    23:06:02 [INFO] EasyEnchant Version 1.0.5 Is Enabled!
    23:06:02 [SEVERE] Wrong method arguments used for event type registered

    Hmm...EasyEnchant causing this? Can't say, but in console, they are right after one another. RB #1818 in use.
     
  16. Offline

    Laserhog

    Is it affecting the plugin usage in game? And can you confirm that it is caused by EE?
    Thanks for reporting this.
     
  17. Offline

    Beef Stew

    Ummmm.. it says click an enchantment table to begin. I left click the table. It breaks. Nothing happens.
     
  18. Offline

    kahlilnc

    Do you have permissions set up?
     
  19. Offline

    Beef Stew

    Nope.
     
  20. Offline

    kahlilnc

    Set it up man. . .
     
  21. Offline

    Etsijä

    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.
     
  22. Offline

    Beef Stew

    That's the problem. I'm bad with permissions.
     
  23. Offline

    kahlilnc

    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. :/
     
  24. Offline

    Laserhog

    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.
     
  25. Offline

    Beef Stew

    I am OP, it's MY server I was on. And I hit it, it broke, I typed /ee, nothing.
     
  26. Offline

    Laserhog

    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?
     
  27. Offline

    Beef Stew

    Yes I am sure. I followed those steps, and when I hit the table, nothing.
     
  28. Offline

    Laserhog

    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.
     
  29. Offline

    Beef Stew

    How could I type /ee and have it say hit a table to begin if I didn't install it?
     
  30. Offline

    Laserhog

    Then I think the problem may lie in you having an outdated craft bukkit version. Should be 1.1-RB (1818).
     
  31. Offline

    flea1777

    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 :)
     

Share This Page