Can anyone find the error in my GUIShop Script? i cant find it.

Discussion in 'Bukkit Help' started by matthew_mh, Jul 9, 2018.

Thread Status:
Not open for further replies.
  1. Offline

    matthew_mh

    Code:java
    1. Ores:
    2. '1':
    3. - id: '263:0'
    4. - slot: 0
    5. - name: 'A Peice of Coal'
    6. - buy-price: 2.0
    7. - sell-price: 1.0
    8. - enchantments: ''
    9. - qty: 1
    10. '2':
    11. - id: '265:0'
    12. - slot: 1
    13. - name: 'An Iron Ingot'
    14. - buy-price: 12.5
    15. - sell-price: 6.25
    16. - enchantments: ''
    17. - qty: 1
    18. '3':
    19. - id: '266:0'
    20. - slot: 2
    21. - name: 'A Gold Ingot'
    22. - buy-price: 15.0
    23. - sell-price: 7.5
    24. - enchantments: ''
    25. - qty: 1
    26. '4':
    27. - id: '264:0'
    28. - slot: 3
    29. - name: 'A Single Diamond'
    30. - buy-price: 125.0
    31. - sell-price: 62.5
    32. - enchantments: ''
    33. - qty: 1
    34. '5':
    35. - id: '388:0'
    36. - slot: 4
    37. - name: 'A Single Emerald'
    38. - buy-price: 70.0
    39. - sell-price: 45.0
    40. - enchantments: ''
    41. - qty: 1
    42. '6':
    43. - id: '351:4'
    44. - slot: 5
    45. - name: 'A Peice of Lapis Lazuli'
    46. - buy-price: 5.0
    47. - sell-price: 2.5
    48. - enchantments: ''
    49. - qty: 1
    50. '7':
    51. - id: '406:0'
    52. - slot: 6
    53. - name: 'A Peice of Nether Quartz'
    54. - buy-price: 15.0
    55. - sell-price: 7.5
    56. - enchantments: ''
    57. - qty: 1
    58. '8':
    59. - id: '263:0'
    60. - slot: 9
    61. - name: 'A Bunch of Coal(x5)'
    62. - buy-price: 10.0
    63. - sell-price: 5.0
    64. - enchantments: ''
    65. - qty: 5
    66. '9':
    67. - id: '265:0'
    68. - slot: 10
    69. - name: 'A Bunch of Iron Ingots(x5)'
    70. - buy-price: 62.5
    71. - sell-price: 31.25
    72. - enchantments: ''
    73. - qty: 5
    74. '10':
    75. - id: '266:0'
    76. - slot: 11
    77. - name: 'A Bunch of Gold Ingots(x5)'
    78. - buy-price: 75.0
    79. - sell-price: 37.5
    80. - enchantments: ''
    81. - qty: 5
    82. '11':
    83. - id: '264:0'
    84. - slot: 12
    85. - name: 'A Bunch of Diamonds(x5)'
    86. - buy-price: 625.0
    87. - sell-price: 312.5
    88. - enchantments: ''
    89. - qty: 5
    90. '12':
    91. - id: '388:0'
    92. - slot: 13
    93. - name: 'A Bunch of Emeralds(x5)'
    94. - buy-price: 350.0
    95. - sell-price: 175.0
    96. - enchantments: ''
    97. - qty: 5
    98. '13':
    99. - id: '351:4'
    100. - slot: 14
    101. - name: 'A Bunch of Lapis Lazuli(x5)'
    102. - buy-price: 25.0
    103. - sell-price: 12.5
    104. - enchantments: ''
    105. - qty: 5
    106. '14':
    107. - id: '406:0'
    108. - slot: 15
    109. - name: 'A Bunch of Nether Quartz(x5)'
    110. - buy-price: 75.0
    111. - sell-price: 37.5
    112. - enchantments: ''
    113. - qty: 5
    114. '15':
    115. - id: '263:0'
    116. - slot: 18
    117. - name: 'A Stack of Coal(x64)'
    118. - buy-price: 128.0
    119. - sell-price: 64.0
    120. - enchantments: ''
    121. - qty: 64
    122. '16':
    123. - id: '265:0'
    124. - slot: 19
    125. - name: 'A Stack of Iron Ingots(x64)'
    126. - buy-price: 800.0
    127. - sell-price: 400.0
    128. - enchantments: ''
    129. - qty: 64
    130. '17':
    131. - id: '266:0'
    132. - slot: 20
    133. - name: 'A Stack of Gold Ingots(x64)'
    134. - buy-price: 960.0
    135. - sell-price: 480.0
    136. - enchantments: ''
    137. - qty: 64
    138. '18':
    139. - id: '264:0'
    140. - slot: 21
    141. - name: 'A Stack of Diamonds(x64)'
    142. - buy-price: 8000.0
    143. - sell-price: 4000.0
    144. - enchantments: ''
    145. - qty: 64
    146. '19':
    147. - id: '388:0'
    148. - slot: 22
    149. - name: 'A Stack Emeralds(x64)'
    150. - buy-price: 4480.0
    151. - sell-price: 2240.0
    152. - enchantments: ''
    153. - qty: 64
    154. '20':
    155. - id: '351:4'
    156. - slot: 23
    157. - name: 'A Stack of Lapis Lazuli(x64)'
    158. - buy-price: 320.0
    159. - sell-price: 160.0
    160. - enchantments: ''
    161. - qty: 64
    162. '21':
    163. - id: '406:0'
    164. - slot: 24
    165. - name: 'A Stack of Nether Quartz(x64)'
    166. - buy-price: 960.0
    167. - sell-price: 480.0
    168. - enchantments: ''
    169. - qty: 64
    170. '22':
    171. - id: '173:0'
    172. - slot: 27
    173. - name: 'A Block Of Coal'
    174. - buy-price: 27.0
    175. - sell-price: 14.0
    176. - enchantments: ''
    177. - qty: 1
    178. '23':
    179. - id: '42:0'
    180. - slot: 28
    181. - name: 'A Block Of Iron'
    182. - buy-price: 112.5
    183. - sell-price: 56.25
    184. - enchantments: ''
    185. - qty: 1
    186. '24':
    187. - id: '41:0'
    188. - slot: 29
    189. - name: 'A Block Of Gold'
    190. - buy-price: 135.0
    191. - sell-price: 67.5
    192. - enchantments: ''
    193. - qty: 1
    194. '25':
    195. - id: '57:0'
    196. - slot: 30
    197. - name: 'A Block Of Diamond'
    198. - buy-price: 1125.0
    199. - sell-price: 562.5
    200. - enchantments: ''
    201. - qty: 1
    202. '26':
    203. - id: '133:0'
    204. - slot: 31
    205. - name: 'A Block of Emerald'
    206. - buy-price: 630.0
    207. - sell-price: 315.0
    208. - enchantments: ''
    209. - qty: 1
    210. '27':
    211. - id: '22:0'
    212. - slot: 32
    213. - name: 'A Block of Lapis Lazuli'
    214. - buy-price: 45.0
    215. - sell-price: 22.5
    216. - enchantments: ''
    217. - qty: 1
    218. '28':
    219. - id: '155:0'
    220. - slot: 33
    221. - name: 'A Block of Nether Quartz'
    222. - buy-price: 135.0
    223. - sell-price: 67.5
    224. - enchantments: ''
    225. - qty: 1
    226. '29':
    227. - id: '173:0'
    228. - slot: 36
    229. - name: 'A Minecart of Coal Blocks(x5)'
    230. - buy-price: 275.0
    231. - sell-price: 137.5
    232. - enchantments: ''
    233. - qty: 5
    234. '30':
    235. - id: '42:0'
    236. - slot: 37
    237. - name: 'A Minecart of Iron Blocks(x5)'
    238. - buy-price: 562.5
    239. - sell-price: 281.25
    240. - enchantments: ''
    241. - qty: 5
    242. '31':
    243. - id: '41:0'
    244. - slot: 38
    245. - name: 'A Minecart of Gold Blocks(x5)'
    246. - buy-price: 675.0
    247. - sell-price: 337.5
    248. - enchantments: ''
    249. - qty: 5
    250. '32':
    251. - id: '57:0'
    252. - slot: 39
    253. - name: 'A Minecart of Diamond Blocks(x5)'
    254. - buy-price: 5625.0
    255. - sell-price: 2812.5
    256. - enchantments: ''
    257. - qty: 5
    258. '33':
    259. - id: '133:0'
    260. - slot: 40
    261. - name: 'A Minecart of Emerald Blocks(x5)'
    262. - buy-price: 3150.0
    263. - sell-price: 1575.0
    264. - enchantments: ''
    265. - qty: 5
    266. '34':
    267. - id: '22:0'
    268. - slot: 41
    269. - name: 'A Minecart of Lapis Lazuli Blocks(x5)'
    270. - buy-price: 225.0
    271. - sell-price: 112.5
    272. - enchantments: ''
    273. - qty: 5
    274. '35':
    275. - id: '155:0'
    276. - slot: 42
    277. - name: 'A Minecart of Nether Quartz Blocks(x5)'
    278. - buy-price: 675.0
    279. - sell-price: 337.5
    280. - enchantments: ''
    281. - qty: 5
    282. '36':
    283. - id: '173:0'
    284. - slot: 45
    285. - name: 'A Stack of Coal Blocks(x64)'
    286. - buy-price: 1728.0
    287. - sell-price: 864.0
    288. - enchantments: ''
    289. - qty: 64
    290. '37':
    291. - id: '42:0'
    292. - slot: 46
    293. - name: 'A Stack of Iron Blocks(x64)'
    294. - buy-price: 7200.0
    295. - sell-price: 3600.0
    296. - enchantments: ''
    297. - qty: 64
    298. '38':
    299. - id: '41:0'
    300. - slot: 47
    301. - name: 'A Stack of Gold Blocks(x64)'
    302. - buy-price: 8640.0
    303. - sell-price: 4320.0
    304. - enchantments: ''
    305. - qty: 64
    306. '39':
    307. - id: '57:0'
    308. - slot: 48
    309. - name: 'A Stack of Diamond Blocks(x64)'
    310. - buy-price: 72000.0
    311. - sell-price: 36000.0
    312. - enchantments: ''
    313. - qty: 64
    314. '40':
    315. - id: '133:0'
    316. - slot: 49
    317. - name: 'A Stack of Emerald Blocks(x64)'
    318. - buy-price: 40320.0
    319. - sell-price: 20160.0
    320. - enchantments: ''
    321. - qty: 64
    322. '41':
    323. - id: '22:0'
    324. - slot: 50
    325. - name: 'A Stack of Lapis Lazuli Blocks(x64)'
    326. - buy-price: 2880.0
    327. - sell-price: 1440.0
    328. - enchantments: ''
    329. - qty: 64
    330. '42':
    331. - id: '155:0'
    332. - slot: 51
    333. - name: 'A Stack of Nether Quartz Blocks(x64)'
    334. - buy-price: 8640.0
    335. - sell-price: 4320.0
    336. - enchantments: ''
    337. - qty: 64
    338. Basic Weapons:
    339. '1':
    340. - id: '276:0'
    341. - slot: 0
    342. - name: ''
    343. - buy-price: 10.0
    344. - sell-price: 5.0
    345. - enchantments: ''
    346. - qty: 1
     
    Last edited by a moderator: Jul 9, 2018
  2. Online

    timtower Ninja on the waves Moderator

  3. Offline

    matthew_mh

    the code is right there, giving you the server log would be a major breach of privacy for players but i will give nyou the error info
     

    Attached Files:

  4. Online

    timtower Ninja on the waves Moderator

    @matthew_mh The code never tells the entire story though.
    How big is the inventory?
     
  5. Offline

    matthew_mh

    height 6 cells, width 9 cells
     
Thread Status:
Not open for further replies.

Share This Page