Inactive [MECH] UberEnchant v0.0.1 [1.3.1-R2.0]

Discussion in 'Inactive/Unsupported Plugins' started by devcom, Aug 23, 2012.

  1. UberEnchant - higher level enchanting
    Features:
    • enables higher level enchantments through enchanting table.
    • takes exp levels as standard enchanting do.
    • option to enable forced enchantments on items that can't be enchanted normally.

    Permissions:
    • uberenchant.enchantment - permission to use UberEnchant
    • uberenchant.enchantment.<enchantment name> - permission to use specified enchantment
    Commands:
    • none (yet?)
    Download
    Source code:
    Changelog:
    Version 0.0.1
    • release

    Configuration:
    config.yml
    Code:
    # How many times to get random enchantment (AKA max of custom enchantments to add)
    roll-count: 3
     
    # How many bookshelfs around enchanting table to activate max-table-level
    min-table-bonus: 30
     
    # Maximum random level in enchanting table,
    # needed if your enchantments take more than 30 exp levels
    max-table-level: 100
     
    # If you want to enchant item/s that can't be enchanted normally add it/them here
    # Forced enchantments will always take all your levels and will be instant ( when you place it in enchanting slot )
    # Forced enchantments will only use custom enchantments
    # MATERIALS: http://jd.bukkit.org/apidocs/org/bukkit/Material.html#enum_constant_summary
    force-enchantment-on-item:
    - FLINT_AND_STEEL
    enchantments.yml
    Code:
    # <unique-name>:                            # used for permissions; uberenchant.enchantment.<unique-name>
    #  enabled: <true/false>                    # fast enabling/disabling
    #  enchantment: < enchantment >            # enchantment
    #  enchantment-level: <UNSIGNED INT>        # enchantment level
    #  min-exp-level: <UNSIGNED INT>            # minimum exp level cost
    #  max-exp-level: <UNSIGNED INT>            # maximum exp level cost
    #  chance: <0.0 - 1.0>                      # chance of appearing
    #  item-target: < item-target >            # item target ( overwrites can-enchant )
    #  can-enchant:                            # items that can be enchanted
    #  - < material >
    #  - < material >
    #  - < material >
    #  conflicts-with:                            # enchantments that prevent using this enchantment ( will not be added if any of these are already selected )
    #  - < enchantment >
    #  - < enchantment >
    #  - < enchantment >
    #
    #
    #
    # ENCHANTMENTS: http://dev.bukkit.org/server-mods/loot/pages/enchantment-table/
    # MATERIALS: http://jd.bukkit.org/apidocs/org/bukkit/Material.html#enum_constant_summary
    # ITEM-TARGETS: http://jd.bukkit.org/apidocs/org/bukkit/enchantments/EnchantmentTarget.html#enum_constant_detail
    Please post suggestions
     
  2. Offline

    IonKnight

    Awesome plugin!

    Have some suggestions for ya =)

    Commands:
    /UberEnchant reload (alias /UE reload) - reloads configurations without having to do a full reload.
    /UE enchant <add/remove> <enchantment>:<value> - adds or removes enchantments on the item. This is better than essentials command to enchant, as essentials limits you to the regular maximum levels. >.>
    /UE enchant clear - clears all enchantments on an item

    Configuration:
    (config.yml)
    allow-default-enchant:<true/false> - Enable/disable default enchantment rules, only allowing custom rules if false. AKA fully custom enchantment system! :)
    slot-three-max-level - Makes slot 3 in the enchantment table the maximum level of the player who is using it, or the maximum enchantment possible if it is over (IE: 100 in your config). (Feature from 1.3.2, seems disabled with uberenchant)
    (enchants.yml)
    Multiple enchantments per unique name:
    enchantments:
    - Enchantment:Level
    - Enchantment:Level

    BukkitDev - A bukkitdev for this plugin, so that it may be found easier, and so you can add multiple pages (mainly for configuration tutorials, you can put all the configuration options rather than posting links :p)

    Possible:
    Sell-signs (or something similar) for uber enchantments, hooked into vault for maximum compatibility. :)

    Bug Report:

    1) No Enchant Bug - When no enchant is chosen (IE: Enchanting level 100 sword) and no enchantment is chosen, it won't enchant at all. (Is the system you use percent chances for enchants? If so, maybe try a weighted-system like the actual enchantment system.)

    2) Cannot Force Enchant - You cannot force enchantments on unenchantable objects, even if they are under "force-enchantment-on-item". (Tried to add brick to enchantable items). Error:
    Show Spoiler
    Code:
    [SEVERE] Error occurred while enabling UberEnchant v0.0.1 (Is it up to date?)
    java.lang.IllegalArgumentException: No enum constant org.bukkit.enchantments.EnchantmentTarget.CLAY_BRICK
    at java.lang.Enum.valueOf(Enum.java:236)
    at org.bukkit.enchantments.EnchantmentTarget.valueOf(EnchantmentTarget.java:9)
    at com.devcom.uberenchant.Enchantment.UberEnchantment.<init>(UberEnchantment.java:37)
    at com.devcom.uberenchant.Enchantment.UberEnchantmentManager.load(UberEnchantmentManager.java:43)
    at com.devcom.uberenchant.UberEnchant.onEnable(UberEnchant.java:14)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:365)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:265)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:247)
    at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:567)
    at org.bukkit.Bukkit.reload(Bukkit.java:183)
    at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:21)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:492)
    at org.bukkit.craftbukkit.CraftServer.dispatchServerCommand(CraftServer.java:488)
    at net.minecraft.server.DedicatedServer.ah(DedicatedServer.java:248)
    at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:213)
    at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:476)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)


    Edit: Is the plugin dead? I mean.. no login in 2 weeks since the day of the post...
     

Share This Page