Advertisement
Guest User

f

a guest
Dec 9th, 2019
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 26.83 KB | None | 0 0
  1. command /shop:
  2. trigger:
  3. open virtual chest inventory with 5 rows with name "&3&lSHOP" to player
  4. format gui slot 10 of player with grass block named "&7Blocks" to run:
  5. execute player command "shopblocks"
  6. format gui slot 16 of player with redstone named "&7Redstone" to run:
  7. execute player command "shopredstone"
  8. format gui slot 21 of player with hay bale named "&7Farming" to run:
  9. execute player command "shopfarming"
  10. format gui slot 22 of player with empty bucket named "&7Misc." to run:
  11. execute player command "shopmisc"
  12. format gui slot 23 of player with apple named "&7Food" to run:
  13. execute player command "shopfood"
  14. format gui slot 28 of player with paper named "&7Ranks" to run:
  15. execute player command "shopranks"
  16. format gui slot 34 of player with iron pickaxe named "&7Tools" to run:
  17. execute player command "shoptools"
  18. format gui slot 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 17, 18, 26, 27, 35, 36, 37, 38, 39, 40, 41, 42, 43 and 44 of player with gray stained glass pane named "&7Close" to run:
  19. execute player command "close"
  20.  
  21. command /shopblocks:
  22. trigger:
  23. open virtual chest inventory with 6 rows with name "&3&lBLOCKS" to player
  24. format gui slot 10 of player with 16 stone named "&7Stone &a$320" to run:
  25. if player's money is greater than or equal to 320:
  26. remove 320 from player's balance
  27. send "&a$320 &7has been removed from your balance"
  28. give 16 stone to player
  29. else:
  30. send "&cYou do not have enough money to purchase this!"
  31. format gui slot 11 of player with 16 cobblestone named "&7Cobblestone &a$160" to run:
  32. if player's money is greater than or equal to 160:
  33. remove 160 from player's balance
  34. send "&a$160 &7has been removed from your balance"
  35. give 16 cobblestone to player
  36. else:
  37. send "&cYou do not have enough money to purchase this!"
  38. format gui slot 12 of player with 16 stone brick named "&7Stone Brick &a$320" to run:
  39. if player's money is greater than or equal to 320:
  40. remove 320 from player's balance
  41. send "&a$320 &7has been removed from your balance"
  42. give 16 stone brick to player
  43. else:
  44. send "&cYou do not have enough money to purchase this!"
  45. format gui slot 13 of player with 16 smooth stone named "&7Smooth Stone &a$320" to run:
  46. if player's money is greater than or equal to 320:
  47. remove 320 from player's balance
  48. send "&a$320 &7has been removed from your balance"
  49. give 16 smooth stone to player
  50. else:
  51. send "&cYou do not have enough money to purchase this!"
  52. format gui slot 14 of player with 16 brick block named "&7Bricks &a$320" to run:
  53. if player's money is greater than or equal to 320:
  54. remove 320 from player's balance
  55. send "&a$320 &7has been removed from your balance"
  56. give 16 brick block to player
  57. else:
  58. send "&cYou do not have enough money to purchase this!"
  59. format gui slot 15 of player with 16 sand named "&7Sand &a$320" to run:
  60. if player's money is greater than or equal to 320:
  61. remove 320 from player's balance
  62. send "&a$320 &7has been removed from your balance"
  63. give 16 sand to player
  64. else:
  65. send "&cYou do not have enough money to purchase this!"
  66. format gui slot 16 of player with 16 sandstone named "&7Sandstone &a$320" to run:
  67. if player's money is greater than or equal to 320:
  68. remove 320 from player's balance
  69. send "&a$320 &7has been removed from your balance"
  70. give 16 sandstone to player
  71. else:
  72. send "&cYou do not have enough money to purchase this!"
  73. format gui slot 19 of player with 16 dirt named "&7Dirt &a$80" to run:
  74. if player's money is greater than or equal to 320:
  75. remove 320 from player's balance
  76. send "&a$320 &7has been removed from your balance"
  77. give 16 dirt to player
  78. else:
  79. send "&cYou do not have enough money to purchase this!"
  80. format gui slot 20 of player with 16 packed ice named "&7Packed Ice &a$400" to run:
  81. if player's money is greater than or equal to 320:
  82. remove 400 from player's balance
  83. send "&a$400 &7has been removed from your balance"
  84. give 16 packed ice to player
  85. else:
  86. send "&cYou do not have enough money to purchase this!"
  87. format gui slot 21 of player with 4 ice named "&7Ice &a$100" to run:
  88. if player's money is greater than or equal to 100:
  89. remove 100 from player's balance
  90. send "&a$100 &7has been removed from your balance"
  91. give 4 ice to player
  92. else:
  93. send "&cYou do not have enough money to purchase this!"
  94. format gui slot 22 of player with 4 sea lantern named "&7Sea Lantern &a$50" to run:
  95. if player's money is greater than or equal to 50:
  96. remove 50 from player's balance
  97. send "&a$50 &7has been removed from your balance"
  98. give 4 sea lantern to player
  99. else:
  100. send "&cYou do not have enough money to purchase this!"
  101. format gui slot 23 of player with 2 soul sand named "&7Soul Sand &a$150" to run:
  102. if player's money is greater than or equal to 150:
  103. remove 150 from player's balance
  104. send "&a$150 &7has been removed from your balance"
  105. give 2 soul sand to player
  106. else:
  107. send "&cYou do not have enough money to purchase this!"
  108. format gui slot 24 of player with 4 gravel named "&7Gravel &a$50" to run:
  109. if player's money is greater than or equal to 50:
  110. remove 50 from player's balance
  111. send "&a$50 &7has been removed from your balance"
  112. give 4 gravel to player
  113. else:
  114. send "&cYou do not have enough money to purchase this!"
  115. format gui slot 28 of player with 16 oak log named "&7Oak Log &a$480" to run:
  116. if player's money is greater than or equal to 480:
  117. remove 480 from player's balance
  118. send "&a$480 &7has been removed from your balance"
  119. give 16 oak log to player
  120. else:
  121. send "&cYou do not have enough money to purchase this!"
  122. format gui slot 29 of player with 16 birch log named "&7Birch Log &a$480" to run:
  123. if player's money is greater than or equal to 480:
  124. remove 480 from player's balance
  125. send "&a$480 &7has been removed from your balance"
  126. give 16 birch log to player
  127. else:
  128. send "&cYou do not have enough money to purchase this!"
  129. format gui slot 30 of player with 16 spruce log named "&7Spruce Log &a$480" to run:
  130. if player's money is greater than or equal to 480:
  131. remove 480 from player's balance
  132. send "&a$480 &7has been removed from your balance"
  133. give 16 spruce log to player
  134. else:
  135. send "&cYou do not have enough money to purchase this!"
  136. format gui slot 31 of player with 16 jungle log named "&7Jungle Log &a$480" to run:
  137. if player's money is greater than or equal to 480:
  138. remove 480 from player's balance
  139. send "&a$480 &7has been removed from your balance"
  140. give 16 jungle log to player
  141. else:
  142. send "&cYou do not have enough money to purchase this!"
  143. format gui slot 32 of player with 16 dark oak log named "&7Dark Oak Log &a$480" to run:
  144. if player's money is greater than or equal to 480:
  145. remove 480 from player's balance
  146. send "&a$480 &7has been removed from your balance"
  147. give 16 dark oak log to player
  148. else:
  149. send "&cYou do not have enough money to purchase this!"
  150. format gui slot 33 of player with 16 acacia log named "&7Acacia Log &a$480" to run:
  151. if player's money is greater than or equal to 480:
  152. remove 480 from player's balance
  153. send "&a$480 &7has been removed from your balance"
  154. give 16 acacia log to player
  155. else:
  156. send "&cYou do not have enough money to purchase this!"
  157. format gui slot 37 of player with 16 white concrete named "&7White Concrete &a$250" to run:
  158. if player's money is greater than or equal to 250:
  159. remove 250 from player's balance
  160. send "&a$250 &7has been removed from your balance"
  161. give 16 white concrete to player
  162. else:
  163. send "&cYou do not have enough money to purchase this!"
  164. format gui slot 38 of player with 16 blue concrete named "&7Blue Concrete &a$250" to run:
  165. if player's money is greater than or equal to 250:
  166. remove 250 from player's balance
  167. send "&a$250 &7has been removed from your balance"
  168. give 16 blue concrete to player
  169. else:
  170. send "&cYou do not have enough money to purchase this!"
  171. format gui slot 39 of player with 16 orange concrete named "&7Orange Concrete &a$250" to run:
  172. if player's money is greater than or equal to 250:
  173. remove 250 from player's balance
  174. send "&a$250 &7has been removed from your balance"
  175. give 16 orange concrete to player
  176. else:
  177. send "&cYou do not have enough money to purchase this!"
  178. format gui slot 40 of player with 16 magenta concrete named "&7Magenta Concrete &a$250" to run:
  179. if player's money is greater than or equal to 250:
  180. remove 250 from player's balance
  181. send "&a$250 &7has been removed from your balance"
  182. give 16 magenta concrete to player
  183. else:
  184. send "&cYou do not have enough money to purchase this!"
  185. format gui slot 41 of player with 16 light blue concrete named "&7Light Blue Concrete &a$250" to run:
  186. if player's money is greater than or equal to 250:
  187. remove 250 from player's balance
  188. send "&a$250 &7has been removed from your balance"
  189. give 16 light blue concrete to player
  190. else:
  191. send "&cYou do not have enough money to purchase this!"
  192. format gui slot 42 of player with 16 yellow concrete named "&7Yellow Concrete &a$250" to run:
  193. if player's money is greater than or equal to 250:
  194. remove 250 from player's balance
  195. send "&a$250 &7has been removed from your balance"
  196. give 16 yellow concrete to player
  197. else:
  198. send "&cYou do not have enough money to purchase this!"
  199. format gui slot 43 of player with 16 lime concrete named "&7Lime Concrete &a$250" to run:
  200. if player's money is greater than or equal to 250:
  201. remove 250 from player's balance
  202. send "&a$250 &7has been removed from your balance"
  203. give 16 lime concrete to player
  204. else:
  205. send "&cYou do not have enough money to purchase this!"
  206. format gui slot 0, 9, 18, 27, 36 and 45 of player with red stained glass pane named "&cBack" to run:
  207. execute player command "shop"
  208. format gui slot 1, 2, 3, 4, 5, 6, 7, 8, 17, 26, 35, 44, 46, 47, 48, 49, 50, 51 and 52 of player with gray stained glass pane named " " to run:
  209. send "&cThis does nothing!"
  210. format gui slot 53 of player with lime stained glass pane named "&aNext" to run:
  211. execute player command "shopblock2"
  212.  
  213. command /shopblock2:
  214. trigger:
  215. open virtual chest inventory with 6 rows with name "&3&lBLOCKS" to player
  216. format gui slot 0, 9, 18, 27, 36 and 45 of player with red stained glass pane named "&cBack" to run:
  217. execute player command "shop"
  218. format gui slot 1, 2, 3, 4, 5, 6, 7, 8, 17, 26, 35, 44, 46, 47, 48, 49, 50, 51 and 52 of player with gray stained glass pane named " " to run:
  219. send "&cThis does nothing!"
  220. format gui slot 10 of player with 16 gray concrete named "&7Gray Concrete &a$250" to run:
  221. if player's money is greater than or equal to 250:
  222. remove 250 from player's balance
  223. send "&a$250 &7has been removed from your balance"
  224. give 16 gray concrete to player
  225. else:
  226. send "&cYou do not have enough money to purchase this!"
  227. format gui slot 11 of player with 16 pink concrete named "&7Pink Concrete &a$250" to run:
  228. if player's money is greater than or equal to 250:
  229. remove 250 from player's balance
  230. send "&a$250 &7has been removed from your balance"
  231. give 16 pink concrete to player
  232. else:
  233. send "&cYou do not have enough money to purchase this!"
  234. format gui slot 12 of player with 16 light gray concrete named "&7Light Gray Concrete &a$250" to run:
  235. if player's money is greater than or equal to 250:
  236. remove 250 from player's balance
  237. send "&a$250 &7has been removed from your balance"
  238. give 16 concrete to player
  239. else:
  240. send "&cYou do not have enough money to purchase this!"
  241. format gui slot 13 of player with 16 pink concrete named "&7Pink Concrete &a$250" to run:
  242. if player's money is greater than or equal to 250:
  243. remove 250 from player's balance
  244. send "&a$250 &7has been removed from your balance"
  245. give 16 pink concrete to player
  246. else:
  247. send "&cYou do not have enough money to purchase this!"
  248. format gui slot 43 of player with 16 cyan concrete named "&7Cyan Concrete &a$250" to run:
  249. if player's money is greater than or equal to 250:
  250. remove 250 from player's balance
  251. send "&a$250 &7has been removed from your balance"
  252. give 16 cyan concrete to player
  253. else:
  254. send "&cYou do not have enough money to purchase this!"
  255. format gui slot 14 of player with 16 black concrete named "&7Black Concrete &a$250" to run:
  256. if player's money is greater than or equal to 250:
  257. remove 250 from player's balance
  258. send "&a$250 &7has been removed from your balance"
  259. give 16 black concrete to player
  260. else:
  261. send "&cYou do not have enough money to purchase this!"
  262. format gui slot 15 of player with 16 red concrete named "&7Red Concrete &a$250" to run:
  263. if player's money is greater than or equal to 250:
  264. remove 250 from player's balance
  265. send "&a$250 &7has been removed from your balance"
  266. give 16 red concrete to player
  267. else:
  268. send "&cYou do not have enough money to purchase this!"
  269. format gui slot 16 of player with 16 purple concrete named "&7Purple Concrete &a$250" to run:
  270. if player's money is greater than or equal to 250:
  271. remove 250 from player's balance
  272. send "&a$250 &7has been removed from your balance"
  273. give 16 purple concrete to player
  274. else:
  275. send "&cYou do not have enough money to purchase this!"
  276. format gui slot 19 of player with 16 brown concrete named "&7Brown Concrete &a$250" to run:
  277. if player's money is greater than or equal to 250:
  278. remove 250 from player's balance
  279. send "&a$250 &7has been removed from your balance"
  280. give 16 brown concrete to player
  281. else:
  282. send "&cYou do not have enough money to purchase this!"
  283. format gui slot 20 of player with 16 green concrete named "&7Green Concrete &a$250" to run:
  284. if player's money is greater than or equal to 250:
  285. remove 250 from player's balance
  286. send "&a$250 &7has been removed from your balance"
  287. give 16 green concrete to player
  288. else:
  289. send "&cYou do not have enough money to purchase this!"
  290. format gui slot 28 of player with 16 glass named "&7Glass &a$500" to run:
  291. if player's money is greater than or equal to 500:
  292. remove 500 from player's balance
  293. send "&a$500 &7has been removed from your balance"
  294. give 16 glass to player
  295. else:
  296. send "&cYou do not have enough money to purchase this!"
  297. format gui slot 29 of player with 16 white stained glass named "&7White Stained Glass &a$500" to run:
  298. if player's money is greater than or equal to 500:
  299. remove 500 from player's balance
  300. send "&a$500 &7has been removed from your balance"
  301. give 16 white stained glass to player
  302. else:
  303. send "&cYou do not have enough money to purchase this!"
  304. format gui slot 30 of player with 16 orange stained glass named "&7Orange Stained Glass &a$500" to run:
  305. if player's money is greater than or equal to 500:
  306. remove 500 from player's balance
  307. send "&a$500 &7has been removed from your balance"
  308. give 16 orange stained glass to player
  309. else:
  310. send "&cYou do not have enough money to purchase this!"
  311. format gui slot 31 of player with 16 magenta stained glass named "&7Magenta Stained Glass &a$500" to run:
  312. if player's money is greater than or equal to 500:
  313. remove 500 from player's balance
  314. send "&a$500 &7has been removed from your balance"
  315. give 16 magenta stained glass to player
  316. else:
  317. send "&cYou do not have enough money to purchase this!"
  318. format gui slot 32 of player with 16 light blue stained glass named "&7Light Blue Stained Glass &a$500" to run:
  319. if player's money is greater than or equal to 500:
  320. remove 500 from player's balance
  321. send "&a$500 &7has been removed from your balance"
  322. give 16 light blue stained glass to player
  323. else:
  324. send "&cYou do not have enough money to purchase this!"
  325. format gui slot 33 of player with 16 yellow stained glass named "&7Yellow Stained Glass &a$500" to run:
  326. if player's money is greater than or equal to 500:
  327. remove 500 from player's balance
  328. send "&a$500 &7has been removed from your balance"
  329. give 16 yellow stained glass to player
  330. else:
  331. send "&cYou do not have enough money to purchase this!"
  332. format gui slot 34 of player with 16 lime stained glass named "&7Lime Stained Glass &a$500" to run:
  333. if player's money is greater than or equal to 500:
  334. remove 500 from player's balance
  335. send "&a$500 &7has been removed from your balance"
  336. give 16 lime stained glass to player
  337. else:
  338. send "&cYou do not have enough money to purchase this!"
  339. format gui slot 37 of player with 16 pink stained glass named "&7Pink Stained Glass &a$500" to run:
  340. if player's money is greater than or equal to 500:
  341. remove 500 from player's balance
  342. send "&a$500 &7has been removed from your balance"
  343. give 16 pink stained glass to player
  344. else:
  345. send "&cYou do not have enough money to purchase this!"
  346. format gui slot 38 of player with 16 gray stained glass named "&7Gray Stained Glass &a$500" to run:
  347. if player's money is greater than or equal to 500:
  348. remove 500 from player's balance
  349. send "&a$500 &7has been removed from your balance"
  350. give 16 gray stained glass to player
  351. else:
  352. send "&cYou do not have enough money to purchase this!"
  353. format gui slot 39 of player with 16 light gray stained glass named "&7Light Gray Stained Glass &a$500" to run:
  354. if player's money is greater than or equal to 500:
  355. remove 500 from player's balance
  356. send "&a$500 &7has been removed from your balance"
  357. give 16 light gray stained glass to player
  358. else:
  359. send "&cYou do not have enough money to purchase this!"
  360. format gui slot 40 of player with 16 cyan stained glass named "&7Cyan Stained Glass &a$500" to run:
  361. if player's money is greater than or equal to 500:
  362. remove 500 from player's balance
  363. send "&a$500 &7has been removed from your balance"
  364. give 16 cyan stained glass to player
  365. else:
  366. send "&cYou do not have enough money to purchase this!"
  367. format gui slot 41 of player with 16 purple stained glass named "&7Purple Stained Glass &a$500" to run:
  368. if player's money is greater than or equal to 500:
  369. remove 500 from player's balance
  370. send "&a$500 &7has been removed from your balance"
  371. give 16 purple stained glass to player
  372. else:
  373. send "&cYou do not have enough money to purchase this!"
  374. format gui slot 42 of player with 16 blue stained glass named "&7Blue Stained Glass &a$500" to run:
  375. if player's money is greater than or equal to 500:
  376. remove 500 from player's balance
  377. send "&a$500 &7has been removed from your balance"
  378. give 16 blue stained glass to player
  379. else:
  380. send "&cYou do not have enough money to purchase this!"
  381. format gui slot 43 of player with 16 red stained glass named "&7Red Stained Glass &a$500" to run:
  382. if player's money is greater than or equal to 500:
  383. remove 500 from player's balance
  384. send "&a$500 &7has been removed from your balance"
  385. give 16 red stained glass to player
  386. else:
  387. send "&cYou do not have enough money to purchase this!"
  388.  
  389. command /shopredstone:
  390. trigger:
  391. open virtual chest inventory with 5 rows with name "&c&lREDSTONE" to player
  392. format gui slot 1, 2, 3, 4, 5, 6, 7, 8, 17, 26, 35, 37, 38, 39, 40, 41, 42, 43 and 44 of player with gray stained glass pane named " " to run:
  393. send "&cThis does nothing"
  394. format gui slot 0, 9, 18, 27 and 36 of player with red stained glass pane named "&cClose" to run:
  395. execute player command "shop"
  396. format gui slot 10 of player with 16 redstone named "&7Redstone &a$750" to run:
  397. if player's money is greater than or equal to 750:
  398. remove 750 from player's balance
  399. send "&a$750 &7has been removed from your balance"
  400. give 16 redstone to player
  401. else:
  402. send "&cYou do not have enough money to purchase this!"
  403. format gui slot 11 of player with 4 redstone torch named "&7Redstone Torch &a$50" to run:
  404. if player's money is greater than or equal to 50:
  405. remove 50 from player's balance
  406. send "&a$50 &7has been removed from your balance"
  407. give 4 redstone torch to player
  408. else:
  409. send "&cYou do not have enough money to purchase this!"
  410. format gui slot 12 of player with 4 redstone repeater named "&7Redstone Repeater &a$250" to run:
  411. if player's money is greater than or equal to 250:
  412. remove 250 from player's balance
  413. send "&a$250 &7has been removed from your balance"
  414. give 4 redstone repeater to player
  415. else:
  416. send "&cYou do not have enough money to purchase this!"
  417. format gui slot 13 of player with 4 redstone comparator named "&7Redstone Comparator &a$250" to run:
  418. if player's money is greater than or equal to 250:
  419. remove 250 from player's balance
  420. send "&a$250 &7has been removed from your balance"
  421. give 4 redstone comparator to player
  422. else:
  423. send "&cYou do not have enough money to purchase this!"
  424. format gui slot 14 of player with 2 observer named "&7Observer &a$1500" to run:
  425. if player's money is greater than or equal to 1500:
  426. remove 1500 from player's balance
  427. send "&a$1500 &7has been removed from your balance"
  428. give 2 observer to player
  429. else:
  430. send "&cYou do not have enough money to purchase this!"
  431. format gui slot 15 of player with 2 hopper named "&7Hopper &a$25000" to run:
  432. if player's money is greater than or equal to 25000:
  433. remove 25000 from player's balance
  434. send "&a$25000 &7has been removed from your balance"
  435. give 2 hopper to player
  436. else:
  437. send "&cYou do not have enough money to purchase this!"
  438. format gui slot 16 of player with 16 piston named "&7Piston &a$1000" to run:
  439. if player's money is greater than or equal to 1000:
  440. remove 1000 from player's balance
  441. send "&a$1000 &7has been removed from your balance"
  442. give 4 piston to player
  443. else:
  444. send "&cYou do not have enough money to purchase this!"
  445. format gui slot 20 of player with 8 string named "&7String &a$50" to run:
  446. if player's money is greater than or equal to 50:
  447. remove 50 from player's balance
  448. send "&a$50 &7has been removed from your balance"
  449. give 8 string to player
  450. else:
  451. send "&cYou do not have enough money to purchase this!"
  452. format gui slot 21 of player with 4 rails named "&7Rails &a$500" to run:
  453. if player's money is greater than or equal to 500:
  454. remove 500 from player's balance
  455. send "&a$500 &7has been removed from your balance"
  456. give 4 rails to player
  457. else:
  458. send "&cYou do not have enough money to purchase this!"
  459. format gui slot 22 of player with minecart named "&7Minecart &a$250" to run:
  460. if player's money is greater than or equal to 250:
  461. remove 250 from player's balance
  462. send "&a$250 &7has been removed from your balance"
  463. give 1 minecart to player
  464. else:
  465. send "&cYou do not have enough money to purchase this!"
  466. format gui slot 23 of player with 4 powered rails named "&7Powered Rails &a$500" to run:
  467. if player's money is greater than or equal to 500:
  468. remove 500 from player's balance
  469. send "&a$500 &7has been removed from your balance"
  470. give 4 powered rail to player
  471. else:
  472. send "&cYou do not have enough money to purchase this!"
  473. format gui slot 24 of player with 4 chest named "&7Chest &a$500" to run:
  474. if player's money is greater than or equal to 500:
  475. remove 500 from player's balance
  476. send "&a$500 &7has been removed from your balance"
  477. give 4 chest to player
  478. else:
  479. send "&cYou do not have enough money to purchase this!"
  480. format gui slot 30 of player with 4 sticky piston named "&7Sticky Piston &a$1000" to run:
  481. if player's money is greater than or equal to 1000:
  482. remove 1000 from player's balance
  483. send "&a$1000 &7has been removed from your balance"
  484. give 4 sticky piston to player
  485. else:
  486. send "&cYou do not have enough money to purchase this!"
  487. format gui slot 31 of player with 2 tripwire hook named "&7Tripwire Hook &a$50" to run:
  488. if player's money is greater than or equal to 50:
  489. remove 50 from player's balance
  490. send "&a$50 &7has been removed from your balance"
  491. give 2 tripwire hook to player
  492. else:
  493. send "&cYou do not have enough money to purchase this!"
  494. format gui slot 32 of player with 2 redstone lamp named "&7Redstone Lamp &a$100" to run:
  495. if player's money is greater than or equal to 100:
  496. remove 100 from player's balance
  497. send "&a$100 &7has been removed from your balance"
  498. give 2 redstone lamp to player
  499. else:
  500. send "&cYou do not have enough money to purchase this!"
  501.  
  502.  
  503.  
  504.  
  505.  
  506.  
  507.  
  508.  
  509.  
  510.  
  511.  
  512.  
  513.  
  514. command /close:
  515. trigger:
  516. send "&aClosed!"
  517. close player's inventory
  518.  
  519. command /balance [<offline player>]:
  520. trigger:
  521. if arg 1 isn't set:
  522. send " "
  523. send "&3&lYOUR BALANCE"
  524. send "&7%player's money%"
  525. send " "
  526. if arg 1 is set:
  527. send " "
  528. send "&3&l%arg 1%&3&l's BALANCE"
  529. send "&7%arg 1's money%"
  530. send " "
  531.  
  532. command /bal [<offline player>]:
  533. trigger:
  534. if arg 1 isn't set:
  535. send " "
  536. send "&3&lYOUR BALANCE"
  537. send "&7%player's money%"
  538. send " "
  539. if arg 1 is set:
  540. send " "
  541. send "&3&l%arg 1%&3&l's BALANCE"
  542. send "&7%arg 1's money%"
  543. send " "
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement