[DISCONTINUED][MECH] Repair v1.5 - Simple repair plugin [1000]

Discussion in 'Inactive/Unsupported Plugins' started by Lolmen, Apr 18, 2011.

  1. Offline

    Lolmewn Retired Staff

    Repair -- The Repair plugin for your tools!


    NOTE: I'm no longer continuing this plugin. Looks like techfish500 is taking it over though!


    Give me a reason to go update this plugin more often!
    [​IMG]

    What is it?
    Repair lets you repair your tools!

    How to Install
    Simply copy/paste the Jar into your Plugins Folder.

    How does it work?
    Use the /repair command to repair your stuffs!

    Permission Nodes:
    Show Spoiler
    only one: repair.fix


    To-Do:
    - Let it cost Items to do this

    Known Bugs:
    - You tell me ;)

    Download now!
    (CB 1000) --> link (v1.5)

    ChangeLog
    Show Spoiler

    Version 1.5
    - Fixed stupid something. That REALLY was stupid.
    - Items are totally disabled, they only caused errors.

    Version 1.4
    - iConomy 5.0 =D

    Version 1.3
    - Eeh, fixes?

    Version 1.2
    - Added Armour.

    Version 1.1:
    - Added the repair.fix permission
    - Added iConomy support (No item support yet!)

    Version 1:
    - Release


    I need money for my server, please [​IMG]
     
  2. Offline

    Lolmewn Retired Staff

    Oh lol, I didnt even see it wansn't in releases yet. I am using this on my own server, which always has the latest RB. So yes, Tested.

    Even more lol, I thought this was one of my other plugin's thread :p
    Ah well, Tested, going to fix iConomy 5.0 now.

    Version 1.4 is out:
    iConomy 5.0 enabled!
    Yay!

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

    kahlilnc

    WHy is this in inactive?
     
  4. Offline

    Lolmewn Retired Staff

    because it was. I just got back :p
     
  5. Offline

    kahlilnc

    Yeah

    You should add leveling to this.

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

    Lolmewn Retired Staff

    How do you mean? Less costs each level or something?
    I don't think that is the point of this plugin really. This is just a simple repair plugin, not too difficult.
     
  7. Offline

    kahlilnc

    Oh nvm.
     
  8. Offline

    Lolmewn Retired Staff

    @Juze Plugin Release for a bit? :p
     
  9. Offline

    Juze

    Done, though I would have preferred #803. :p
     
  10. Offline

    Lolmewn Retired Staff

    Darn, it goes so fast these days
     
  11. Offline

    DaddyCool64

    If i type /repair it show me 6 or 8 x that i paied 50 Coins, then internal Server error.
    My Pickaxt is not repaired.
    This is the Serverlog:
    Code:
    2011-05-25 05:15:32 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'repair' in plugin Repair v1.4
     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:127)
     at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:279)
     at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:699)
     at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:666)
     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:660)
     at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
     at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
     at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:377)
     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:292)
     at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:174)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:160)
     at nl.lolmen.Repair.Repair.onCommand(Repair.java:92)
     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
     ... 12 more
    Bukkit build - 803
    iConomy - 5.01
    Repair - 1.4
     
  12. Offline

    Lolmewn Retired Staff

    oh wow, that's weird that is. I will look why it does that.
     
  13. Offline

    DaddyCool64

    If i set Money_Costs=0 i get only the internal Server error and in the Sever.log:
    Code:
    2011-05-26 01:43:34 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'repair' in plugin Repair v1.4
     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:127)
     at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:279)
     at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:699)
     at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:666)
     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:660)
     at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
     at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
     at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:377)
     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:292)
     at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:174)
     at nl.lolmen.Repair.Repair.onCommand(Repair.java:92)
     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
     ... 12 more
     
  14. Offline

    Lolmewn Retired Staff

    I will check when I have time, really busy with homework right now. (Editing zombie video =D)
     
  15. Offline

    DaddyCool64

    On CB 818, i get this:
    Code:
    2011-06-05 01:15:52 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'repair' in plugin Repair v1.4
     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:128)
     at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:281)
     at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:718)
     at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:684)
     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:677)
     at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
     at net.minecraft.server.NetworkManager.b(NetworkManager.java:217)
     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
     at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:401)
     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:174)
     at nl.lolmen.Repair.Repair.onCommand(Repair.java:92)
     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
     ... 12 more
     
  16. Offline

    Lolmewn Retired Staff

    Hmm, weird. I'll check it ou.
     
  17. Offline

    DaddyCool64

    On CB 860 same error:
    Code:
    2011-06-14 05:45:13 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'repair' in plugin Repair v1.4
     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:128)
     at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:287)
     at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:712)
     at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:678)
     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:671)
     at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
     at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
     at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
     at nl.lolmen.Repair.Repair.doStuff(Repair.java:174)
     at nl.lolmen.Repair.Repair.onCommand(Repair.java:92)
     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
     ... 12 more
     
  18. Offline

    Lolmewn Retired Staff

    Set your items to 0, that should fix it.

    Version 1.5 is out:
    Items disabled totally. It doesn't matter what you have in your settings now.
    Something really stupid is fixed aswell.

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

    DaddyCool64

    ??
    My settings.txt:
    Code:
    #If money is 0, iConomy won't be used.
    #Item is configured like this: 1,20|20,4
    #This means 20 stone, and 4 torches
    Money_Costs=0
    Items=0
    I'll test the 1.5

    EDIT:
    With 1.5 it works
    Thanks a lot
     
  20. Offline

    Shurfire

    iconomy? can you do a custom price? could you add like a feture place.
     
  21. Offline

    DaddyCool64

    Works fine on CB 953
     
  22. Offline

    HolyRane

    Make it work for items :p
     
  23. Offline

    Lolmewn Retired Staff

    Oh ye! I just finished some InventoryManaging today, so I can do that! Yay!
     
    DaddyCool64 likes this.
  24. Offline

    HolyRane

  25. Offline

    Monkey78

    We've found an issue with this plugin.
    If you have multiple of the tool you are repairing (i.e. have 2 diamond pickaxes), it deletes the extras from your inventory.

    Also, could you add repair for swords too?
     
  26. Offline

    Lolmewn Retired Staff

    You mean when you have 2 1 just disapears? Oh, that is bad.
    I will add Swords.
     
  27. Offline

    monir

    could you add automatic repair to?
     
  28. Offline

    Lolmewn Retired Staff

    meaning when it breaks it repairs?
    Nah.
     
  29. Offline

    monir

    yes as a alternative that would be awesome :)
     
  30. Offline

    Lolmewn Retired Staff

    I might look into it if I have time left, Im really busy with my server.
     
  31. Offline

    JustAnotherDude

    Like the simpleness of the plugin things like autorepair imo should not be added.
    Was hoping you would add repair to swords soon.
     

Share This Page