Inactive [ECON] GlobalShop v0.6 - A simple global shop provided through commands [1337]

Discussion in 'Inactive/Unsupported Plugins' started by Phate123, Jun 8, 2011.

  1. Offline

    Phate123

    GlobalShop - simple global shop that uses iConomy:
    Version: v0.6

    have a look at the GlobalShop BukkitDev Page: http://dev.bukkit.org/server-mods/globalshop/

    you will need some economy plugin installed. GlobalShop provides support for iConomy 4, 5, & 6+, BOSEconomy 6 & 7, Essentials Economy 2.2.17+, MultiCurrency thx to Nijikokun's Register API. Register is implemented in GlobalShop so you don't need to install it seperately!

    Now supporting SuperPerms. If you don't want to use SuperPerms GlobalShop still supports Yeti's Permissions.

    This shop is used through commands. At moment where are five of it:
    Commands:
    • /price (name|id) -> Shows you the price you must pay to buy name|id
    • /buy (name|id) [amount] -> Buy name|id with optional amount
    • /checksell -> Shows you the money you would get for the item you are holding
    • /sell -> Sells the item you are holding
    • /shop reload -> Reloads the config of GlobalShop
    Permissions
    There are ParentPermissions for SuperPerms: globalshop.trade.* and globalshop.admin.*
    • 'globalshop.trade.buy' -> Allow /buy and /price
    • 'globalshop.trade.sell' -> Allow /sell and /checksell
    • 'globalshop.admin.reload' -> Allow /shop reload
    Features:
    • Shop that can be accessed from everywhere
    • You can add customizable item names
    • Damage/Color can be defined in config. So you can sell for example black_wool
    • Considers the durability of an item to calculate the selling price
    • You can set the sellratio. This defines how much money you get for selling an item. Default is 80%
    • All commands can be renamed to your wish by reconfigurating the aliases in plugin.yml HowTo
    Planned features:
    • Setting up prices with commands
    • Writeout of a HTML-File where all prices can be viewed
    Configuration:
    Sample Config File:
    Code:
    #GlobalShop 0.6 by Phate
    #Configuration File
    
    #Use Yeti's Permissions system?
    useYetiPerm: false
    
    #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:64:10.00
    - 4:cobblestone:64:7.00
    - 278:diamond_pickaxe:1:160.00
    - 35:white_wool:64:14.00:0
    - 35:black_wool:64:16.00:15
    
    Download:
    v0.6 http://www.x-pantion.de/bukkit/GlobalShop0.6.jar

    Source:
    http://publicprojects.x-pantion.de/gitweb.cgi/globalshop.git

    Changelog:
    Version 0.6
    • removed permissions out of command nodes in plugin.yml to avoid "Bukkit is sad ..."
    • Bugfix: non player command handling
    Version 0.6b2
    • Superperms support
    • Changed namespace for implemented Register
    Version 0.6b1
    • Implemented Nijikokun's Register to support more plugins
    • Support for < RB1000
    Version 0.5.2
    • Bugfixing Permissionhandling if no permissions plugin is installed
     
  2. Offline

    Phate123

    @Pxelzz:
    I testet it on 953 and it's working fine
    @Sygnus:
    the sellratio defines how much percent of the buying price you will get
     
  3. Offline

    Pixelzz

    does it come stocked like the "BetterShop" plugin
     
  4. Offline

    drillbit

    Okay, I'm liking this plugin so far, but after I updated my price list it keeps disabling itself at startup. I've looked through the config file pretty thoroughly, but I can't seem to find whatever error it's referring to. Here's my config.yml:

    Code:
    #GlobalShop 0.5.2 by Phate
    #Configuration File
    
    #Here the sale ratio is determined
    buysell: 0.9
    
    #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:1.50
    - 2:grass:1:1.50
    - 3:dirt:1:1.00
    - 4:cobblestone:1:1.00
    - 5:plank:1:1.20
    - 6:sapling:1:0.50:0
    - 6:redwood_sapling:1:0.70:1
    - 6:birch_sapling:1:0.70:2
    - 12:sand:1:1.00
    - 13:gravel:1:1.10
    - 14:goldore:1:400.00
    - 15:ironore:1:30.00
    - 16:coalore:1:5.00
    - 17:wood:1:4.80:0
    - 17:birchwood:1:5.00:2
    - 17:redwood:1:5.00:1
    - 20:glass:1:1.50
    - 21:lapislazuliore:1:400.00
    - 22:lapislazuliblock:1:720.00
    - 23:dispenser:1:90.00
    - 24:sandstone:1:4.00
    - 25:noteblock:1:90.00
    - 26:bed:1:8.50
    - 27:poweredrail:1:200.00
    - 28:detectorrail:1:43.33
    - 29:stickypiston:1:125.00
    - 31:tallgrass:1:0.50
    - 33:piston:1:115.00
    - 35:wool:1:1.50:0
    - 35:orangewool:1:3.00:1
    - 35:magentawool:1:3.00:2
    - 35:lightbluewool:1:3.00:3
    - 35:yellowwool:1:3.00:4
    - 35:lightgreenwool:1:3.00:5
    - 35:pinkwool:1:3.00:6
    - 35:graywool:1:3.00:7
    - 35:lightgraywool:1:3.00:8
    - 35:cyanwool:1:3.00:9
    - 35:purplewool:1:3.00:10
    - 35:bluewool:1:3.00:11
    - 35:brownwool:1:3.00:12
    - 35:darkgreenwool:1:3.00:13
    - 35:redwool:1:3.00:14
    - 35:blackwool:1:3.00:15
    - 37:flower:1:0.50
    - 38:rose:1:0.50
    - 39:brownmushroom:1:2.00
    - 40:redmushroom:1:2.50
    - 41:goldblock:1:3715.00
    - 42:ironblock:1:270.00
    - 44:stoneslab:1:1.50:0
    - 44:cobblestoneslab:1:1.00:3
    - 44:woodslab:1:1.20:2
    - 44:sandstoneslab:1:4.00:1
    - 45:brickblock:1:8.00
    - 46:tnt:1:20.00
    - 47:bookshelf:1:190.00
    - 48:mossycobblestone:1:50.00
    - 49:obsidian:1:150.00
    - 50:torch:1:5.00
    - 53:woodenstairs:1:7.20
    - 54:chest:1:9.60
    - 56:diamondore:1:800.00
    - 57:diamondblock:1:7200.00
    - 58:craftingtable:1:4.80
    - 61:furnace:1:9.00
    - 65:ladder:1:2.10
    - 66:rails:1:11.25
    - 67:cobblestonestairs:1:6.00
    - 69:lever:1:1.00
    - 70:stonepressureplate:1:1.00
    - 72:woodenpressureplate:1:1.00
    - 73:redstoneore:1:400.00
    - 76:redstonetorch:1:80.00
    - 77:button:1:3.00
    - 78:snow:1:3.00
    - 79:ice:1:3.00
    - 80:snowblock:1:5.00
    - 81:cactus:1:5.00
    - 82:clayblock:1:7.00
    - 84:jukebox:1:800.00
    - 85:fence:1:1.80
    - 86:pumpkin:1:200.00
    - 87:netherrack:1:3.00
    - 88:soulsand:1:1.00
    - 89:glowstone:1:3.00
    - 91:jackolantern:1:200.69
    - 96:trapdoor:1:3.00
    - 256:ironshovel:1:30.00
    - 257:ironpickaxe:1:90.00
    - 258:ironaxe:1:90.00
    - 259:flintandsteel:1:30.69
    - 260:apple:1:5.00
    - 261:bow:1:30.00
    - 262:arrow:1:00.50
    - 263:coal:1:5.00
    - 265:iron:1:30.00
    - 266:gold:1:400.00
    - 264:diamond:1:800.00
    - 267:ironsword:1:60.00
    - 268:woodensword:1:3.00
    - 269:woodenshovel:1:3.00
    - 270:woodenpickaxe:1:3.00
    - 271:woodenaxe:1:3.00
    - 272:stonesword:1:3.50
    - 273:stoneshovel:1:3.50
    - 274:stonepickaxe:1:3.50
    - 275:stoneaxe:1:3.50
    - 276:diamondsword:1:1600.00
    - 277:diamondshovel:1:800.00
    - 278:diamondpickaxe:1:2400.00
    - 279:diamondaxe:1:2400.00
    - 280:stick:1:00.60
    - 281:bowl:1:00.20
    - 282:mushroomsoup:1:7.77
    - 283:goldsword:1:800.00
    - 284:goldshovel:1:400.00
    - 285:goldpickaxe:1:1200.00
    - 286:goldaxe:1:1200.00
    - 287:string:1:10.00
    - 288:feather:1:05.00
    - 289:gunpowder:1:3.00
    - 290:woodenhoe:1:3.00
    - 291:stonehoe:1:3.50
    - 292:ironhoe:1:60.00
    - 293:diamondhoe:1:1600.00
    - 294:goldhoe:1:400.00
    - 295:seeds:1:1.00
    - 296:wheat:1:10.00
    - 297:bread:1:36.00
    - 318:flint:1:00.20
    - 319:porkchop:1:5.00
    - 320:cookedporkchop:1:10.00
    - 321:painting:1:2.00
    - 322:goldenapple:1:333.33
    - 323:sign:1:7.20
    - 324:woodendoor:1:7.20
    - 325:bucket:1:90.00
    - 328:minecart:1:150.00
    - 329:saddle:1:333.33
    - 330:irondoor:1:180.00
    - 331:redstone:1:80.00
    - 332:snowball:1:00.10
    - 333:boat:1:3.00
    - 334:leather:1:3.00
    - 335:milk:1:93.00
    - 336:brick:1:2.00
    - 337:clay:1:1.40
    - 338:sugarcane:1:7.00
    - 339:paper:1:21.00
    - 340:book:1:63.00
    - 341:slimeball:1:10.00
    - 342:storageminecart:1:160.00
    - 343:poweredminecart:1:160.00
    - 344:egg:1:10.00
    - 345:compass:1:170.00
    - 346:fishingrod:1:20.00
    - 347:clock:1:1250.00
    - 348:glowstonedust:1:00.50
    - 349:fish:1:20.00
    - 350:cookedfish:1:25.00
    - 351:lapislazuli:1:80.00:4
    - 352:bone:1:2.00
    - 353:sugar:1:14.00
    - 354:cake:1:350.00
    - 356:redstonerepeater:200.00
    - 358:map:1:100.00
    - 359:shears:1:60.00
    - 2256:golddisc:1:1000.00
    - 2257:greendisc:1:1000.00
    - 357:cookie:1:5.00
    
     
  5. Offline

    alfskan

    Hi. I love your plugin. :)

    But there is one problem.

    When I have no inventory slot, it said "full inventory" and can`t buy.

    but when I have just 1 inventory slot and buy something more than 1 stack(64), ex) 100

    it costs 100`s price, but I get just 64.

    please fix it :'(
     
  6. Offline

    Shadowlauch

    I love your plugin but the permissions fpr /sell and /check sell doesn't work. I as an admin can use it, but teh other player on the Server can only use gs_sell and not teh alias.

    my fault a other plugin blocked it.
     
  7. Offline

    Phate123

    @Shadowlauch
    On all my Servers this is running very smooth. So I think you should check if there is another plugin with same commands installed. Maybe IConomyChestShop? Please test changing the aliases in plugin.yml

    @alfskan
    I know this problem. This is due to the fact that bukkit doesn't report if the inventory is full while adding items to the inventory. So this must be checked before adding items. (If this is false, someone could tell me this, please) I'm just checking if the inventory is full. But I don't check if the items the user buys will actually fit into it. This is on my todo list, but for the moment I decided to live with it. See it this way: If you fill more water into a bucket as fit into it will overflow.

    Maybe there will be an update in 2 or 3 weeks. I have exams at moment. But if they are finished there will be more spare times for hobbies like GlobalShop. There are some other things I will implement too.
     
  8. Offline

    Halloween96

    Some thing is wrong and i don't know why :'(

    Here is my config file and I don't know if its wrong or not, can anyone help me or fix it?

    Code:
    #Here the shops Item- and Pricelist is determined
    #This is how the items are defined:
    #- ItemID:ItemName:Amount:Price(:Damage/Color)
    ShopItems:
    - 1:stone:64:10.00
    - 4:cobblestone:64:7.00
    - 22:lapis_lazuli_block:64:24.00
    - 35:white_wool:64:14.00:0
    - 35:orange_wool:64:16.00:1
    - 35:magenta_wool:64:16.00:2
    - 35:light_blue_wool:64:16.00:3
    - 35:yellow_wool:64:16.00:4
    - 35:light_green_wool:64:16.00:5
    - 35:pink_wool:64:16.00:6
    - 35:gray_wool:64:16.00:7
    - 35:light_gray_wool:64:16.00:8
    - 35:cyan_wool:64:16.00:9
    - 35:purple_wool:64:16.00:10
    - 35:blue_wool:64:16.00:11
    - 35:brown_wool:64:16.00:12
    - 35:dark_green_wool:64:16.00:13
    - 35:red_wool:64:16.00:14
    - 35:black_wool:64:16.00:15
    - 256:iron_shovel:1:60.00
    - 257:iron_pickaxe:1:60.00
    - 258:iron_axe:1:60.00
    - 263:coal:10:9.80
    - 265:iron_ingot:10:12.50
    - 266:gold_ingot:10:19:50
    - 267:iron_sword:1:60.00
    - 276:diamond_sword:1:160.00
    - 277:diamond_shovel:1:160.00
    - 278:diamond_pickaxe:1:160.00
    - 279:diamond_axe:1:160.00
    - 331:redstone:10:13.00
    - 356:redstone_repeater:1:4.99
    - 297:bread:1:10.5
    - 320:Cooked_Porkchop:1:15.10
    - 282:Mushroom_Stew:1:25.15
    - 263:coal:1:5.00
    - 50:torch:7.00
    - 46:tnt:1:1000.00
    - 49:obsidian:1:200.00
    - 81:cactus:1:40.00:10.00
    - 338:sugar_cane:1:75.00:15.00
    - 87:netherrack:1:50.00
    - 89:glowstone:1:25.00
    - 261:bow:1:200.00
    - 2556:gold_music_disc:1:100.00
    - 2557:green_music_disc:1:200.00
    - 66:rails:64:250.00
    - 27:powered_rail:1:180.00
    - 306:iron_helmet:1:50.00
    - 307:iron_chestplate:1:75.00
    - 308:iron_leggings:1:50.00
    - 209:iron_boots:1:25.00
    - 264:diamond_gem:1:200.00
    - 262:arrow:64:100.00
    - 328:minecart:1:25.00
    - 355:bed:1:15.00
    - 342:storage_minecart:1:50.00
    - 343:powered_minecart:1:30.00
    - 84:jukebox:1:100.00
    - 322:gold_apple:1:500.00
    - 295:seeds:64:150.00
    
     
  9. Offline

    Phate123

    Hi Halloween96,

    I have checked your config. It's easy for me, I have the pre 0.6 Version which will have better error handling :) You had 3 errors in it:
    • torch had to less arguments
    • sugar_cane and cactus had not a full number as color code
    I corrected it and this is your ready to use configfile:
    Code:
    #Here the shops Item- and Pricelist is determined
    #This is how the items are defined:
    #- ItemID:ItemName:Amount:Price(:Damage/Color)
    ShopItems:
    - 1:stone:64:10.00
    - 4:cobblestone:64:7.00
    - 22:lapis_lazuli_block:64:24.00
    - 35:white_wool:64:14.00:0
    - 35:orange_wool:64:16.00:1
    - 35:magenta_wool:64:16.00:2
    - 35:light_blue_wool:64:16.00:3
    - 35:yellow_wool:64:16.00:4
    - 35:light_green_wool:64:16.00:5
    - 35:pink_wool:64:16.00:6
    - 35:gray_wool:64:16.00:7
    - 35:light_gray_wool:64:16.00:8
    - 35:cyan_wool:64:16.00:9
    - 35:purple_wool:64:16.00:10
    - 35:blue_wool:64:16.00:11
    - 35:brown_wool:64:16.00:12
    - 35:dark_green_wool:64:16.00:13
    - 35:red_wool:64:16.00:14
    - 35:black_wool:64:16.00:15
    - 256:iron_shovel:1:60.00
    - 257:iron_pickaxe:1:60.00
    - 258:iron_axe:1:60.00
    - 263:coal:10:9.80
    - 265:iron_ingot:10:12.50
    - 266:gold_ingot:10:19:50
    - 267:iron_sword:1:60.00
    - 276:diamond_sword:1:160.00
    - 277:diamond_shovel:1:160.00
    - 278:diamond_pickaxe:1:160.00
    - 279:diamond_axe:1:160.00
    - 331:redstone:10:13.00
    - 356:redstone_repeater:1:4.99
    - 297:bread:1:10.5
    - 320:Cooked_Porkchop:1:15.10
    - 282:Mushroom_Stew:1:25.15
    - 263:coal:1:5.00
    - 50:torch:1:7.00
    - 46:tnt:1:1000.00
    - 49:obsidian:1:200.00
    - 81:cactus:1:40.00:10
    - 338:sugar_cane:1:75.00:15
    - 87:netherrack:1:50.00
    - 89:glowstone:1:25.00
    - 261:bow:1:200.00
    - 2556:gold_music_disc:1:100.00
    - 2557:green_music_disc:1:200.00
    - 66:rails:64:250.00
    - 27:powered_rail:1:180.00
    - 306:iron_helmet:1:50.00
    - 307:iron_chestplate:1:75.00
    - 308:iron_leggings:1:50.00
    - 209:iron_boots:1:25.00
    - 264:diamond_gem:1:200.00
    - 262:arrow:64:100.00
    - 328:minecart:1:25.00
    - 355:bed:1:15.00
    - 342:storage_minecart:1:50.00
    - 343:powered_minecart:1:30.00
    - 84:jukebox:1:100.00
    - 322:gold_apple:1:500.00
    - 295:seeds:64:150.00
    have fun and thanks for using this plugin :)

    @drillbit
    I have checked your config too. You have an error at itemid 356:redstonerepeater. You forgot to set up an amount.

    @Magie
    I checked your config too. But I can't reproduce your problem. All is buying and selling very smooth. Can you tell me what exactly you are doing?


    Checked the plugin with craftbukkit #1000 It worked fine.

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

    Vaupell

    Nice shop, but commands are not compatable with "chestshop" both use /buy and /sell :(
     
  11. Offline

    Phate123

    @Vaupell
    you can set up aliases for the commands in plugin.yml inside the globalshop.jar. (Open with winrar, etc. )
    It is explained some posts before yours.
     
    Vaupell likes this.
  12. Offline

    Vaupell

    @Phate123 Thank you.

    But i got a terrible host, called "multiplay.co.uk" which DONOT allow us to edit the files inside the .JAR's or use costum mods, we can only add the files/mods they "allow" AS IS! so unless there was a "open" config file after installation we cant "just do that" :(

    I will ofcourse be switching hosts when this period runs out.
     
  13. Offline

    Halloween96

    I mess it up agian,
    Code:
    #Here the shops Item- and Pricelist is determined
    #This is how the items are defined:
    #- ItemID:ItemName:Amount:Price(:Damage/Color)
    ShopItems:
    - 1:stone:64:10.00
    - 4:cobblestone:64:7.00
    - 22:lapis_lazuli_block:64:24.00
    - 35:white_wool:64:14.00:0
    - 35:orange_wool:64:16.00:1
    - 35:magenta_wool:64:16.00:2
    - 35:light_blue_wool:64:16.00:3
    - 35:yellow_wool:64:16.00:4
    - 35:light_green_wool:64:16.00:5
    - 35:pink_wool:64:16.00:6
    - 35:gray_wool:64:16.00:7
    - 35:light_gray_wool:64:16.00:8
    - 35:cyan_wool:64:16.00:9
    - 35:purple_wool:64:16.00:10
    - 35:blue_wool:64:16.00:11
    - 35:brown_wool:64:16.00:12
    - 35:dark_green_wool:64:16.00:13
    - 35:red_wool:64:16.00:14
    - 35:black_wool:64:16.00:15
    - 256:iron_shovel:1:60.00
    - 257:iron_pickaxe:1:60.00
    - 258:iron_axe:1:60.00
    - 263:coal:10:9.80
    - 265:iron_ingot:10:12.50
    - 266:gold_ingot:10:19:50
    - 267:iron_sword:1:60.00
    - 276:diamond_sword:1:160.00
    - 277:diamond_shovel:1:160.00
    - 278:diamond_pickaxe:1:160.00
    - 279:diamond_axe:1:160.00
    - 331:redstone:10:13.00
    - 356:redstone_repeater:1:4.99
    - 297:bread:1:10.5
    - 320:Cooked_Porkchop:1:15.10
    - 282:Mushroom_Stew:1:25.15
    - 263:coal:1:5.00
    - 50:torch:1:7.00
    - 46:tnt:1:1000.00
    - 49:obsidian:1:200.00
    - 81:cactus:1:40.00:10.00
    - 338:sugar_cane:1:75.00:15.00
    - 87:netherrack:1:50.00
    - 89:glowstone:1:25.00
    - 261:bow:1:200.00
    - 2556:gold_music_disc:1:100.00
    - 2557:green_music_disc:1:200.00
    - 66:rails:64:250.00
    - 27:powered_rail:1:180.00
    - 306:iron_helmet:1:50.00
    - 307:iron_chestplate:1:75.00
    - 308:iron_leggings:1:50.00
    - 209:iron_boots:1:25.00
    - 264:diamond_gem:1:200.00:100.00
    - 262:arrow:64:100.00
    - 328:minecart:1:25.00
    - 355:bed:1:15.00
    - 342:storage_minecart:1:50.00
    - 343:powered_minecart:1:30.00
    - 84:jukebox:1:100.00:50.00
    - 322:gold_apple:1:500.00:250.00
    - 295:seeds:64:150.00
    i can't sell my new items -.-
     
  14. Offline

    Phate123

    the color is not a number with a "." in it. It's an integer and will ever be one. It's just green or yellow but nothing between that. ;-)

    Have a look at your gold_apple
     
  15. Offline

    Halloween96

    But how can i sell the items?!
     
  16. Offline

    Phate123

    hold the item in your hand and type /sell
     
  17. Offline

    Halloween96

    I've try to fix it, but it diden't work so good :oops: I will buy and sell the items, but i always mess it up :/
    Code:
    ShopItems:
    - 1:stone:64:10.00
    - 4:cobblestone:64:7.00
    - 22:lapis_lazuli_block:64:24.00
    - 35:white_wool:64:14.00:0
    - 35:orange_wool:64:16.00:1
    - 35:magenta_wool:64:16.00:2
    - 35:light_blue_wool:64:16.00:3
    - 35:yellow_wool:64:16.00:4
    - 35:light_green_wool:64:16.00:5
    - 35:pink_wool:64:16.00:6
    - 35:gray_wool:64:16.00:7
    - 35:light_gray_wool:64:16.00:8
    - 35:cyan_wool:64:16.00:9
    - 35:purple_wool:64:16.00:10
    - 35:blue_wool:64:16.00:11
    - 35:brown_wool:64:16.00:12
    - 35:dark_green_wool:64:16.00:13
    - 35:red_wool:64:16.00:14
    - 35:black_wool:64:16.00:15
    - 256:iron_shovel:1:60.00
    - 257:iron_pickaxe:1:60.00
    - 258:iron_axe:1:60.00
    - 263:coal:10:9.80
    - 265:iron_ingot:10:12.50
    - 266:gold_ingot:10:19:50
    - 267:iron_sword:1:60.00
    - 276:diamond_sword:1:160.00
    - 277:diamond_shovel:1:160.00
    - 278:diamond_pickaxe:1:160.00
    - 279:diamond_axe:1:160.00
    - 331:redstone:10:13.00
    - 356:redstone_repeater:1:4.99
    - 297:bread:1:10.5
    - 320:Cooked_Porkchop:1:15.00
    - 282:Mushroom_Stew:1:25.00
    - 263:coal:1:5.00
    - 50:torch:1:7.00
    - 46:tnt:1:1000.00
    - 49:obsidian:1:200.00:50
    - 81:cactus:1:40.00:10
    - 338:sugar_cane:1:75.00:25
    - 87:netherrack:1:50.00
    - 89:glowstone:1:25.00
    - 261:bow:1:200.00
    - 2556:gold_music_disc:1:100.00
    - 2557:green_music_disc:1:200.00
    - 66:rails:64:250.00
    - 27:powered_rail:1:180.00
    - 306:iron_helmet:1:50.00
    - 307:iron_chestplate:1:75.00
    - 308:iron_leggings:1:50.00
    - 209:iron_boots:1:25.00
    - 264:diamond_gem:1:200.00:100
    - 262:arrow:64:100.00
    - 328:minecart:1:25.00
    - 355:bed:1:15.00
    - 342:storage_minecart:1:50.00
    - 343:powered_minecart:1:30.00
    - 84:jukebox:1:100.00:50.00
    - 322:gold_apple:1:500.00:250
    - 295:seeds:64:150.00
    - 48:moss_stone:1:10.00
    - 7:bedrock:1:1000000000.99:1000000000000000000
    You think i am a retard, i now -.-'
     
  18. Offline

    paralytic

    yup cant figure out why it works please help, doesnt let me enter any commands for this, and i have iconomy and thats it

    i found the error by the gold
    Code:
    #GlobalShop 0.5.2 by Phate
    #Configuration File
    
    #Here the sale ratio is determined
    buysell: 0.7
    
    #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:00.50
    - 3:dirt:1:00.05
    - 4:cobblestone:1:00.20
    - 5:wooden plank:4:00.40
    - 6:saplings:1:00.25
    - 12:sand:1:00.20
    - 13:gravel:1:00.20
    - 17:wood:1:01.00
    - 18:leaves:1:00.10
    - 20:glass:1:00.40
    - 23:dispenser:1:15.00
    - 24:sandstone:1:00.80
    - 27:powered_rail:8:60.00
    - 28:detector_rail:8:30.00
    - 29:sticky_piston:1:25.00
    - 33:piston:1:20.00
    - 35:wool:1:01.00
    - 37:yellow_flower:1:00.30
    - 38:rose:1:00.50
    - 39:brown_mushroom:1:00.40
    - 40:red_mushroom:1:00.60
    - 41:gold_block:1:85.00
    - 42:iron_block:1:17.00
    - 45:brick_block:1:08.00
    - 46:TNT:1:23.00
    - 47:bookshelf:1:25.00
    - 48:mossy_cobblestone:1:06.00
    - 49:Obsidian:1:7.00
    - 50:torch:1:00.50
    - 53:wooden_stairs:3:02.80
    - 54:chest:1:02.00
    - 57:diamond_block:1:2500.00
    - 58:crafting_table:1:01.00
    - 61:furnace:1:01.30
    - 65:ladder:8:01.30
    - 66:rail:16:11.90
    - 67:cobblestonestairs:1:01.00
    - 69:lever:1:00.30
    - 70:stonepressureplate:1:.60
    - 72:woodenpressureplate:1:00.80
    - 76:redstone_torch:1:00.80
    - 77:stonebutton:1:00.80
    - 78:snow:1:00.10
    - 80:snowblock:1:00.30
    - 81:cactus:1:01.00
    - 84:jukebox:1:200.00
    - 85:fence:1:00.60
    - 86:pumpkin:1:1.35
    - 87:Netherrack:1:00.30
    - 88:Soul_Sand:1:02.00
    - 89:Glow stone:1:05.00
    - 91:jackolantern:1:2.25
    - 96:trapdoor:1:00.85
    - 256:ironshovel:1:2.00
    - 257:ironpickaxe:1:7.00
    - 258:ironaxe:1:7.00
    - 259:flint_and_steel:1:02.75
    - 260:apple:1:3.00
    - 261:bow:1:7.00
    - 262:arrow:1:1.25
    - 263:coal:1:00.78
    - 264:diamond:1:300.00
    - 265:iron:1:02.00
    - 266:gold:10.00
    - 267:ironsword:1:3.75
    - 268:woodensword:1:1.00
    - 269:woodenshovel:1:00.70
    - 270:woodenpickaxe:1:1.25
    - 271:woodenaxe:1:1.25
    - 272:stonesword:1:2.25
    - 273:stoneshovel:1:1.50
    - 274:stonepickaxe:1:2.75
    - 275:stoneaxe:1:2.75
    - 276:diamondsword:1:775.00
    - 277:diamondshovel:1:400.00
    - 278:diamondpickaxe:1:1150.00
    - 279:diamondaxe:1:1150.00
    - 280:stick:4:00.20
    - 281:bowl:1:02.00
    - 282:mushroomsoup:1:3.00
    - 283:gold_sword:1:19.00
    - 284:goldshovel:1:09.00
    - 285:goldpickaxe:1:29.00
    - 286:goldaxe:1:29.00
    - 287:string:1:03.00
    - 288:feather:1:02.00
    - 289:gunpowder:1:5.00
    - 290:woodenhoe:1:1.15
    - 291:stonehoe:1:2.25
    - 292:ironhoe:1:4.00
    - 293:diamondhoe:1:775.00
    - 294:goldhoe:1:7.50
    - 295:seed:1:00.30
    - 296:wheat:1:00.90
    - 297:bread:1:3.25
    - 318:flint:1:00.65
    - 319:rawporkchop:1:2.00
    - 320:cookedporkchop:1:3.50
    - 321:painting:1:5.00
    - 322:goldenapple:1:25.00
    - 323:sign:1:1.85
    - 324:woodendoor:1:1.50
    - 325:bucket:1:5.00
    - 326:waterbucket:1:5.50
    - 327:lavabucket:1:15.00
    - 328:minecart:1:7.50
    - 329:saddle:1:500.00
    - 330:irondoor:1:8.00
    - 331:redstonedust:1:00.45
    - 332:snowball:1:00.20
    - 333:boat:1:2.25
    - 334:leather:1:00.35
    - 335:milk:1:7.00
    - 336:brick:1:08.00
    - 337:clay:1:02.00
    - 338:sugarcane:1:2.75
    - 339:paper:1:6.50
    - 340:book:1:10.00
    - 341:slimeball:1:00.65
    - 342:storageminecart:1:9.50
    - 343:poweredminecart:1:12.50
    - 344:egg:1:00.35
    - 345:compass:1:6.00
    - 346:fishingrod:1:2.00
    - 347:clock:1:15.00
    - 348:glowstonedust:1:00.35
    - 349:rawfish:1:2.00
    - 350:cookedfish:1:3.25
    - 351:InkSac:1:00.60
    - 351:cocoabeans:1:3.00
    - 352:bone:1:00.50
    - 353:sugar:1:2.85
    - 354:cake:1:15.00
    - 355:bed:1:4.50
    - 356:redstonerepeater:1:1.15
    - 357:cookie:1:15.00
    - 358:map:1:65.00
     
  19. Offline

    Halloween96

    I have fix it now :D And thanks for the help before.
     
  20. Offline

    Teldelariel

    Have you got a config file already made up with every item listed?, that way I can delete what I dont want bought/sold, thanks :)
     
  21. Offline

    Danton1983

    compatible with iconomy chest shop?
     
  22. Offline

    Raknor

    I can't find the Price config
    Can you tell me where to find it ?
     
  23. Offline

    tv315

    Hi,
    I like your plugin and it worked fine on my Homeserver. But as I finished testing, I wrote a new config.yml. The Problem is, when I start the Server, it says "config.yml is incorrect".
    I checked it for many times, but I don't get the problem. Can someone here please help me?
    the file:
    Code:
    #GlobalShop 0.3 by Phate
    #Configuration File
    
    #Here the sale ratio is determined
    buysell: 0.75
    
    #Here the shops Item- and Pricelist is determined
    #This is how the items are defined:
    #- ItemID:ItemName:Amount:Price(:Damage/Color)
    ShopItems:
    - 2:grass:1:4.99
    - 4:cobblestone:1:00.10
    - 5:wood:1:00.25
    - 12:sand:1:00.15
    - 13:gravel:1:00.15
    - 35:white_wool:16:5.00:0
    - 35:orange_wool:16:19.99:1
    - 35.magenta_wool:16:19.99:2
    - 35:light_blue_wool:16:19.99:3
    - 35:yellow_wool:16:12.99:4
    - 35:lime_wool:16:19.99:5
    - 35:pink_wool:16:9.99:6
    - 35:gray_wool:16:6.99:7
    - 35:light_gray_wool:16:6.99:8
    - 35:cyan_wool:16:19.99:9
    - 35:purple_wool:16:19.99:10
    - 35:blue_wool:16:19.99:11
    - 35:brown_wool:16:9.99:12
    - 35:dark_green_wool:16:12.99:13
    - 35:red_wool:16:12.99:14
    - 35:black_wool:16:6.99:15
    - 49:Obsidian:1:9.99
    - 79:ice:1:9.79
    - 80:snowblock:1:1.19
    - 87:Netherrack:1:14.99
    - 88:SoulSand:1:11.99
    - 89:Glowstone:1:9.99
    - 262:arrow:64:0.79
    - 263:coal:8:2.99
    - 264:diamond:1:45.00
    - 265:iron:1:10.00
    - 266:gold:1:15.65
    - 321:painting:1:5.45
    - 325:bucket:1:15.00
    - 327:lavabucket:1:19.99
    - 328:minecart:1:25.00
    - 331:redstonedust:16:6.99
    - 338:sugarcane:1:2.75:15
    - 345:compass:1:25.30
    - 358:map:1:11.75
    - 261:bow:1:19.95
    - 341:slimeball:1:49.99
    thanks

    greetings
    tv315
     
  24. Offline

    Ironsmith123

    Anyone know why my users have access to /buy but not /sell? I have both nodes put in. 'globalshop.trade.buy'
    'globalshop.trade.sell'
     
  25. Offline

    RamTam

    Does this Plugin work with CB 1000#? That's really bad permission dies not work anymore with 953# and I don't know if Global shop works with it ._.
     
  26. Offline

    alfskan

    can you please impement list command?:'(
     
  27. Offline

    SsKGummieBear

    when i try /sell it tells me i have to do /sell hand to sell what is in hand, and when i do its telling me i cannot sell the item to the server. but when i do the price check it gives me a value... any help?
     
  28. Offline

    KillFce

    great plugin i love it are you working on 1000 build update if you are please consider adding an auction command such as

    /auction [item] [amount] [price]

    i would love if you added this cause ive seen other plugins and none have /sell and /buy like yours and i like globals hop buy also want my server member to auction there items and also be allowed to buy them directly from the server and sell them back to the server. thanx
     
  29. Offline

    Dddrgn

    You should make this work with BOSEconomy if it doesn't already.
     
  30. Offline

    smurph077

    16:27:27 [INFO] [GlobalShop] by Phate. Plugin Enabled. (version 0.5.2)
    16:27:27 [INFO] [GlobalShop] Good. iConomy found.
    16:27:27 [INFO] [GlobalShop] Loading Configuration...
    16:27:27 [INFO] [GlobalShop] Error reading ShopItems.Wrong size of arguments in
    ShopItems
    16:27:27 [INFO] [GlobalShop] by Phate. Plugin Disabled. (version 0.5.2)
    16:27:27 [INFO] [GlobalShop] Disabling...
    16:27:27 [INFO] [GlobalShop] Permission system found and successfully hooked int
    o.

    Help please? D:
     
  31. Offline

    Mike Geitz

    Can anyone help me with my config? I'm just trying to make it so everyone can sell anything for 0.5, but I dont understand the damage param and its shutting down the plugin. Is there anyway to disable the use of the damage param? If not, how can I fix my config?
     

    Attached Files:

Share This Page