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)
    Minecraft account:
    MCUSERNAME
    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

    Laserhog

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Ok now we are getting somewhere. I will change the message to that however i wont add language support.....
  4. Offline

    Fyre

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Also note that since you're using the GNU Public license, one does not need to ask your permission to modify and re-release this plugin, as long as they credit you and don't charge for it.
  5. Offline

    ZeroZX4

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    i mean that

    same as you cant tell what it says

    pacnij reką stół do ulepszań by znowu móc się ruszać

    same way many ppl who dont understand english dont understand what that says

    punch the enchant table to be able to move again

    now you get it ?

    and by on your mercy i mean that no 1 here have big neeeeeeeeed to use your plugin we want it but not with that forced freezing cause

    but if you gonna give us node being able to use easy enchant so if someone dont have that node he CANT use ee and CANT be frozen than for me problem is solved and i thank you for your help
  6. Offline

    Kirbyarm

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I am sorry I wasn't more clear. I did not mean you personally unlazify yourself. But in plugin development, getting into the messy coding for the good of having more functionality and flexibility in your plugin, one must unlazify themself and deal with the tedious bug troubleshooting, such as multiple permissions nodes. I do see in your code that the entire base begins with using the enchant table, and I can see that'd be a pain in the ass to code with what for example, zero and I are asking. But if it means anything, I'm rooting for you if you try!

    Or I have a much easier solution for you that would fix the entire problem.

    "If a player moves while enchanting, make them no longer enchanting"

    Problem solved, very easily.
  7. Offline

    ZeroZX4

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    and btw


    And you have no IDEA how i have tried to make this more "user-friendly"


    you dont have idea how we try to make our servers user friendly and we add new plugins to provide smooth easy and nice gameplay

    and trust me ppl wont get mad if something dont work so well but will get mad when they cant play and freezing them make the unable to play
  8. Offline

    ZeroZX4

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    kirbys solution seams more sensible than my

    Or I have a much easier solution for you that would fix the entire problem.

    "If a player moves while enchanting, make them no longer enchanting"

    Problem solved, very easily.
  9. Offline

    Laserhog

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    That was my initial thought but then i thought people would always be accidentally moving or even get moved by someone else. But if this is what everyone wants then sure i will do this.
    Kirbyarm likes this.
  10. Offline

    Kirbyarm

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Oh, if you like my easy solution and plan to use it, to pre-emptively combat a possible bug, make sure it no longer enchants upon server disconnection as well.

    EDIT: While typing, a player cannot move so they are safe while typing possibly complicated commands, so long as other players don't push them.. but that can be easily communicated between players without complications.

    This post has been edited 1 time. It was last edited by Kirbyarm Jan 8, 2012.
    Laserhog likes this.
  11. Offline

    Laserhog

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    And yes i know that, but this can always be changed. And if people do modify this without my knowing it will be changed.
  12. Offline

    Fyre

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

    This post has been edited 2 times. It was last edited by Fyre Jan 8, 2012.
  13. Offline

    Laserhog

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Ok please test out this new release. It only has some simple "bug" fixes but you may like it. Here
  14. Offline

    Kirbyarm

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Testing now.
  15. Offline

    ZeroZX4

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

  16. Offline

    Kirbyarm

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

    This post has been edited 3 times. It was last edited by Kirbyarm Jan 8, 2012.
  17. Offline

    Laserhog

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Funny you mention that cause thats EXACTLY what i just did.
    :D
  18. Offline

    Laserhog

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

    fuzyfeet

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

    Laserhog

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

    fuzyfeet

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

    anakhon

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

    Laserhog

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

    anakhon

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

    Laserhog

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Updated to 1.1 RB
    Any problems, please inform me!
  26. Offline

    Laserhog

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

    Etsijä

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

    This post has been edited 1 time. It was last edited by Etsijä Jan 27, 2012.
  28. Offline

    Laserhog

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Is it affecting the plugin usage in game? And can you confirm that it is caused by EE?
    Thanks for reporting this.
  29. Offline

    Beef Stew

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Ummmm.. it says click an enchantment table to begin. I left click the table. It breaks. Nothing happens.
  30. Offline

    kahlilnc

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Do you have permissions set up?
  31. Offline

    Beef Stew

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Nope.
  32. Offline

    kahlilnc

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Set it up man. . .

Share This Page