[DISCONTINUED] RepairShop

Discussion in 'Inactive/Unsupported Plugins' started by Protected, Feb 2, 2011.

  1. Too much trouble, too little time.
     
    LucidLethargy and Mahngiel like this.
  2. Offline

    muTe

    i just can download zip file there is no jar file but some files and folders.
     
  3. Oops, that's an Apache misconfiguration. Just rename it to .jar ;) I'll have it fixed in the server in a couple of minutes.

    (EDIT: Fixed!)
     
  4. Offline

    Drakeir

    Yay! I am glad to see this ported. I will be installing it tomorrow.
     
  5. Offline

    poopiepants

    Permission lines?
    Thank you for the great plugin!
     
  6. It's written in the page - 'repairshop.repair' is the only permission, which enables people to repair their stuff when Permissions is in the house.
     
  7. Offline

    poopiepants

    Thank you.
    I scanned up and down and I couldn't see it.
    Forgive me, I am old. :)
     
  8. Offline

    Herr Riz

    Could you add the option to require items as well, such as repairing a diamond pickaxe with two diamonds?
     
  9. Offline

    FXStrato

    Now if only you could make a shop for buying things... :D This is pretty good, though.
     
  10. Offline

    MinehubGaming

    So is it a physical shop that people repair at? Or is it similar to the simpleshop plugin. And do you have any plans to port sign shops over to bukkit?
     
  11. Offline

    Azraeil

    Whoa whoa whoa. Let's please not make this mod anything more than repair! Simplicity is key!
    As for a specified location that allows repair, I think that's a great idea. Cuboid or point with radius would be nice. Allowing multiple locations would be a must if you did add that feature.

    While I like that idea, I think there is a nice mod that already does that (though duplicate functionality and competition is always nice!).
     
  12. Offline

    Drakeir

    I cannot seem to get this working right for me. I can repair items when I have a default value set, but the item specific values won't override it, and if I remove the default value altogether I always get "You arn't allowed to repair 'item'".

    I am positive I have it set up correctly, and i am sure that I am using the correct syntax.
     
  13. Offline

    Herr Riz

    But that one doesn't have iConomy support (yet). If one had both, that would be great. Suppose I want diamond pickaxes to take one diamond and 60 credits.
     
  14. Sign shops aren't among my plugins, but hopefully someone else will port that and then you can have your non-global repairs. For buying items use SimpleShop. For item-based repairs use AutoRepair.

    Drakeir, pastebin your config.yml?
    --- merged: Feb 4, 2011 10:14 AM ---
    It seems numeric field names were causing issues with Bukkit's Configuration; I uploaded a fixed version which changes field names to bITEMID - For example b268. So just redownload, prefix the item IDs with a 'b' in config.yml, reload, and it should be fixed.
     
  15. Offline

    Drakeir

    Yup, that fixed the problem. It is working great now.

    Thanks for the wonderful plugin.
     
  16. Offline

    daveGeiss

    it didn't make the folder for me.
     
  17. Offline

    LucidLethargy

    I have been waiting on the edge of my seat for this release! Thank you so much! This gives my entire economy a true purpose :p

    P.S. The plugin did not generate a folder for me to modify the values of... I will attempt to use your example as a substitute.

    Edit: Most things work, but many of my values from hMod's version were using multipliers without a "1" or higher in front of them (example .6 and .9) and those are not working even with a zero placed before them.

    The message I get is "You aren't allowed to repair null. No items can be repaired!" Fix this and it will do everything! (well except display on signs, but i'll wait for SignCommands to be ported for that... unless your feeling adventurous)

    Edit (again): It works now... and I'm quite confused... Perhaps restarting my server did not reload the files properly.
     
  18. Offline

    Meteo

    -Bump As wut Lucid said, there is no folder that is generated.... i tried to make my own folder and modifications, still cannot repair. i added the permissions already to
    Code:
    - repairshop.repair
     
  19. You must create config.yml inside plugins/RepairShop/ . If you have it set up exactly like this and it still doesn't work, perhaps you should pastebin your config.yml here so we can take a look at it!
     
  20. Offline

    Meteo

    k here it comes!

    Code:
    b267:
    base: 100
    mul: 0
    
    b256:
    base: 100
    mul: 0
    
    b257:
    base: 100
    mul: 0
    
    b258:
    base: 100
    mul: 0
    
    b259:
    base: 100
    mul: 0
    
    b292:
    base: 100
    mul: 0
    
    b306:
    base: 100
    mul: 0
    
    b307:
    base: 100
    mul: 0
    
    b308:
    base: 100
    mul: 0
    
    b309:
    base: 100
    mul: 0
    
    b276:
    base: 500
    mul: 0
    
    b277:
    base: 500
    mul: 0
    
    b278:
    base: 500
    mul: 0
    
    b279:
    base: 500
    mul: 0
    
    b310:
    base: 500
    mul: 0
    
    b311:
    base: 500
    mul: 0
    
    b312:
    base: 500
    mul: 0
    
    b313:
    base: 500
    mul: 0
    
    
    
    
    config.yml
    all files.


    this was made with notpade btw.
     
  21. Offline

    Azraeil

    Pay close attention to indentation too. If each of those entries are supposed to look like
    Code:
    b312:
        base: 500
            mul: 0
    
    then it wouldn't work.
     
  22. As Azraeil said, meteo. In YAML child keys of a node are determined by indentation (get used to it now, since it's the official format for Bukkit!)

    So if you want to say the base and mul are part of b306, they must have at least one more space before them than b306, and both must be preceded by the same amount of spaces. Do not use tab either ;)

    Code:
    b306:
      base: 100
      mul: 0
    If this confuses you, you can use this format instead:

    Code:
    b306: {base: 100, mul: 0}
     
  23. Offline

    Meteo

    OH! THANK YOU! You guys are the best :] i cannot wait for u to make even more better plugins XD
     
  24. Offline

    Tearlow

    Would it somehow be possible to only allow discounts for certain users/groups?
     
  25. Sounds like a good idea, I'll try to remember to add it in the next version.
     
  26. Is it possible to have players get income from different shops? (like having several blacksmiths throughout several towns, with their own prices).

    Thanks :)
     
  27. Offline

    MrCamping

    I've added 'repairshop.repair' to my permissions files and it doesnt seem to work.
    It works good for me as I have * in Permissions but not for my users.
    I've reloaded Permissions, only try I haven't try is to reload this plugin. There's no /repair reload command and /reload makes my vps cpu to run at 100%
     
  28. Offline

    Penorzilla

    Would be nice to be able to set the repair shop in a specific location. Maybe a radius within the area I set and obviously being able to have multiple repair areas.
     
  29. Offline

    Emirin

    Code:
    SEVERE: Could not pass event PLAYER_COMMAND to RepairShop
    java.lang.NoClassDefFoundError: com/nijikokun/bukkit/iConomy/iConomy
            at net.myshelter.minecraft.RepairShopListener.onPlayerCommand(RepairShop
    Listener.java:22)
            at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.ja
    va:144)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:60)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:214)
            at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:602)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:575)
            at net.minecraft.server.Packet3Chat.a(SourceFile:24)
            at net.minecraft.server.NetworkManager.a(SourceFile:232)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:104)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:310)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:225)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    I'm sure I have something wrong in my configs, but what am I doing wrong that it cannot pass events? I am currently running craftbukkit b289
    --- merged: Feb 10, 2011 12:25 AM ---
    n/m I figured it out, Permission isn't actually optional.. Installed it and everything worked.
     
  30. According to your error description and line what you were missing wasn't Permissions but iConomy. Maybe iConomy requires Permissions, I'm not sure right now and too much in a hurry to check. But RepairShop shouldn't!
     

Share This Page