Stránka 1 z 1

Obchod

Napsal: 10 led 2017, 23:35
od Weizen
Ahoj potřebuju kurňa poradit...
Mám koupený plugin ShopGui+...
Podle sebe jsem si udělal shops.yml
No a když teda napíšu /shop a kliknu na blok (jako pro otevření dalšího menu např. bloky)
Napíše mi to, že to nenašlo ID shopu blocks
I když v configu a shops mám úplně stejný název
Shops.yml

Kód: Vybrat vše

shops:
  blocks:
    name: "&9&lBlocks (page %page%)"
    size: 60
    buttons:
      goBack:
        slot: 57
      previousPage:
        slot: 58
      nextPage:
        slot: 59
    items:
      1:
        type: item
        item:
          material: STONE
          quantity: 16
        buyPrice: 150
        slot: 0
     2:
        type: item
        item:
          material: GRASS
          quantity: 16
        buyPrice: 150
        slot: 1
     3:
        type: item
        item:
          material: STONE:1
          quantity: 16
        buyPrice: 300
        slot: 2
     4:
        type: item
        item:
          material: STONE:3
          quantity: 16
        buyPrice: 300
        slot: 3
     5:
        type: item
        item:
          material: STONE:5
          quantity: 16
        buyPrice: 300
        slot: 4
     6:
        type: item
        item:
          material: DIRT:2
          quantity: 16
        buyPrice: 300
        slot: 5
     7:
        type: item
        item:
          material: COBBLESTONE
          quantity: 16
        buyPrice: 150
        slot: 6
     8:
        type: item
        item:
          material: SAND
          quantity: 16
        buyPrice: 250
        slot: 7
     9:
        type: item
        item:
          material: SAND:1
          quantity: 16
        buyPrice: 300
        slot: 8
     10:
        type: item
        item:
          material: GRAVEL
          quantity: 16
        buyPrice: 300
        slot: 9
     12:
        type: item
        item:
          material: GOLD_ORE
          quantity: 16
        buyPrice: 500
        slot: 10
     13:
        type: item
        item:
          material: IRON_ORE
          quantity: 16
        buyPrice: 400
        slot: 11
     14:
        type: item
        item:
          material: COAL_ORE
          quantity: 16
        buyPrice: 300
        slot: 12
     15:
        type: item
        item:
          material: LOG
          quantity: 16
        buyPrice: 200
        slot: 13
     16:
        type: item
        item:
          material: LOG:1
          quantity: 16
        buyPrice: 200
        slot: 14
     17:
        type: item
        item:
          material: LOG:2
          quantity: 16
        buyPrice: 200
        slot: 15
     18:
        type: item
        item:
          material: GRASS
          quantity: 16
        buyPrice: 150
        slot: 16
     19:
        type: item
        item:
          material: LOG:3
          quantity: 16
        buyPrice: 200
        slot: 17
     20:
        type: item
        item:
          material: LOG:4
          quantity: 16
        buyPrice: 200
        slot: 18
      21:
        type: item
        item:
          material: LOG:5
          quantity: 16
        buyPrice: 200
        slot: 19
     22:
        type: item
        item:
          material: GLASS
          quantity: 16
        buyPrice: 300
        slot: 20
     23:
        type: item
        item:
          material: LAPIS_ORE
          quantity: 16
        buyPrice: 300
        slot: 21
     24:
        type: item
        item:
          material: SANDSTONE
          quantity: 16
        buyPrice: 300
        slot: 22
     25:
        type: item
        item:
          material: SANDSTONE:1
          quantity: 16
        buyPrice: 300
        slot: 23
     26:
        type: item
        item:
          material: SANDSTONE:2
          quantity: 16
        buyPrice: 300
        slot: 24
     27:
        type: item
        item:
          material: BRICK_BLOCK
          quantity: 16
        buyPrice: 300
        slot: 25
     28:
        type: item
        item:
          material: GOLD_BLOCK
          quantity: 16
        buyPrice: 1000
        slot: 26
     29:
        type: item
        item:
          material: IRON_BLOCK
          quantity: 16
        buyPrice: 1000
        slot: 27
     30:
        type: item
        item:
          material: BOOKSHELF
          quantity: 16
        buyPrice: 300
        slot: 28
     31:
        type: item
        item:
          material: OBSIDIAN
          quantity: 16
        buyPrice: 500
        slot: 29
     32:
        type: item
        item:
          material: DIAMOND_ORE
          quantity: 16
        buyPrice: 1500
        slot: 30
     34:
        type: item
        item:
          material: DIAMOND_BLOCK
          quantity: 16
        buyPrice: 1500
        slot: 31
     35:
        type: item
        item:
          material: REDSTONE_ORE
          quantity: 16
        buyPrice: 300
        slot: 32
     36:
        type: item
        item:
          material: CLAY
          quantity: 16
        buyPrice: 300
        slot: 33
     37:
        type: item
        item:
          material: GLOWSTONE
          quantity: 16
        buyPrice: 300
        slot: 34
     38:
        type: item
        item:
          material: SOUl_SAND
          quantity: 16
        buyPrice: 300
        slot: 35
     39:
        type: item
        item:
          material: NETHERRACK
          quantity: 16
        buyPrice: 300
        slot: 36
     40:
        type: item
        item:
          material: STONEBRICK
          quantity: 16
        buyPrice: 300
        slot: 37
     41:
        type: item
        item:
          material: NETHER_BRICK
          quantity: 16
        buyPrice: 300
        slot: 38
     42:
        type: item
        item:
          material: EMERALD_ORE
          quantity: 16
        buyPrice: 1200
        slot: 39
     43:
        type: item
        item:
          material: QUARTZ_BLOCK
          quantity: 16
        buyPrice: 300
        slot: 40
     44:
        type: item
        item:
          material: QUARTZ_BLOCK:1
          quantity: 16
        buyPrice: 300
        slot: 41
     45:
        type: item
        item:
          material: QUARTZ_BLOCK:2
          quantity: 16
        buyPrice: 300
        slot: 42
     46:
        type: item
        item:
          material: LOG2
          quantity: 16
        buyPrice: 200
        slot: 43
     47:
        type: item
        item:
          material: LOG2:1
          quantity: 16
        buyPrice: 200
        slot: 44
     48:
        type: item
        item:
          material: SEA_LANTERN
          quantity: 16
        buyPrice: 300
        slot: 45
     49:
        type: item
        item:
          material: PRISMARINE
          quantity: 16
        buyPrice: 300
        slot: 46
     50:
        type: item
        item:
          material: HAY_BLOCK
          quantity: 16
        buyPrice: 300
        slot: 47
     51:
        type: item
        item:
          material: RED_SANDSTONE
          quantity: 16
        buyPrice: 300
        slot: 48
     52:
        type: item
        item:
          material: PURPUR_BLOCK
          quantity: 16
        buyPrice: 300
        slot: 49
     53:
        type: item
        item:
          material: PURPUR_PILLAR
          quantity: 16
        buyPrice: 300
        slot: 50
     54:
        type: item
        item:
          material: MAGMA
          quantity: 16
        buyPrice: 300
        slot: 51
     55:
        type: item
        item:
          material: NETHER_WART_BLOCK
          quantity: 16
        buyPrice: 300
        slot: 52
  color:
    name: "&2&lBarevne (page %page%)"
    size: 55
    buttons:
      goBack:
        slot: 52
      previousPage:
        slot: 53
      nextPage:
        slot: 54
    items:
      1:
        type: item
        item:
          material: WOOL
          quantity: 16
        buyPrice: 300
        slot: 0
     2:
        type: item
        item:
          material: WOOL:1
          quantity: 16
        buyPrice: 300
        slot: 1
     3:
        type: item
        item:
          material: WOOL:2
          quantity: 16
        buyPrice: 300
        slot: 2
     4:
        type: item
        item:
          material: WOOL:3
          quantity: 16
        buyPrice: 300
        slot: 3
     5:
        type: item
        item:
          material: WOOL:4
          quantity: 16
        buyPrice: 300
        slot: 4
     6:
        type: item
        item:
          material: WOOL:5
          quantity: 16
        buyPrice: 300
        slot: 5
     7:
        type: item
        item:
          material: WOOL:6
          quantity: 16
        buyPrice: 300
        slot: 6
     8:
        type: item
        item:
          material: WOOL:7
          quantity: 16
        buyPrice: 300
        slot: 7
     9:
        type: item
        item:
          material: WOOL:8
          quantity: 16
        buyPrice: 300
        slot: 8
     10:
        type: item
        item:
          material: WOOL:9
          quantity: 16
        buyPrice: 300
        slot: 9
     12:
        type: item
        item:
          material: WOOL:10
          quantity: 16
        buyPrice: 300
        slot: 10
     13:
        type: item
        item:
          material: WOOL:11
          quantity: 16
        buyPrice: 300
        slot: 11
     14:
        type: item
        item:
          material: WOOL:12
          quantity: 16
        buyPrice: 300
        slot: 12
     15:
        type: item
        item:
          material: WOOL:13
          quantity: 16
        buyPrice: 300
        slot: 13
     16:
        type: item
        item:
          material: WOOL:14
          quantity: 16
        buyPrice: 300
        slot: 14
     17:
        type: item
        item:
          material: WOOL:15
          quantity: 16
        buyPrice: 300
        slot: 15
     18:
        type: item
        item:
          material: STAINED_GLASS
          quantity: 16
        buyPrice: 300
        slot: 16
     19:
        type: item
        item:
          material: STAINED_GLASS:1
          quantity: 16
        buyPrice: 300
        slot: 17
     20:
        type: item
        item:
          material: STAINED_GLASS:2
          quantity: 16
        buyPrice: 300
        slot: 18
      21:
        type: item
        item:
          material: STAINED_GLASS:3
          quantity: 16
        buyPrice: 300
        slot: 19
     22:
        type: item
        item:
          material: STAINED_GLASS:4
          quantity: 16
        buyPrice: 300
        slot: 20
     23:
        type: item
        item:
          material: STAINED_GLASS:5
          quantity: 16
        buyPrice: 300
        slot: 21
     24:
        type: item
        item:
          material: STAINED_GLASS:6
          quantity: 16
        buyPrice: 300
        slot: 22
     25:
        type: item
        item:
          material: STAINED_GLASS:7
          quantity: 16
        buyPrice: 300
        slot: 23
     26:
        type: item
        item:
          material: STAINED_GLASS:8
          quantity: 16
        buyPrice: 300
        slot: 24
     27:
        type: item
        item:
          material: STAINED_GLASS:9
          quantity: 16
        buyPrice: 300
        slot: 25
     28:
        type: item
        item:
          material: STAINED_GLASS:10
          quantity: 16
        buyPrice: 300
        slot: 26
     29:
        type: item
        item:
          material: STAINED_GLASS:11
          quantity: 16
        buyPrice: 300
        slot: 27
     30:
        type: item
        item:
          material: STAINED_GLASS:12
          quantity: 16
        buyPrice: 300
        slot: 28
     31:
        type: item
        item:
          material: STAINED_GLASS:13
          quantity: 16
        buyPrice: 300
        slot: 29
     32:
        type: item
        item:
          material: STAINED_GLASS:14
          quantity: 16
        buyPrice: 300
        slot: 30
     34:
        type: item
        item:
          material: STAINED_GLASS:15
          quantity: 16
        buyPrice: 300
        slot: 31
     35:
        type: item
        item:
          material: STAINED_HARDENED_CLAY
          quantity: 16
        buyPrice: 300
        slot: 32
     36:
        type: item
        item:
          material: STAINED_HARDENED_CLAY:1
          quantity: 16
        buyPrice: 300
        slot: 33
     37:
        type: item
        item:
          material: STAINED_HARDENED_CLAY:2
          quantity: 16
        buyPrice: 300
        slot: 34
     38:
        type: item
        item:
          material: STAINED_HARDENED_CLAY:3
          quantity: 16
        buyPrice: 300
        slot: 35
     39:
        type: item
        item:
          material: STAINED_HARDENED_CLAY:4
          quantity: 16
        buyPrice: 300
        slot: 36
     40:
        type: item
        item:
          material: STAINED_HARDENED_CLAY:5
          quantity: 16
        buyPrice: 300
        slot: 37
     41:
        type: item
        item:
          material: STAINED_HARDENED_CLAY:6
          quantity: 16
        buyPrice: 300
        slot: 38
     42:
        type: item
        item:
          material: STAINED_HARDENED_CLAY:7
          quantity: 16
        buyPrice: 300
        slot: 39
     43:
        type: item
        item:
          material: STAINED_HARDENED_CLAY:8
          quantity: 16
        buyPrice: 300
        slot: 40
     44:
        type: item
        item:
          material: STAINED_HARDENED_CLAY:9
          quantity: 16
        buyPrice: 300
        slot: 41
     45:
        type: item
        item:
          material: STAINED_HARDENED_CLAY:10
          quantity: 16
        buyPrice: 300
        slot: 42
     46:
        type: item
        item:
          material: STAINED_HARDENED_CLAY:11
          quantity: 16
        buyPrice: 300
        slot: 43
     47:
        type: item
        item:
          material: STAINED_HARDENED_CLAY:12
          quantity: 16
        buyPrice: 300
        slot: 44
     48:
        type: item
        item:
          material: STAINED_HARDENED_CLAY:13
          quantity: 16
        buyPrice: 300
        slot: 45
     49:
        type: item
        item:
          material: STAINED_HARDENED_CLAY:14
          quantity: 16
        buyPrice: 300
        slot: 46
     50:
        type: item
        item:
          material: STAINED_HARDENED_CLAY:15
          quantity: 16
        buyPrice: 300
        slot: 47
  ozdobne:
    name: "&3&lozdobne (page %page%)"
    size: 40
    buttons:
      goBack:
        slot: 37
      previousPage:
        slot: 38
      nextPage:
        slot: 39
    items:
      1:
        type: item
        item:
          material: SAPLING
          quantity: 16
        buyPrice: 150
        slot: 0
     2:
        type: item
        item:
          material: SAPLING:1
          quantity: 16
        buyPrice: 150
        slot: 1
     3:
        type: item
        item:
          material: SAPLING:2
          quantity: 16
        buyPrice: 300
        slot: 2
     4:
        type: item
        item:
          material: SAPLING:3
          quantity: 16
        buyPrice: 150
        slot: 3
     5:
        type: item
        item:
          material: SAPLING:4
          quantity: 16
        buyPrice: 150
        slot: 4
     6:
        type: item
        item:
          material: SAPLING:5
          quantity: 16
        buyPrice: 150
        slot: 5
     7:
        type: item
        item:
          material: LEAVES
          quantity: 16
        buyPrice: 250
        slot: 6
     8:
        type: item
        item:
          material: LEAVES:1
          quantity: 16
        buyPrice: 250
        slot: 7
     9:
        type: item
        item:
          material: LEAVES:2
          quantity: 16
        buyPrice: 250
        slot: 8
     10:
        type: item
        item:
          material: LEAVES:3
          quantity: 16
        buyPrice: 250
        slot: 9
     12:
        type: item
        item:
          material: BED
          quantity: 1
        buyPrice: 50
        slot: 10
     13:
        type: item
        item:
          material: TORCH
          quantity: 16
        buyPrice: 40
        slot: 11
     14:
        type: item
        item:
          material: CHEST
          quantity: 2
        buyPrice: 50
        slot: 12
     15:
        type: item
        item:
          material: CRAFTING_TABLE
          quantity: 1
        buyPrice: 50
        slot: 13
     16:
        type: item
        item:
          material: FURNACE
          quantity: 1
        buyPrice: 50
        slot: 14
     17:
        type: item
        item:
          material: WALL_SIGN
          quantity: 3
        buyPrice: 20
        slot: 15
     18:
        type: item
        item:
          material: JUKEBOX
          quantity: 1
        buyPrice: 50
        slot: 16
     19:
        type: item
        item:
          material: FENCE
          quantity: 16
        buyPrice: 50
        slot: 17
     20:
        type: item
        item:
          material: IRON_BARS
          quantity: 16
        buyPrice: 200
        slot: 18
      21:
        type: item
        item:
          material: GLASS_PANE
          quantity: 16
        buyPrice: 200
        slot: 19
     22:
        type: item
        item:
          material: ENCHANTING_TABLE
          quantity: 1
        buyPrice: 600
        slot: 20
     23:
        type: item
        item:
          material: ENDER_CHEST
          quantity: 1
        buyPrice: 350
        slot: 21
     24:
        type: item
        item:
          material: COBBLESTONE_WALL
          quantity: 16
        buyPrice: 150
        slot: 22
     25:
        type: item
        item:
          material: ANVIL
          quantity: 1
        buyPrice: 150
        slot: 23
     26:
        type: item
        item:
          material: CARPET
          quantity: 16
        buyPrice: 100
        slot: 24
     27:
        type: item
        item:
          material: END_ROD
          quantity: 16
        buyPrice: 250
        slot: 25
     28:
        type: item
        item:
          material: CHORUS_PLANT
          quantity: 16
        buyPrice: 100
        slot: 26
     29:
        type: item
        item:
          material: PAINTING
          quantity: 1
        buyPrice: 10
        slot: 27
     30:
        type: item
        item:
          material: ITEM_FRAME
          quantity: 3
        buyPrice: 30
        slot: 28
     31:
        type: item
        item:
          material: FLOWER_POT
          quantity: 3
        buyPrice: 30
        slot: 29
     32:
        type: item
        item:
          material: ARMOR_STAND
          quantity: 1
        buyPrice: 50
        slot: 30
     34:
        type: item
        item:
          material: BANNER
          quantity: 1
        buyPrice: 150
        slot: 31
     35:
        type: item
        item:
          material: SHIELD
          quantity: 1
        buyPrice: 150
        slot: 32
  tools:
    name: "&8&lnastroje (page %page%)"
    size: 20
    buttons:
      goBack:
        slot: 17
      previousPage:
        slot: 18
      nextPage:
        slot: 19
    items:
      1:
        type: item
        item:
          material: GOLD_PICKAXE
          quantity: 1
        buyPrice: 500
        slot: 0
      2:
        type: item
        item:
          material: IRON_PICKAXE
          quantity: 1
        buyPrice: 1000
        slot: 1
      3:
        type: item
        item:
          material: DIAMOND_PICKAXE
          quantity: 1
        buyPrice: 10000
        slot: 2
      4:
        type: item
        item:
          material: GOLD_AXE
          quantity: 1
        buyPrice: 500
        slot: 3
      5:
        type: item
        item:
          material: IRON_AXE
          quantity: 1
        buyPrice: 1000
        slot: 4
      6:
        type: item
        item:
          material: DIAMOND_AXE
          quantity: 1
        buyPrice: 10000
        slot: 5
      7:
        type: item
        item:
          material: GOLD_SPADE
          quantity: 1
        buyPrice: 500
        slot: 6
      8:
        type: item
        item:
          material: IRON_SPADE
          quantity: 1
        buyPrice: 1000
        slot: 7
      9:
        type: item
        item:
          material: DIAMOND_SPADE
          quantity: 1
        buyPrice: 7500
        slot: 8
      10:
        type: item
        item:
          material: GOLD_HOE
          quantity: 1
        buyPrice: 500
        slot: 9
      11:
        type: item
        item:
          material: IRON_HOE
          quantity: 1
        buyPrice: 1000
        slot: 10
      12:
        type: item
        item:
          material: DIAMOND_HOE
          quantity: 1
        buyPrice: 10000
        slot: 11
      13:
        type: item
        item:
          material: FLINT_AND_STEEL
          quantity: 1
        buyPrice: 50
        slot: 12
      14:
        type: item
        item:
          material: SHEARS
          quantity: 1
        buyPrice: 100
        slot: 13
      15:
        type: item
        item:
          material: FISHING_ROD
          quantity: 1
        buyPrice: 150
        slot: 14
  armor:
    name: "&2&larmor (page %page%)"
    size: 30
    buttons:
      goBack:
        slot: 26
      previousPage:
        slot: 27
      nextPage:
        slot: 28
    items:
      1:
        type: item
        item:
          material: LEATHER_HELMET
          quantity: 1
        buyPrice: 40
        slot: 1
      2:
        type: item
        item:
          material: GOLD_HELMET
          quantity: 1
        buyPrice: 160
        slot: 2
      3:
        type: item
        item:
          material: IRON_HELMET
          quantity: 1
        buyPrice: 480
        slot: 3
      4:
        type: item
        item:
          material: DIAMOND_HELMET
          quantity: 1
        buyPrice: 800
        slot: 4
      5:
        type: item
        item:
          material: LEATHER_CHESTPLATE
          quantity: 1
        buyPrice: 50
        slot: 10
      6:
        type: item
        item:
          material: GOLD_CHESTPLATE
          quantity: 1
        buyPrice: 200
        slot: 11
      7:
        type: item
        item:
          material: IRON_CHESTPLATE
          quantity: 1
        buyPrice: 600
        slot: 12
      8:
        type: item
        item:
          material: DIAMOND_CHESTPLATE
          quantity: 1
        buyPrice: 1000
        slot: 13
      9:
        type: item
        item:
          material: LEATHER_LEGGINGS
          quantity: 1
        buyPrice: 50
        slot: 19
      10:
        type: item
        item:
          material: GOLD_LEGGINGS
          quantity: 1
        buyPrice: 200
        slot: 20
      11:
        type: item
        item:
          material: IRON_LEGGINGS
          quantity: 1
        buyPrice: 600
        slot: 21
      12:
        type: item
        item:
          material: DIAMOND_LEGGINGS
          quantity: 1
        buyPrice: 1000
        slot: 22
      13:
        type: item
        item:
          material: LEATHER_BOOTS
          quantity: 1
        buyPrice: 30
        slot: 28
      14:
        type: item
        item:
          material: GOLD_BOOTS
          quantity: 1
        buyPrice: 120
        slot: 29
      15:
        type: item
        item:
          material: IRON_BOOTS
          quantity: 1
        buyPrice: 360
        slot: 30
      16:
        type: item
        item:
          material: DIAMOND_BOOTS
          quantity: 1
        buyPrice: 600
        slot: 31
      17:
        type: item
        item:
          material: WOOD_SWORD
          quantity: 1
        buyPrice: 20
        slot: 6
      18:
        type: item
        item:
          material: GOLD_SWORD
          quantity: 1
        buyPrice: 50
        slot: 15
      19:
        type: item
        item:
          material: IRON_SWORD
          quantity: 1
        buyPrice: 100
        slot: 24
      20:
        type: item
        item:
          material: DIAMOND_SWORD
          quantity: 1
        buyPrice: 1000
        slot: 33
      21:
        type: item
        item:
          material: BOW
          quantity: 1
        buyPrice: 150
        slot: 7
      22:
        type: item
        item:
          material: ARROW
          quantity: 10
        buyPrice: 50
        slot: 16
      23:
        type: item
        item:
          material: SNOW_BALL
          quantity: 16
        buyPrice: 100
        slot: 25
      24:
        type: item
        item:
          material: FIREBALL
          quantity: 1
        buyPrice: 500
        slot: 34
  redstone:
    name: "&2&lredstone (page %page%)"
    size: 25
    buttons:
      goBack:
        slot: 20
      previousPage:
        slot: 21
      nextPage:
        slot: 22
    items:
      1:
        type: item
        item:
          material: LEVER
          quantity: 3
        buyPrice: 25
        slot: 0
     2:
        type: item
        item:
          material: REDSTONE_TORCH
          quantity: 3
        buyPrice: 20
        slot: 1
     3:
        type: item
        item:
          material: unpowered_repeater
          quantity: 3
        buyPrice: 30
        slot: 2
     4:
        type: item
        item:
          material: TRAPDOOR
          quantity: 3
        buyPrice: 50
        slot: 3
     5:
        type: item
        item:
          material: REDSTONE_LAMP
          quantity: 16
        buyPrice: 150
        slot: 4
     6:
        type: item
        item:
          material: TRIPWIRE_HOOK
          quantity: 3
        buyPrice: 50
        slot: 5
     7:
        type: item
        item:
          material: TRIPWIRE
          quantity: 16
        buyPrice: 50
        slot: 6
     8:
        type: item
        item:
          material: COMPARATOR
          quantity: 3
        buyPrice: 50
        slot: 7
     9:
        type: item
        item:
          material: DAYLIGHT_DETECTOR
          quantity: 3
        buyPrice: 50
        slot: 8
     10:
        type: item
        item:
          material: REDSTONE_BLOCK
          quantity: 16
        buyPrice: 250
        slot: 9
     12:
        type: item
        item:
          material: HOPPER
          quantity: 1
        buyPrice: 150
        slot: 10
     13:
        type: item
        item:
          material: DROPPER
          quantity: 1
        buyPrice: 140
        slot: 11
     14:
        type: item
        item:
          material: REPEATER
          quantity: 3
        buyPrice: 50
        slot: 12
     15:
        type: item
        item:
          material: PISTON
          quantity: 1
        buyPrice: 50
        slot: 13
     16:
        type: item
        item:
          material: STICKY_PISTON
          quantity: 1
        buyPrice: 55
        slot: 14
     17:
        type: item
        item:
          material: WOODEN_DOOR
          quantity: 1
        buyPrice: 20
        slot: 15
  transportation:
    name: "&2&ldoprava (page %page%)"
    size: 12
    buttons:
      goBack:
        slot: 10
      previousPage:
        slot: 11
      nextPage:
        slot: 12
    items:
      1:
        type: item
        item:
          material: GOLDEN_RAIL
          quantity: 16
        buyPrice: 75
        slot: 0
     2:
        type: item
        item:
          material: DETECTOR_RAIL
          quantity: 16
        buyPrice: 75
        slot: 1
     3:
        type: item
        item:
          material: RAIL
          quantity: 16
        buyPrice: 70
        slot: 2
     4:
        type: item
        item:
          material: ACTIVATOR_RAIL
          quantity: 16
        buyPrice: 75
        slot: 3
     5:
        type: item
        item:
          material: MINECART
          quantity: 1
        buyPrice: 50
        slot: 4
     6:
        type: item
        item:
          material: SADDLE
          quantity: 1
        buyPrice: 50
        slot: 5
     7:
        type: item
        item:
          material: BOAT
          quantity: 1
        buyPrice: 50
        slot: 6
     8:
        type: item
        item:
          material: ELYTRA
          quantity: 1
        buyPrice: 10000
        slot: 7
  miscellaneous:
    name: "&2&lruzne (page %page%)"
    size: 18
    buttons:
      goBack:
        slot: 16
      previousPage:
        slot: 17
      nextPage:
        slot: 18
    items:
      1:
        type: item
        item:
          material: BEACON
          quantity: 1
        buyPrice: 800
        slot: 0
      2:
        type: item
        item:
          material: BUCKET
          quantity: 1
        buyPrice: 40
        slot: 1
      3:
        type: item
        item:
          material: WATER_BUCKET
          quantity: 1
        buyPrice: 40
        slot: 2
      4:
        type: item
        item:
          material: LAVA_BUCKET
          quantity: 1
          damage: 1
        buyPrice: 40
        slot: 3
      5:
        type: item
        item:
          material: MILK_BUCKET
          quantity: 1
        buyPrice: 40
        slot: 4
      6:
        type: item
        item:
          material: PAPER
          quantity: 1
        buyPrice: 10
        slot: 5
      7:
        type: item
        item:
          material: BOOK
          quantity: 6
        buyPrice: 20
        slot: 6
      8:
        type: item
        item:
          material: SLIMEBALL
          quantity: 6
        buyPrice: 30
        slot: 7
      9:
        type: item
        item:
          material: BONE
          quantity: 10
        buyPrice: 20
        slot: 8
      10:
        type: item
        item:
          material: ENDER_PEARL
          quantity: 3
        buyPrice: 40
        slot: 9
      11:
        type: item
        item:
          material: ENDER_EYE
          quantity: 3
        buyPrice: 50
        slot: 10
      12:
        type: item
        item:
          material: MAP
          quantity: 1
          damage: 1
        buyPrice: 40
        slot: 11
      13:
        type: item
        item:
          material: diamond_horse_armor
          quantity: 1
        buyPrice: 150
        slot: 12
      14:
        type: item
        item:
          material: writable_book
          quantity: 1
        buyPrice: 20
        slot: 13
  food:
    name: "&2&ljidlo (page %page%)"
    size: 28
    buttons:
      goBack:
        slot: 24
      previousPage:
        slot: 25
      nextPage:
        slot: 26
    items:
      1:
        type: item
        item:
          material: MELON
          quantity: 10
        buyPrice: 10
        slot: 0
      2:
        type: item
        item:
          material: APPLE
          quantity: 1
        buyPrice: 40
        slot: 1
      3:
        type: item
        item:
          material: GOLDEN_APPLE
          quantity: 1
        buyPrice: 100
        slot: 2
      4:
        type: item
        item:
          material: GOLDEN_APPLE
          quantity: 1
          damage: 1
        buyPrice: 1500
        slot: 3
      5:
        type: item
        item:
          material: CARROT_ITEM
          quantity: 10
        buyPrice: 15
        slot: 4
      6:
        type: item
        item:
          material: PUMPKIN_PIE
          quantity: 1
        buyPrice: 10
        slot: 5
      7:
        type: item
        item:
          material: BREAD
          quantity: 1
        buyPrice: 20
        slot: 6
      8:
        type: item
        item:
          material: COOKED_CHICKEN
          quantity: 1
        buyPrice: 30
        slot: 7
      9:
        type: item
        item:
          material: BAKED_POTATO
          quantity: 10
        buyPrice: 20
        slot: 8
      10:
        type: item
        item:
          material: MUSHROOM_SOUP
          quantity: 1
        buyPrice: 40
        slot: 9
      11:
        type: item
        item:
          material: COOKED_FISH
          quantity: 1
        buyPrice: 40
        slot: 10
      12:
        type: item
        item:
          material: COOKED_FISH
          quantity: 1
          damage: 1
        buyPrice: 40
        slot: 11
      13:
        type: item
        item:
          material: COOKED_RABBIT
          quantity: 1
        buyPrice: 40
        sellPrice: 4
        slot: 12
      14:
        type: item
        item:
          material: RABBIT_STEW
          quantity: 1
        buyPrice: 20
        slot: 13
      15:
        type: item
        item:
          material: GRILLED_PORK
          quantity: 1
        buyPrice: 30
        slot: 14
      16:
        type: item
        item:
          material: COOKED_BEEF
          quantity: 1
        buyPrice: 30
        slot: 15
      17:
        type: item
        item:
          material: COOKED_MUTTON
          quantity: 1
        buyPrice: 45
        slot: 16
      18:
        type: item
        item:
          material: COOKIE
          quantity: 10
        buyPrice: 45
        slot: 17
      19:
        type: item
        item:
          material: CAKE
          quantity: 1
        buyPrice: 20
        slot: 18
      20:
        type: item
        item:
          material: COOKIE
          quantity: 10
        buyPrice: 10
        slot: 19
      21:
        type: item
        item:
          material: BEETROOT
          quantity: 10
        buyPrice: 20
        slot: 20
      22:
        type: item
        item:
          material: BEETROOT_SOUP
          quantity: 1
        buyPrice: 20
        slot: 20
  materials:
    name: "&2&lmaterial (page %page%)"
    size: 12
    buttons:
      goBack:
        slot: 9
      previousPage:
        slot: 10
      nextPage:
        slot: 11
    items:
      1:
        type: item
        item:
          material: ghast_tear
          quantity: 10
        buyPrice: 50
        slot: 0
      2:
        type: item
        item:
          material: nether_wart
          quantity: 10
        buyPrice: 50
        slot: 1
      3:
        type: item
        item:
          material: gold_nugget
          quantity: 10
        buyPrice: 50
        slot: 2
      4:
        type: item
        item:
          material: firework_charge
          quantity: 15
        buyPrice: 15
        slot: 3
      5:
        type: item
        item:
          material: STRING
          quantity: 10
        buyPrice: 15
        slot: 4
      6:
        type: item
        item:
          material: FEATHER
          quantity: 1
        buyPrice: 10
        slot: 5
      7:
        type: item
        item:
          material: GUNPOWDER
          quantity: 16
        buyPrice: 20
        slot: 6
      8:
        type: item
        item:
          material: EGG
          quantity: 16
        buyPrice: 30
        slot: 7

