[FUN] Tim The Enchanter v3.0 - Enchant your items! [1.4.7-R1]

Discussion in 'Plugin Releases' started by mbaxter, Nov 21, 2011.

  1. Offline

    onlineman

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    an internal error ocoured while attepting this command ?!?!?!?!? hmmm

    i have bukkit 1534
    plugins:
    authMe
    Auto message
    Bleeding Mobs
    Essentials
    EssentialsGroup bridge
    EssentialsChat
    EssentialsProtect
    EssentialsSpawn
    Lockette
    Minecraft viewer
    Mob arena
    MobDisguise
    mobSpawner
    noEndermen
    NoMoreRollbacks
    Portal stick
    Resiednce
    Spout plugin
    TieDyeSheep
    VoxelSniper
    World edit
  2. Online

    mbaxter ʇıʞʞnq ɐ sɐɥ ı Moderator BukkitDev Staff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I'll need to see the error.
  3. Offline

    tophatbandit

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I'm getting the following console error when I try and /enchant:

    Code:
    org.bukkit.command.CommandException: Unhandled exception executing command 'enchant' in plugin TimTheEnchanter v1.4
        at nu.baxter.enchant.Tim.onCommand(Tim.java:46)
    Any idea how to fix it?
  4. Online

    mbaxter ʇıʞʞnq ɐ sɐɥ ı Moderator BukkitDev Staff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I need the full error
  5. Offline

    boldra

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Here's the stack trace for the new error - it doesn't look like it's going to help much.

    This is bukkit 1597, other plugins controlORBIe, Giant Trees, Lockette, mobSpawner, SpawnMob + SpongeRestore

    12:46:48 [INFO] No source for Tim.jar ask the Author to add it to dev.bukkit.org

    12:46:49 [INFO] CButD: Plugin-Update-Check finished
    12:47:03 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'ench
    ant' in plugin TimTheEnchanter v1.3.1
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:16
    5)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:3
    78)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
    java:757)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:722)

    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:715)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    Caused by: java.lang.NoSuchMethodError: net.minecraft.server.ItemStack.a(Lnet/mi
    necraft/server/Enchantment;I)V
    at nu.baxter.enchant.Tim.enchantDat(Tim.java:122)
    at nu.baxter.enchant.Tim.onCommand(Tim.java:69)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
    ... 12 more
    >
  6. Online

    mbaxter ʇıʞʞnq ɐ sɐɥ ı Moderator BukkitDev Staff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    You need to update your version of Tim The Enchanter :)
  7. Offline

    Bobble81

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I love this plugin, I enchant random things eg. signs, sticks etc to take griefers by surprise. They are always shocked when they have been hit by a sign enchanted with knockback 100!
  8. Offline

    elton

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    why can't i do /enchant all help me please:'(
  9. Online

    mbaxter ʇıʞʞnq ɐ sɐɥ ı Moderator BukkitDev Staff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Do you get any message when you type /enchant ?
  10. Offline

    elton

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    yes "enchant not found"
  11. Online

    mbaxter ʇıʞʞnq ɐ sɐɥ ı Moderator BukkitDev Staff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    That is not a Tim the Enchanter error. Perhaps you're using essentials which has its own enchant command?
  12. Offline

    elton

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    i dont know
  13. Offline

    InsaneDash

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hello, i have a Error Massage.
    If i write /enchant list or /enchant add then a error comes.
    "an internal error ocoured while attepting this command"

    Can you help me ?

    2011-12-29 22:10:21 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'enchant' in plugin TimTheEnchanter v1.4 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:364) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:756) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:721) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:714) at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33) at net.minecraft.server.NetworkManager.b(NetworkManager.java:226) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92) at net.minecraft.server.NetworkListenThread.a(SourceFile:108) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:516) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414) at net.minecraft.server.ThreadServerApplication.run(SourceFile:457) Caused by: java.lang.NumberFormatException: For input string: "list" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:492) at java.lang.Integer.valueOf(Integer.java:582) at nu.baxter.enchant.Tim.onCommand(Tim.java:46) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40) ... 12 more


    But i can use /enchant and /enchant all

    This post has been edited 2 times. It was last edited by InsaneDash Dec 29, 2011.
  14. Online

    mbaxter ʇıʞʞnq ɐ sɐɥ ı Moderator BukkitDev Staff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Why are you trying a command that doesn't exist? There is no /enchant list
    But I'll go fix that issue.
  15. Offline

    Pim1234

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    i have 2 requests.
    1) the '/enchant all all' or something command (to enchant everything that can be enchanted in your inventory at once)
    2) that you keep your enchantments after a restart (i think it was a restart, correct me if i am wrong).
  16. Online

    mbaxter ʇıʞʞnq ɐ sɐɥ ı Moderator BukkitDev Staff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I'll consider (1) but enchantments don't disappear after a restart.
  17. Offline

    Pim1234

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    i might be wrong with the restart, but they do reset sometimes... not after a reload, nor after a relog so i guessed it would be after a restart... i will check my other plugins then
  18. Online

    mbaxter ʇıʞʞnq ɐ sɐɥ ı Moderator BukkitDev Staff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    There are a few situations that plugins might cause where items lose their enchantments due to the current state of the API, or the method by which the plugins store data.
  19. Offline

    Evonava

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Actual as the owner of the server. I prefer to keep Tim from the Guest, Builders, Veterans and the Mods.
    Given to the Admin and my self only. it takes a few days but the player finds out that a pick with enchant all. is difficult to work with. "ok. Just this one block.. ^$%$#@ not 5 of them!"
    it takes a bit. But I'm happy with a /enchant 21 32 34 X 10 yes. its /enchant 21 10 /enchant 32 10 its worth it. and IF you use mcMMO and your repair skill is good. well double the durability of the repaired item is added cake.
    I.E.
    • Wood - 60 uses / 120
    • Stone - 132 uses / 244
    • Iron - 251 uses / 302
    • Gold - 33 uses / 66
    • Diamond - 1562 uses / woot! 3124
    • *note* 3124 uses with /enchant 34 125 means this pick is gonna last you a long, long, looooooong Time....
    I'm going to presume that if i Repair it a second or third time. they do not stack. Anyone test this?
  20. Offline

    CrinklyMilk

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Can you add an alternative command to /enchant as it interferes with essentials version of this and I would much prefer to use your plugin because of the quick and simple /enchant all. Perhaps an alias could be /e?
  21. Online

    mbaxter ʇıʞʞnq ɐ sɐɥ ı Moderator BukkitDev Staff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Latest versions of essentials shouldn't have this bug :)
  22. Offline

    CrinklyMilk

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    This is the problem I have too. You are using essentials as well.
  23. Offline

    CrinklyMilk

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Oh, ok lol, I'll see if my server has the latest essentials.
  24. Offline

    CrinklyMilk

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Thanks! It worked! Although an alias for /e would be quite nice for people who don't use bShortcut.
  25. Offline

    Apfelcraftpunsch

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    It's great, but what are the permissions?
  26. Offline

    monir

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Is it possible to remove all enchanted tools on a server? or just remove enchanting?

    This post has been edited 1 time. It was last edited by monir Jan 12, 2012.
  27. Offline

    brianm97

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    is a 1.1 out?
  28. Online

    mbaxter ʇıʞʞnq ɐ sɐɥ ı Moderator BukkitDev Staff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    You shouldn't need to update it.
  29. Offline

    brianm97

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    for the bow enchantment
  30. Online

    mbaxter ʇıʞʞnq ɐ sɐɥ ı Moderator BukkitDev Staff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Enchantments 48 (arrow damage) 49 (arrow knockback) 50 (arrow fire) 51 (infinite)

    Here ya go :)

Share This Page