[DISCONTINUED] RepairShop

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

  1. Offline

    lostaris

    iConomy does require permissions to work
     
  2. Offline

    Emirin

    Yea I just saw, its in light grey and its damn hard to see with my contrast on the monitor I looked at it on.
     
  3. Offline

    PatrickFreed

    is there a version i can download for build 198?
     
  4. Offline

    Tearlow

    "v2.1 - Added 'repairshop.nodiscount' permission for setting groups/players with no discount"

    Would it not have made more sense to set everyone to not have Discount and then add "Player/group has discount"? The current way I would need to customize each and every individual on my server *Sweat drop* or am I getting this wrong?

    If I set 'Nosidcount' on my 'Newbies' that inhering 'Builder' by the Elite- That would make them all Non-discountable.
     
  5. Create a new group like so:

    Code:
    RealNewbies:
      permissions:
        - 'repairshop.nodiscount'
      inheritance:
        - Newbies
    
    Swap all your current Newbies to RealNewbies (use search and replace in notepad, it will be quick) and keep Builders inheriting from Newbies. Put in Newbies all the settings you want the Builders to inherit, and in RealNewbies all those you don't.

    I want the plugin to provide all functionality by default; People should be able to use discounts without requiring a permission.
     
  6. Offline

    MrCamping

    Still not working except for admins. Anyone can help. Never had problems with Permissions before and most of the plugins I use use Permissions.
     
  7. Offline

    Tearlow

    On my server Users are put into groups and various groups give different access/benefits- In other words, None to anyone unless they're a recognized member. But It's true I could do that- Just seems a little backwards, this way I need to create more subgroups to each and every group. But I can work with that. Also need to go around iChat as the names of the groups looks weird with all these new sub-sub-sub groups of everything. =/

    Which also brings me to the next thing I was wondering- Would it be possible to have User/Group info-tag in Permission added to define how much of a Discount? I'd like to be able to have my Diggers (Using tools like there's no tomorrow) to have an overall discount of 30% but for the builders slightly less around 15-20% while us explorers have 5-10% deepening on the rank and the Newbies without it.

    Code:
        Digger:
            default: false
            info:
                prefix: '&3'
                suffix: '&f'
                build: true
                Repairdiscount: 30
            inheritance:
            permissions:
                - blabla.
    
    Would result in a -30% of the end price- Not the actual per use price.

    I hope some of that made some sense- if not just shout. It's much to early in the morning here :)

    EDIT: Won't 'repairshop.nodiscount' be applied if using a group with '*' cause issues by the way?
     
  8. Yeah discounts don't work like that and I'm not willing to implement any Permissions-specific feature, because eventually we'll be switching to the official system anyway.

    MrCamping, show us your config.yml for RepairShop and from Permissions? Did you try restarting the server yet?
     
  9. Offline

    MrCamping

    Code:
    #Iron tools
    b267:
      base: 50
      mul: 0.76
    b256:
      base: 50
      mul: 0.38
    b257:
      base: 50
      mul: 1.14
    b258:
      base: 50
      mul: 1.14
    #Iron Armor
    b306:
      base: 50
      mul: 3.31
    b307:
      base: 50
      mul: 3.75
    b308:
      base: 50
      mul: 3.42
    b309:
      base: 50
      mul: 2.25
    #Diamond Tools
    b276:
      base: 50
      mul: 1.09
    b277:
      base: 50
      mul: 0.54
    b278:
      base: 50
      mul: 1.63
    b279:
      base: 50
      mul: 1.63
    #Diamond Armor
    b310:
      base: 50
      mul: 12.87
    b311:
      base: 50
      mul: 14.58
    b312:
      base: 50
      mul: 13.32
    b313:
      base: 50
      mul: 8.75
    
    
    Code:
        Mods:
            default: false
            info:
                prefix: '&f[&9Mods&f]'
                suffix:
                build: true
            inheritance:
                - SU
            permissions:
                - 'essentials.jump'
                - 'essentials.back'
                - 'essentials.time'
                - 'essentials.tp'
                - 'essentials.tphere'
                - 'essentials.item'
                - 'essentials.kit'
                - 'essentials.kick'
                - 'essentials.ban'
                - 'essentials.unban'
                - 'essentials.warp'
                - 'essentials.setwarp'
                - 'essentials.delwarp'
                - 'lwc.mod'
                - '/regionbypass'
                - '/god'
                - '/worldguardnotify'
                - 'repairshop.repair'
    
    
    Thx for your help!
     
  10. Offline

    awem

    Sounds like a great little feature. Perhaps you could even add some NPC support with the NPC mod once it's out.
     
  11. Offline

    TJ8

    Does anyone know how to get coins like really fast or how to improve the amount you get because, in like one day I can only get like 20 coins which sucks, and I want more because I want my repair thingy to be the way I want it with the multiplier, but at the moment I need it on 0 because its impossible to get enough coins like 300 hits + 10 for base= 310 coins, that's ridiculous for even Multiplier to be 1x....
     
  12. Offline

    Kingadams

    Dont know if this was suggested but can you make a option for lets say you made a vip rank.. they can get a discount if set? dont know if it sounds good but just a idea
     
  13. Offline

    TJ8

    Yea I know and stuff but it's just that thats the advanced stuff and I tried, I fail at it >_<

    Anyway thanks for trying =)

    So anyone else know how to get given more coins?
     
  14. Offline

    Tearlow

    Your issue is Iconomy itself. If you want automated money generated (As is) you get 1coin every 5min. If you edit your "./iConomy/iConomy.settings" you'll find the following

    Code:
    # Money [take/give] Intervals
    money-take-amount=0
    money-take-interval=0
    money-give-amount=1
    money-give-interval=300
    Change "money-give-amount" to whatever you want. Then the Interval. For example, Setting Interval to 60 would mean you give/take the amount of coin every 60seconds.

    There are other ways of doing so, Like the Monsterhunt plugin. Imonster etc.

    He already did make it possible. But in a sort of backwards way. See my post above and his reply.
     
  15. I'll consider restricting the shop by locations in the future, as well as discount by group, but only after official storage/permissions are working, ok? And right now I'm trying to finish InsuranceShop (currently waiting patiently for the Bukkit devs to add fire tick manipulation to entities, otherwise it's mostly ported).

    You should be able to use a decimal separator in the multiplier, although the final calculated price is always an integer.

    MrCamping: Everything seems to be in order. Is that - 'repairshop.repair' the final line in your Permissions config.yml? If so try adding a blank line to the end of the file. Are the people who should have access to the command able to use those other commands?
     
  16. Offline

    MrCamping

    No that's not the end of my config.yml. I got 2 other groups after that and my list of users. but my config file was too long to post it all.
    And yes, all other commands works great for my Mods groups and the two other after. Only repairshop doesnt work :(
    Any Idea?

    Edit: For some reason it seems to be working now... Not sure why...
     
  17. Offline

    Jear

    Great plugin! just a couple of things:
    it doesn't create the RepairShop folder
    you should make the permission 'repairshop.repair' more prominent in your tutorial
    I had to copy your example into config.yml as it was not accepting my programming (easily could have been my fault)

    also- can you explain how to set up the "can only be repaired after 1/2 damage is taken" feature?

    thanks for all your hard work! :)
     
  18. Offline

    zajacmp3

    Great plugin. It would be even better if it would work on mysql and could create rapair shop zones.
     
  19. Offline

    Azraeil

    Having a ton of trouble getting this to work again!
    Basically, I was under the impression that I could leave out the base price from the configuration for it to still work. I based that assumption with the documentation on the website:
    I couldn't get the repair plugin to recognize anything for repair with that so I added the base, but I still can't get the repairs to cost anything! The repair command is recognized and I'm using an admin profile so there isn't a problem with permissions. Here's a copy of my config.yml:
    Code:
    b256:
      base: 0
      mult: 0.22
    b257:
      base: 0
      mult: 0.66
    b258:
      base: 0
      mult: 0.66
    b267:
      base: 0
      mult: 0.44
    b292:
      base: 0
      mult: 0.44
    b276:
      base: 0
      mult: 1.92
    b277:
      base: 0
      mult: 0.96
    b278:
      base: 0
      mult: 2.88
    b279:
      base: 0
      mult: 2.88
    b293:
      base: 0
      mult: 1.92
    b283:
      base: 0
      mult: 16.67
    b284:
      base: 0
      mult: 8.33
    b285:
      base: 0
      mult: 25
    b286:
      base: 0
      mult: 25
    b294:
      base: 0
      mult: 16.67
    b306:
      base: 0
      mult: 10.1
    b307:
      base: 0
      mult: 11.56
    b308:
      base: 0
      mult: 10.56
    b309:
      base: 0
      mult: 6.94
    b310:
      base: 0
      mult: 137.87
    b311:
      base: 0
      mult: 155.84
    b312:
      base: 0
      mult: 195.89
    b313:
      base: 0
      mult: 93.75
    b314:
      base: 0
      mult: 101.1
    b315:
      base: 0
      mult: 114.58
    b316:
      base: 0
      mult: 104.62
    b317:
      base: 0
      mult: 68.75
     
  20. Offline

    LucidLethargy

    Does this work on the newest builds of bukkit that run 1.3? I imagine it does since there are no error reports, but I just wanted to double check as this plugin is so crucial to my server.
     
  21. Offline

    zajacmp3

    I think would be great. If there would be npc support I would love to use it on my server :)
     
  22. It should; I'll look into it and fix the warnings soon.
     
  23. Offline

    ndoto

    Is iConomy 3.0 support in the works?
     
  24. Offline

    TJ8

    I can't wait till this updated for iConomy 3.0 because this is one of my favorite Plugins!!!
     
  25. Here's a first upgrade that does this:
    * Fixed deprecated Bukkit command usage
    * Sign shops! Use this if you want localized shops. If you want NPCs just use a NPC plugin and then put a sign next to the NPC. You can enable sign shops using the repairshop.signs permission; If you remove the repairshop.repair permission only signs will work (this permission restricts shop sign USAGE not CREATION). More instructions in page linked from OP.

    I decided to stick to Permissions 2.0 for now, because I was hoping to jump directly to Bukkit official permissions. I looked into group- and player- specific discounts over the final repair cost but it looked like a mess to implement, so I stand by what I said previously on that regard (wait for official Bukkit permissions).

    Just compiled a RepairShop 3.0 jar that should be compatible with iConomy 3.0 and higher. It was NOT tested, but Eclipse detects no errors. It's available as a separate download. Give it a try if you already use iConomy 3.0; If you run into trouble I most likely can't help you for now. I'm available to help with the iConomy 2.x version and to handle bug reports.

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

    LucidLethargy

    iConomy 4.0 was just released not too long ago, I have not tested it yet but wanted to give a quick heads up as the header warns plugin authors to update. As soon as minecraft.net actually works again I'll test it out with this one, as it is one of my favorites as well!
     
  27. Offline

    TJ8

    When I try and run my server with iConomy 3.0 and RepairShop 3.0 it tells me to use iConomy 3.0+
    Then it says disabling repairshop. I guess it doesn't work with 3.0 or 4.0?

    (I'm using Permissions 2.1, is that my problem?)
     
  28. Offline

    jwideman

    I'm guessing it was made for the hacked iConomy 3. And plugins have to be updated for iConomy 4.
     
  29. It will only ever tell you to use iConomy 3.0+ if the iConomy version you're using identifies itself as 2.x - No idea whether the official 3.0, hacked 3.0 or both did that. Rename the .jar to .zip and check plugin.yml . The 3.0 version was made using the code in Nijikokun's repository.

    The 3.0 version will not work in 4.0. I'm getting tired of all these package and class name changes. I don't have that much free time to upgrade. If this shit keeps up I may just drop my plugins.
     
  30. Offline

    TJ8

    I finally got it to work with no errors at start-up then when I go to repair I get a internal error with command or something and this is the error:

    11:22:06 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'repa
    ir' in plugin RepairShop v3.0
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:21)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:77
    )
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:1
    77)
    at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:649)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:612)

    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:606)
    at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    at net.minecraft.server.NetworkManager.a(SourceFile:230)
    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:357)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.NoClassDefFoundError: com/nijikokun/bukkit/iConomy/iConomy
    at net.myshelter.minecraft.RepairShop.repair(RepairShop.java:120)
    at net.myshelter.minecraft.RepairShop.onCommand(RepairShop.java:111)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:19)
    ... 12 more


    What now, I can go /repair but nothing else =(
     

Share This Page