Config.yml

Kód: Vybrat vše

database:
  #Database backend type, can be set to mysql or sqlite
  type: sqlite
  #MySQL database host
  mySQLHost: localhost
  #MySQL connection port number
  mySQLPort: 3306
  #MySQL database name
  mySQLDatabase: db
  #MySQL database user
  mySQLUser: root
  #MySQL user's password
  mySQLPassword: ""
  #MySQL table names
  tableNames:
    players: "players"

#Type of the economy which will handle all transactions. Valid values are EXP, VAULT (requires http://dev.bukkit.org/bukkit-plugins/vault/), MYSQL_TOKENS (requires https://www.spigotmc.org/resources/mysql-tokens.7535/), TOKEN_MANAGER (requires https://www.spigotmc.org/resources/tokenmanager.8610/)
economyType: VAULT
#Name of the main GUI
shopMenuName: "&3&lShop menu"
#Size of the main GUI, valid values are 9, 18, 27, 36, 45 and 54
shopMenuSize: 27
#Define whether selling all with middle mouse button is enabled
enableSellAll: true
#Define whether the buy GUI with option to select quantity is enabled
enableBuyGUI: true
#Define whether the sell GUI with option to select quantity is enabled
enableSellGUI: true
#Define whether sell all button in SellGUI is enabled (enableSellGUI has to be enabled too)
enableSellGUISellAll: true
#Define whether after closing/buying/selling the shop GUI should be opened again
returnToShop: true
#Define whether the quick buy/sell option should be enabled (amount selection gui will stay open until player closes it)
quickBuySell: false
#Define whether lines containing the %buy% placeholder should be hidden for unbuyable items
hideBuyPriceForUnbuyable: true
#Define whether lines containing the %sell% placeholder should be hidden for unsellable items
hideSellPriceForUnsellable: true
#Define whether buy and sell buttons should be inverted (false - LMB buy, RMB sell / true - LMB sell, RMB buy)
invertBuySell: false
#Maximum amount of enchantments players can add to an item, set to -1 for no limit
maxEnchantments: 3
#Choose whether players should be able to buy enchantments only 1 level higher than current (eg. player has sword with Sharpness 1, they could buy only Sharpness 2)
limitEnchantmentLevelDiff: false
#Define whether the amount selection double click bug fix should be enabled
enableAmountSelectionFix: true
#Define whether players should be able to use sell all option to sell all their items (allowAllSellAllStackSizes = true) or only amount multiplied by the original stack size of the shop item (allowAllSellAllStackSizes = false)
allowAllSellAllStackSizes: false
#Define whether all prices should be rounded up, down, to the nearest whole number or not rounded (valid values are UP, DOWN, NEAREST and NONE)
roundPrices: none
#Define whether main menu (/shop command) should be disabled. The only way to access shops will be to use /shop <id> when you disable it.
disableMainMenu: false
#Choose if different messages should be sent when someone buy/sell items for $0 (MSG_ITEM_BOUGHTFREE, MSG_ITEM_SOLDFREE, MSG_ITEM_SOLDALLFREE)
useDifferentMessagesForFreeItems: true
#Choose if item names should have first letters of their names capitalized, for instance nether brick would become Nether Brick
capitalizeItemNames: true
#Choose the type of price modifiers. (BOTH (permission modifiers have higher priority than command-ones), COMMAND, PERMISSION)
priceModifiersType: BOTH
#Choose which items stack size should be capped at 16 inside the amount selection GUI so players can't buy eg. oversized ender pearl stacks
#Format is same as for regular items in shops.yml
itemStackSizeCappedAt:
  1:
    material: ENDER_PEARL
    size: 16
  2:
    material: SNOW_BALL
    size: 16
  3:
    material: SIGN
    size: 16
  4:
    material: EGG
    size: 16
  5:
    material: BUCKET
    size: 1
