Could someone update this plugin for me? (source code available)

Discussion in 'Archived: Plugin Requests' started by Gangsta_hotdog, Jan 31, 2012.

  1. Offline

    Gangsta_hotdog

    Plugin category: Economy

    Suggested name: GlobalShop

    A bit about me: I'm the owner of the server AshrehCraft, and we are highly based around economy. You can buy/sell items as well as sell/rent rooms, and you get money for killing mobs.

    What I want: I'd like somebody to update this plugin for me, and the other users that are waiting for it to be updated. The owner has posted the source code and allowed anyone to mod it, as he doesn't have the time any more. It could be weeks before he gets around to it.

    Ideas for commands: Preferably leave them as they are.

    Ideas for permissions: Preferably leave them as they are.

    Willing to pay up to: $0 - but hopefully someone that is in this for the community will still help. Keep in mind you'd be helping a fair few people by updating this. :)

    When I'd like it by: As soon as possible, I'm not really in too much of a rush, although my users would like their shop back.

    Source code can be found here, apparently. I've never used the website before so have no idea how to navigate it. Thanks to anyone that looks.

    Bump. :D

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

    matthayez011

    ;-0 Bump Bump BUMP
     
  3. Offline

    Gangsta_hotdog

  4. Offline

    smbarbour

    My question about this: What do you want updated? Did something break?
     
  5. Offline

    Fyre

    See my posts on the BukkitDev page.
     
  6. Offline

    Gangsta_hotdog

    You sound like you know what you're doing.. would you be willing to update it? :D
     
  7. Offline

    Fyre

    I could try, but the MaterialData system is somewhat confusing (ie: In the item ID 35:15, 15 is the MaterialData).
     
  8. Offline

    Gangsta_hotdog

    Would you be willing to give it a shot anyway? :)
     
  9. Offline

    Waterflames

    I replaced the old event system with the new one, same with the configuration. (Haven't tested it)
    Source
    Jar
     
  10. Offline

    Fyre

    If you check the BukkitDev page, you'll see the problem isn't that simple.
     
  11. Offline

    Gangsta_hotdog

    Gives me an InvalidPluginException, whatever that is.
    Are you going to try updating it yourself? :D
     
  12. Offline

    Fyre

    Maybe once I can get a hold of the real source, I can't reach his repository, and I don't like relying on decompiled sources.
     
  13. Offline

    Waterflames

    Plugin.yml was missing, fixed that.

    My first post here contains the source from his repository. It is a version I fixed some stuff in. (details in post.)
     
  14. Offline

    Zovator

    No offense, but that was kind of rude..
     
  15. Offline

    Gangsta_hotdog

    How so? I complemented him, and asked him a favour. The thread is me asking for help, so I think it's on subject actually and IMO I put it nicely to him.

    That error is out of the way, now I get "UnsupportedClassVersionError". :/

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

    Zovator

    It's just my opinion, don't take it personally, I just thought it sounded rude, don't worry :p
     
  17. Offline

    Gangsta_hotdog

  18. Offline

    Milkywayz

    You bump a lot, I understand though. But to honest even if i knew how to update this I wouldn't for free, you should offer something because although some people like coding for fun, but not many will just update something for you. You should just get the owner a new plugin, if the dev doesn't support it sooner or later it should be abandoned.
     
  19. Offline

    patey

  20. Offline

    Gangsta_hotdog

    I've had a look at DynamicMarket and it's not really what I'm looking for, it seems way too hard to set up and I'm not really for the price changing part. Plus, at the end of it, Cobblestone would end up being 0.00001 because everyone sells it 24/7 for the money. XD

    I've used Chestshops in the past and couldn't get on with it. All I want is a command to do /buy but with this you need a warp, and it's normally quite hard to find what you're looking for.
    I appreciate the help though! :)

    Sorry if the bumping annoys you, I was just hoping some nice person would do it for me, as I didn't think it would be that hard either (I can't code so not certain). As it's a plugin that could easily go a few updates before needing to be updated itself I assumed noboby would mind putting in a bit of effort to do it as their work would go quite far. But, apparently the people that are willing to try, give up on the second error. XD
     
  21. Offline

    Zarius

    Or get ignored because no-one reads their post on the BukkitDev page ;)
     
  22. Offline

    Gangsta_hotdog

    I saw that but noticed it's much smaller than the official release, I assumed something was wrong with it. XD I'll give it a shot now.
    EDIT: I tried it. It loads, you can buy things, but I tried selling a bit of lapis and it didn't work. Gave me an error of some sort. Would post it but I can't get into the files right now.
    EDIT 2: Actually scratch that, I think I have a problem with iConomy. I'll try it once I've got some things straitened out.
     
  23. Offline

    Gangsta_hotdog

    Okay, it turns out your build is what screwed up my iConomy. I can buy things, but whenever I sell something, it does something to my iConomy funds and gives me an error whenever I do /money.
     
  24. Offline

    Zarius

    Only thing I changed was commenting out a line that stopped dmgvalues being used - any buy/sell errors would have already been in there.

    Although your issue also sounds odd, as GlobalShop just uses the standard Register library so shouldn't have any problems with iConomy - perhaps there's another issue.
     
  25. Offline

    Gangsta_hotdog

    It worked perfectly before the 1.1-R3 update. Was even fine in R1. Any chance you could look into updating this? Or I fear I might have to look for something else, which I don't think there is. :eek:
     
  26. Offline

    Zarius

    I can update it but not sure what your problem is... can you send me your config? I can test that and see if I get the same issue.
     
  27. Offline

    patey

  28. Offline

    Gangsta_hotdog

    Code:
    #GlobalShop 0.6 by Phate
    #Configuration File
     
    #Use Yeti's Permissions system?
    useYetiPerm: true
     
    #Here the sale ratio is determined
    buysell: 0.8
     
    #Here the shops Item- and Pricelist is determined
    #This is how the items are defined:
    #- ItemID:ItemName:Amount:Price(:Damage/Color)
    ShopItems:
    - 1:stone:1:0.40
    - 2:grass:1:0.20
    - 3:dirt:1:0.20
    - 4:cobblestone:1:0.20
    - 5:wood:1:0.20
    - 6:sapling:1:0.50
    - 6:redwoodsapling:1:0.50:1
    - 6:birchsapling:1:0.50:2
    - 12:sand:1:0.08
    - 13:gravel:1:0.05
    - 14:goldore:1:1.80
    - 15:ironore:1:0.80
    - 17:log:1:0.80
    - 17:redlog:1:0.80:1
    - 17:birchlog:1:0.80:2
    - 18:leaves:1:0.20
    - 19:sponge:1:0.80
    - 20:glass:1:0.50
    - 22:lapisblock:1:4.50
    - 23:dispenser:1:4.50
    - 24:sandstone:1:0.35
    - 25:noteblock:1:2.50
    - 27:poweredrail:1:5.50
    - 28:detectorrail:1:4.50
    - 29:stickypiston:1:4.20
    - 30:web:1:0.50
    - 33:piston:1:2.50
    - 35:wool:1:0.60
    - 35:orangewool:1:0.60:1
    - 35:magentawool:1:0.60:2
    - 35:lightbluewool:1:0.60:3
    - 35:yellowwool:1:0.60:4
    - 35:limewool:1:0.60:5
    - 35:pinkwool:1:0.60:6
    - 35:graywool:1:0.60:7
    - 35:lightgraywool:1:0.60:8
    - 35:cyanwool:1:0.60:9
    - 35:purplewool:1:0.60:10
    - 35:bluewool:1:0.60:11
    - 35:brownwool:1:0.60:12
    - 35:darkgreenwool:1:0.60:13
    - 35:redwool:1:0.60:14
    - 35:blackwool:1:0.60:15
    - 37:yellowflower:1:0.25
    - 38:redflower:1:0.25
    - 39:brownmushroom:1:0.80
    - 40:redmushroom:1:0.80
    - 41:goldblock:1:18.00
    - 42:ironblock:1:9.00
    - 44:stoneslab:1:0.80
    - 44:sandstoneslab:1:0.80:1
    - 44:woodenslab:1:0.80:2
    - 44:cobblestoneslab:1:0.80:3
    - 44:brickslab:1:0.80:4
    - 44:stonebrickslab:1:0.80:5
    - 45:brick:1:0.80
    - 47:bookshelf:1:0.80
    - 48:mossycobblestone:1:0.80
    - 50:torch:1:0.90
    - 53:woodenstairs:1:1.00
    - 54:chest:1:1.60
    - 57:diamondblock:1:45.00
    - 58:workbench:1:0.80
    - 61:furnace:1:1.60
    - 65:ladder:1:1.20
    - 66:minecarttrack:1:2.50
    - 67:cobblestonestairs:1:1.00
    - 69:lever:1:0.50
    - 70:stonepressureplate:1:0.80
    - 72:woodenpressureplate:1:0.40
    - 76:redstonetorch:1:0.80
    - 77:button:1:0.80
    - 81:cactus:1:0.70
    - 84:jukebox:1:5.70
    - 85:fence:1:0.80
    - 86:pumpkin:1:0.80
    - 87:netherrack:1:0.30
    - 89:glowstone:1:7.20
    - 91:jackolantern:1:1.30
    - 96:trapdoor:1:0.80
    - 98:stonebrick:1:0.40
    - 98:mossystonebrick:1:0.40:1
    - 98:crackedstonebrick:1:0.40:2
    - 101:ironbars:1:0.50
    - 102:glasspane:1:0.25
    - 106:vines:1:1.00
    - 107:fencegate:1:0.80
    - 108:brickstairs:1:1.00
    - 109:stonebrickstairs:1:1.00
    - 110:mycelium:1:1.00
    - 111:lilypad:1:0.80
    - 112:netherbrick:1:0.85
    - 113:netherfence:1:1.00
    - 114:netherstairs:1:1.00
    - 116:enchantmenttable:1:20.00
    - 117:brewingstand:1:1.80
    - 121:endstone:1:2.50
    - 122:dragonegg:1:80.00
    - 256:ironshovel:1:1.20
    - 257:ironpickaxe:1:3.20
    - 258:ironaxe:1:3.20
    - 261:bow:1:3.00
    - 262:arrow:1:0.70
    - 263:coal:1:0.60
    - 263:charcoal:1:0.60:1
    - 264:diamond:1:5.00
    - 265:ironingot:1:1.00
    - 266:goldingot:1:2.00
    - 267:ironsword:1:2.20
    - 268:woodensword:1:0.40
    - 269:woodenshovel:1:0.40
    - 270:woodenpickaxe:1:0.80
    - 271:woodenaxe:1:0.80
    - 272:stonesword:1:0.60
    - 273:stoneshovel:1:0.60
    - 274:stonepickaxe:1:1.00
    - 275:stoneaxe:1:1.00
    - 276:diamondsword:1:10.10
    - 277:diamondshovel:1:5.20
    - 278:diamondpickaxe:1:15.20
    - 279:diamondaxe:1:15.20
    - 280:stick:1:0.10
    - 281:bowl:1:0.60
    - 282:mushroomsoup:1:2.20
    - 283:goldsword:1:4.10
    - 284:goldshovel:1:2.20
    - 285:goldpickaxe:1:6.20
    - 286:goldaxe:1:6.20
    - 287:string:1:1.00
    - 288:feather:1:0.50
    - 289:gunpowder:1:1.50
    - 290:woodenhoe:1:0.60
    - 291:stonehoe:1:0.80
    - 292:ironhoe:1:2.20
    - 293:diamondhoe:1:10.20
    - 294:goldhoe:1:4.20
    - 295:wheatseeds:1:0.80
    - 296:wheat:1:0.50
    - 297:bread:1:1.50
    - 298:leatherhelmet:1:4.00
    - 299:leatherchestplate:1:6.40
    - 300:leatherleggins:1:5.60
    - 301:leatherboots:1:3.20
    - 306:ironhelmet:1:5.00
    - 307:ironchestplate:1:8.00
    - 308:ironleggins:1:7.00
    - 309:ironboots:1:4.00
    - 310:diamondhelmet:1:25.00
    - 311:diamondchestplate:1:40.00
    - 312:diamondleggins:1:35.00
    - 313:diamondboots:1:20.00
    - 314:goldhelmet:1:10.00
    - 315:goldchestplate:1:16.00
    - 316:goldleggins:1:14.00
    - 317:goldboots:1:4.00
    - 318:flint:1:0.50
    - 319:rawporkchop:1:0.80
    - 320:cookedporkchop:1:1.20
    - 321:painting:1:1.00
    - 323:sign:1:1.30
    - 324:woodendoor:1:1.20
    - 325:bucket:1:3.00
    - 326:waterbucket:1:3.50
    - 328:minecart:1:5.00
    - 329:saddle:1:3.00
    - 330:irondoor:1:6.00
    - 331:redstone:1:0.65
    - 332:snowball:1:0.12
    - 333:boat:1:1.20
    - 334:leather:1:0.80
    - 335:milkbucket:1:3.50
    - 337:clay:1:0.80
    - 338:sugarcane:1:0.80
    - 339:paper:1:0.80
    - 340:book:1:2.40
    - 341:slimeball:1:1.00
    - 342:storageminecart:1:6.60
    - 343:poweredminecart:1:6.60
    - 344:egg:1:1.15
    - 345:compass:1:2.65
    - 346:fishingrod:1:3.30
    - 347:clock:1:8.65
    - 348:glowstonedust:1:0.80
    - 349:rawfish:1:0.50
    - 350:cookedfish:1:1.00
    - 351:bonemeal:1:0.60:15
    - 351:lapis:1:0.60:4
    - 352:bone:1:0.80
    - 353:sugar:1:0.50
    - 354:cake:1:2.50
    - 355:bed:1:3.00
    - 356:redstonerepeater:1:1.80
    - 357:cookie:1:0.20
    - 358:map:1:2.50
    - 359:shears:1:2.00
    - 360:melon:1:0.20
    - 361:pumpkinseeds:1:0.80
    - 362:melonseeds:1:0.80
    - 363:rawbeef:1:0.80
    - 364:steak:1:1.20
    - 365:rawchicken:1:0.60
    - 366:cookedchicken:1:1.00
    - 367:rottenflesh:1:0.60
    - 368:enderpearl:1:2.20
    - 369:blazerod:1:1.20
    - 370:ghasttear:1:1.20
    - 371:goldnugget:1:1.20
    - 372:netherwart:1:0.80
    - 374:glassbottle:1:0.80
    - 375:spidereye:1:0.80
    - 376:fermentedspidereye:1:1.00
    - 377:blazepowder:1:0.80
    - 378:magmacream:1:1.00
     
  29. Offline

    Gangsta_hotdog

    Any luck?
     
  30. Offline

    Gangsta_hotdog

    Bump. C'mon somebody? </3
     

Share This Page