#Choose what gamemodes will prevent players from accessing shops. Valid values: ADVENTURE, CREATIVE, SPECTATOR, SURVIVAL
disableShopsInGamemodes:
  - ADVENTURE
  - CREATIVE
  - SPECTATOR
#Choose in which worlds players won't be able to access the shop. Same list format as disableShopsInGamemodes
disableShopsInWorlds: []
 
#Choose whether price modifiers should be displayed in percents instead of decimals (eg. 10% instead of 0.10), remember you will still have to use the decimal way in commands
displayPriceModifiersInPercents: true

#Choose whether the world-specific permission to access shops should be omitted when player has a shop opened with /shop [player] [shop name]
disableSudoWorldPermissionCheck: false

#Choose whether the shop-specific permission to access shops should be omitted when player has a shop opened with /shop [player] [shop name]
disableSudoShopPermissionCheck: false

#Format of item lores in shops, %buy% will be replaced with the buy price and %sell% with sell price
shopItemLoreFormat:
  #This lore will be applied to items
  item:
    - "&7Buy price: &c%buy%$"
    - "&7Sell price: &a%sell%$"
    - "&9Click with MMB to sell all"
  #This lore will be applied to items in the buy GUI (when enableBuyGUI is set to true)
  itemBuyGUI:
    - "&7Buy price: &c%buy%$" 
  #This lore will be applied to items in the sell GUI (when enableSellGUI is set to true)
  itemSellGUI:
    - "&7Sell price: &a%sell%$"
  #This lore will be applied to the sell all button in the sell GUI (when enableSellGUI and enableSellGUISellAll are set to true)
  itemSellGUISellAll:
    - "&7Sell all for: &a%sell%$"
  #This one to permissions
  permission:
    - "&7Buy price: &c%buy%$"
  #And this one to enchantments
  enchantment:
    - "&7Buy price: &c%buy%$"
  #And the last one to commands
  command:
    - "&7Buy price: &c%buy%$"

#Logging settings
log:
  #Define whether transactions will be logged to the console/main server log
  toConsole: true
  #Define whether transactions will be logged to a separate log
  toFile: false
  #Date format of transactions (http://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html)
  formatDate: "yyyy/MM/dd HH:mm:ss"
  #Log message for bought items
  formatBuy: "%player% bought %amount% x %item% for %price%$ from %shop% shop"
  #Log message for sold items
  formatSell: "%player% sold %amount% x %item% for %price%$ to %shop% shop"
  #Log message for sold all items
  formatSellAll: "%player% sold all %amount% x %item% for %price%$ to %shop% shop"

buttons:
  #"Go back button"
  goBack:
    item:
      #Material name, full list can be found here: http://wiki.brcdev.net/Materials
      material: NETHER_STAR
      #Amount of the item
      amount: 1
      #(optional) Data value, for example 1 for WOOD:1 means spruce wood planks
      damage: 0
      #(optional) Custom name
      name: "&cBack to categories"
      #(optional) Lore, can contain multiple lines
      lore:
        - "&aClick here to return to the main menu"
    #Slot in each shop's GUI
    slot: 49
  #"Previous page" button
  previousPage:
    item:
      material: PAPER
      quantity: 1
      name: "&e&lPrevious page"
    slot: 45
  #"Next page" button
  nextPage:
    item:
      material: PAPER
      quantity: 1
      name: "&e&lNext page"
    slot: 53

#Elements of the bulk buy GUI
amountSelectionGUIBulkBuy:
  #Size of the GUI, valid values are 9, 18, 27, 36, 45 and 54
  size: 9
  #Choose if buttons type should be replaced with the bought item's type
  replaceButtonsType: true
  #Buttons
  buttons:
    #"Buy 1 stack" button
    buy1:
      #When no material is specified it will be the type of the item being bought
      item:
        quantity: 1
        name: "&aBuy 1 stack"
        lore:
          - "&7Price: &c%buy%$"
      #Value indicated the amount of stacks
      value: 1
      slot: 0
    #"Buy 2 stacks" button
    buy2:
      item:
        quantity: 2
        name: "&aBuy 2 stacks"
        lore:
          - "&7Price: &c%buy%$"
      value: 2
      slot: 1
    #"Buy 3 stacks" button
    buy3:
      item:
        quantity: 3
        name: "&aBuy 3 stacks"
        lore:
          - "&7Price: &c%buy%$"
      value: 3
      slot: 2
    #"Buy 4 stacks" button
    buy4:
      item:
        quantity: 4
        name: "&aBuy 4 stacks"
        lore:
          - "&7Price: &c%buy%$"
      value: 4
      slot: 3
    #"Buy 5 stacks" button
    buy5:
      item:
        quantity: 5
        name: "&aBuy 5 stacks"
        lore:
          - "&7Price: &c%buy%$"
      value: 5
      slot: 4
    #"Buy 6 stacks" button
    buy6:
      item:
        quantity: 6
        name: "&aBuy 6 stacks"
        lore:
          - "&7Price: &c%buy%$"
      value: 6
      slot: 5
    #"Buy 7 stacks" button
    buy7:
      item:
        quantity: 7
        name: "&aBuy 7 stacks"
        lore:
          - "&7Price: &c%buy%$"
      value: 7
      slot: 6
    #"Buy 8 stacks" button
    buy8:
      item:
        quantity: 8
        name: "&aBuy 8 stacks"
        lore:
          - "&7Price: &c%buy%$"
      value: 8
      slot: 7
    #"Buy 9 stacks" button
    buy9:
      item:
        quantity: 9
        name: "&aBuy 9 stacks"
        lore:
          - "&7Price: &c%buy%$"
      value: 9
      slot: 8
     
#Elements of the bulk buy GUI
amountSelectionGUIBulkSell:
  #Size of the GUI, valid values are 9, 18, 27, 36, 45 and 54
  size: 9
  #Choose if buttons type should be replaced with the sold item's type
  replaceButtonsType: true
  #Buttons
  buttons:
    #"Sell 1 stack" button
    sell1:
      #When no material is specified it will be the type of the item being bought
      item:
        quantity: 1
        name: "&aSell 1 stack"
        lore:
          - "&7Price: &c%sell%$"
      #Value indicated the amount of stacks
      value: 1
      slot: 0
    #"Sell 2 stacks" button
    sell2:
      item:
        quantity: 2
        name: "&aSell 2 stacks"
        lore:
          - "&7Price: &c%sell%$"
      value: 2
      slot: 1
    #"Sell 3 stacks" button
    sell3:
      item:
        quantity: 3
        name: "&aSell 3 stacks"
        lore:
          - "&7Price: &c%sell%$"
      value: 3
      slot: 2
    #"Sell 4 stacks" button
    sell4:
      item:
        quantity: 4
        name: "&aSell 4 stacks"
        lore:
          - "&7Price: &c%sell%$"
      value: 4
      slot: 3
    #"Sell 5 stacks" button
    sell5:
      item:
        quantity: 5
        name: "&aSell 5 stacks"
        lore:
          - "&7Price: &c%sell%$"
      value: 5
      slot: 4
    #"Sell 6 stacks" button
    sell6:
      item:
        quantity: 6
        name: "&aSell 6 stacks"
        lore:
          - "&7Price: &c%sell%$"
      value: 6
      slot: 5
    #"Sell 7 stacks" button
    sell7:
      item:
        quantity: 7
        name: "&aSell 7 stacks"
        lore:
          - "&7Price: &c%sell%$"
      value: 7
      slot: 6
    #"Sell 8 stacks" button
    sell8:
      item:
        quantity: 8
        name: "&aSell 8 stacks"
        lore:
          - "&7Price: &c%sell%$"
      value: 8
      slot: 7
    #"Sell 9 stacks" button
    sell9:
      item:
        quantity: 9
        name: "&aSell 9 stacks"
        lore:
          - "&7Price: &c%sell%$"
      value: 9
      slot: 8
     
#Elements of the regular buy/sell GUI
amountSelectionGUI:
  #Size of the GUI, valid values are 9, 18, 27, 36, 45 and 54
  size: 54
  #Slot of the item being bought/sold
  itemSlot: 22
  #Buttons
  buttons:
    #"Set to 1" button
    set1:
      item:
        material: STAINED_GLASS_PANE
        quantity: 1
        damage: 14
        name: "&c&lSet to 1"
      slot: 18
    #"Remove 10" button
    remove10:
      item:
        material: STAINED_GLASS_PANE
        quantity: 10
        damage: 14
        name: "&c&lRemove 10"
      slot: 19
    #"Remove 1" button
    remove1:
      item:
        material: STAINED_GLASS_PANE
        quantity: 1
        damage: 14
        name: "&c&lRemove 1"
      slot: 20
    #"Add 1" button
    add1:
      item:
        material: STAINED_GLASS_PANE
        quantity: 1
        damage: 5
        name: "&a&lAdd 1"
      slot: 24
    #"Add 10" button
    add10:
      item:
        material: STAINED_GLASS_PANE
        quantity: 10
        damage: 5
        name: "&a&lAdd 10"
      slot: 25
    #"Set to 16" button
    set16:
      item:
        material: STAINED_GLASS_PANE
        quantity: 16
        damage: 5
        name: "&a&lSet to 16"
      slot: 26
    #"Set to 64" button
    set64:
      item:
        material: STAINED_GLASS_PANE
        quantity: 64
        damage: 5
        name: "&a&lSet to 64"
      slot: 26
    #"Confirm" button
    confirm:
      item:
        material: STAINED_GLASS
        quantity: 1
        damage: 5
        name: "&a&lConfirm"   
      slot: 39
    #"Sell all" button
    sellAll:
      item:
        material: STAINED_GLASS
        quantity: 1
        damage: 5
        name: "&a&lSell all"     
      slot: 40
    #"Buy more" button
    buyMore:
      item:
        material: STAINED_GLASS
        quantity: 64
        damage: 5
        name: "&a&lBuy more"     
      slot: 49
    #"Sell more" button
    sellMore:
      item:
        material: STAINED_GLASS
        quantity: 64
        damage: 5
        name: "&a&lSell more"     
      slot: 49
    #"Cancel" button     
    cancel:
      item:
        material: STAINED_GLASS
        quantity: 1
        damage: 14
        name: "&c&lCancel" 
      slot: 41
     
shopMenuItems:
  #Has to be unique, value doesn't matter
  1:
    item:
      #The same rules apply for material, amount, damage and lore as for goBackButton
      material: GRASS
      quantity: 1
      name: "&9&lBloky"
    #Shop ID from shops.yml
    shop: "blocks"
    #Slot in shops menu, counting from 0 to 53
    slot: 0
  2:
    item:
      material: WOOL
      quantity: 1
      damage: 0
      name: "&2&lBarevné bloky"
      lore:
        - "&7Barevné bloky"
    shop: "color"
    slot: 2
  3:
    item:
      material: LEAVES
      quantity: 1
      name: "&8&lOzdobné bloky"
    shop: "ozdobne"
    slot: 4
  4:
    item:
      material: REDSTONE_BLOCK
      quantity: 1
      name: "&4&lRedstone"
    shop: "redstone"
    slot: 6
  5:
    item:
      material: ELYTRA
      quantity: 1
      name: "&5&lDoprava"
    shop: "transportation"
    slot: 8
  6:
    item:
      material: LAVA_BUCKET
      quantity: 1
      name: "&9&lRůzné"
    shop: "miscellaneous"
    slot: 10
  7:
    item:
      material: PUMPKIN
      quantity: 1
      damage: 12
      name: "&2&lJídlo"
    shop: "food"
    slot: 12
  8:
    item:
      material: STICK
      quantity: 1
      name: "&3&lmaterial"
    shop: "materials"
    slot: 14
  9:
    item:
      material: diamond_axe
      quantity: 1
      name: "&3&lNastroje"
    shop: "tools"
    slot: 16
  10:
    item:
      material: diamond_sword
      quantity: 1
      name: "&3&lPVP"
    shop: "armor"
    slot: 18


specialElements:
  balance:
    item:
      material: GOLD_NUGGET
      quantity: 1
      name: "&6&lYour balance"
      lore:
        - "&7$%balance%"

Screen: <- Jsou tam starší názvy... Jinak furt ot ukazuje to stejné
Spoiler: zobrazit
IMG_10012017_214203.png
IMG_10012017_214203.png (149.83 KiB) Zobrazeno 1465 x

Re: Obchod

Napsal: 11 led 2017, 15:00
od pitilon@seznam.cz
zkus napsat na spigot k pluginu když ho máš koupen autor ti tam jistě poradí..