Advertisement
taktie0304

Untitled

Jun 1st, 2019
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.49 KB | None | 0 0
  1. on rightclick on iron golem:
  2. open chest with 3 row named "&r売却したい鉱石を選択" to player
  3. format slot 9 of player with stone named "&a石 / 丸石" with lore "&eクリックで売却画面に移動します" to close then run [make player execute command "frligvlbsntilnb"]
  4. format slot 11 of player with coal named "&a石炭 / 石炭ブロック" with lore "&eクリックで売却画面に移動します" to close then run [make player execute command "ubvubslnvshuis"]
  5. format slot 13 of player with iron ingot named "&a鉄 / 鉄ブロック" with lore "&eクリックで売却画面に移動します" to close then run [make player execute command "ilrsbubvslinbs"]
  6. format slot 15 of player with gold ingot named "&a金 / 金ブロック" with lore "&eクリックで売却画面に移動します" to close then run [make player execute command "huilbsluibvlsbd"]
  7. format slot 17 of player with diamond named "&aダイヤモンド" with lore "&eクリックで売却画面に移動します" to close then run [make player execute command "civablnblavbbrre"]
  8.  
  9. command /bhuvabbviuv [<text>] [<text>]:
  10. trigger:
  11. if arg 1 is "stone":
  12. if arg 2 is "one":
  13. if player have 1 stone:
  14. remove 1 stone from player
  15. add 2 to {coin.%uuid of player%}
  16. send "&a石を1個売却し、2コイン手に入れました"
  17. else:
  18. send "&c石が足りません"
  19. if arg 2 is "eight":
  20. if player have 8 stone:
  21. remove 8 stone from player
  22. add 16 to {coin.%uuid of player%}
  23. send "&a石を8個売却し、16コイン手に入れました"
  24. else:
  25. send "&c石が足りません"
  26. if arg 2 is "thirtytwo":
  27. if player have 32 stone:
  28. remove 32 stone from player
  29. add 64 to {coin.%uuid of player%}
  30. send "&a石を32個売却し、64コイン手に入れました"
  31. else:
  32. send "&c石が足りません"
  33. if arg 2 is "sixtyfour":
  34. if player have 64 stone:
  35. remove 64 stone from player
  36. add 128 to {coin.%uuid of player%}
  37. send "&a石を64個売却し、128コイン手に入れました"
  38. else:
  39. send "&c石が足りません"
  40. if arg 1 is "cobblestone":
  41. if arg 2 is "one":
  42. if player have 1 cobblestone:
  43. remove 1 cobblestone from player
  44. add 1 to {coin.%uuid of player%}
  45. send "&a丸石を1個売却し、1コイン手に入れました"
  46. else:
  47. send "&c丸石が足りません"
  48. if arg 2 is "eight":
  49. if player have 8 cobblestone:
  50. remove 8 cobblestone from player
  51. add 8 to {coin.%uuid of player%}
  52. send "&a丸石を8個売却し、8コイン手に入れました"
  53. else:
  54. send "&c丸石が足りません"
  55. if arg 2 is "thirtytwo":
  56. if player have 32 cobblestone:
  57. remove 32 cobblestone from player
  58. add 32 to {coin.%uuid of player%}
  59. send "&a丸石を32個売却し、32コイン手に入れました"
  60. else:
  61. send "&c丸石が足りません"
  62. if arg 2 is "sixtyfour":
  63. if player have 64 cobblestone:
  64. remove 64 cobblestone from player
  65. add 64 to {coin.%uuid of player%}
  66. send "&a丸石を64個売却し、64コイン手に入れました"
  67. else:
  68. send "&c丸石が足りません"
  69. if arg 1 is "coal":
  70. if arg 2 is "one":
  71. if player have 1 coal:
  72. remove 1 coal from player
  73. add 5 to {coin.%uuid of player%}
  74. send "&a石炭を1個売却し、5コイン手に入れました"
  75. else:
  76. send "&c石炭が足りません"
  77. if arg 2 is "eight":
  78. if player have 8 coal:
  79. remove 8 coal from player
  80. add 40 to {coin.%uuid of player%}
  81. send "&a石炭を8個売却し、40コイン手に入れました"
  82. else:
  83. send "&c石炭が足りません"
  84. if arg 2 is "thirtytwo":
  85. if player have 32 coal:
  86. remove 32 coal from player
  87. add 160 to {coin.%uuid of player%}
  88. send "&a石炭を32個売却し、160コイン手に入れました"
  89. else:
  90. send "&c石炭が足りません"
  91. if arg 2 is "sixtyfour":
  92. if player have 64 coal:
  93. remove 64 coal from player
  94. add 320 to {coin.%uuid of player%}
  95. send "&a石炭を64個売却し、320コイン手に入れました"
  96. else:
  97. send "&c石炭が足りません"
  98. if arg 1 is "coalblock":
  99. if arg 2 is "one":
  100. if player have 1 coal block:
  101. remove 1 coal block from player
  102. add 45 to {coin.%uuid of player%}
  103. send "&a石炭ブロックを1個売却し、45コイン手に入れました"
  104. else:
  105. send "&c石炭ブロックが足りません"
  106. if arg 2 is "eight":
  107. if player have 8 coal block:
  108. remove 8 coal block from player
  109. add 360 to {coin.%uuid of player%}
  110. send "&a石炭ブロックを8個売却し、360コイン手に入れました"
  111. else:
  112. send "&c石炭ブロックが足りません"
  113. if arg 2 is "thirtytwo":
  114. if player have 32 coal block:
  115. remove 32 coal block from player
  116. add 1440 to {coin.%uuid of player%}
  117. send "&a石炭ブロックを32個売却し、1440コイン手に入れました"
  118. else:
  119. send "&c石炭ブロックが足りません"
  120. if arg 2 is "sixtyfour":
  121. if player have 64 coal block:
  122. remove 64 coal block from player
  123. add 2880 to {coin.%uuid of player%}
  124. send "&a石炭ブロックを64個売却し、2880コイン手に入れました"
  125. else:
  126. send "&c石炭ブロックが足りません"
  127. if arg 1 is "iron":
  128. if arg 2 is "one":
  129. if player have 1 iron ingot:
  130. remove 1 iron ingot from player
  131. add 45 to {coin.%uuid of player%}
  132. send "&a鉄を1個売却し、45コイン手に入れました"
  133. else:
  134. send "&c鉄が足りません"
  135. if arg 2 is "eight":
  136. if player have 8 iron ingot:
  137. remove 8 iron ingot from player
  138. add 360 to {coin.%uuid of player%}
  139. send "&a鉄を8個売却し、360コイン手に入れました"
  140. else:
  141. send "&c鉄が足りません"
  142. if arg 2 is "thirtytwo":
  143. if player have 32 iron ingot:
  144. remove 32 iron ingot from player
  145. add 1440 to {coin.%uuid of player%}
  146. send "&a鉄を32個売却し、1440コイン手に入れました"
  147. else:
  148. send "&c鉄が足りません"
  149. if arg 2 is "sixtyfour":
  150. if player have 64 iron ingot:
  151. remove 64 iron ingot from player
  152. add 2880 to {coin.%uuid of player%}
  153. send "&a鉄を64個売却し、2880コイン手に入れました"
  154. else:
  155. send "&c鉄が足りません"
  156. if arg 1 is "ironblock":
  157. if arg 2 is "one":
  158. if player have 1 iron block:
  159. remove 1 iron block from player
  160. add 180 to {coin.%uuid of player%}
  161. send "&a鉄ブロックを1個売却し、180コイン手に入れました"
  162. else:
  163. send "&c鉄ブロックが足りません"
  164. if arg 2 is "eight":
  165. if player have 8 iron block:
  166. remove 8 iron block from player
  167. add 1440 to {coin.%uuid of player%}
  168. send "&a鉄ブロックを8個売却し、1440コイン手に入れました"
  169. else:
  170. send "&c鉄ブロックが足りません"
  171. if arg 2 is "thirtytwo":
  172. if player have 32 iron block:
  173. remove 32 iron block from player
  174. add 5760 to {coin.%uuid of player%}
  175. send "&a鉄ブロックを32個売却し、5760コイン手に入れました"
  176. else:
  177. send "&c鉄ブロックが足りません"
  178. if arg 2 is "sixtyfour":
  179. if player have 64 iron block:
  180. remove 64 iron block from player
  181. add 11520 to {coin.%uuid of player%}
  182. send "&a鉄ブロックを64個売却し、11520コイン手に入れました"
  183. else:
  184. send "&c鉄ブロックが足りません"
  185. if arg 1 is "gold":
  186. if arg 2 is "one":
  187. if player have 1 gold ingot:
  188. remove 1 gold ingot from player
  189. add 80 to {coin.%uuid of player%}
  190. send "&a金を1個売却し、80コイン手に入れました"
  191. else:
  192. send "&c金が足りません"
  193. if arg 2 is "eight":
  194. if player have 8 gold ingot:
  195. remove 8 gold ingot from player
  196. add 640 to {coin.%uuid of player%}
  197. send "&a金を8個売却し、640コイン手に入れました"
  198. else:
  199. send "&c金が足りません"
  200. if arg 2 is "thirtytwo":
  201. if player have 32 gold ingot:
  202. remove 32 gold ingot from player
  203. add 2560 to {coin.%uuid of player%}
  204. send "&a金を32個売却し、2560コイン手に入れました"
  205. else:
  206. send "&c金が足りません"
  207. if arg 2 is "sixtyfour":
  208. if player have 64 gold ingot:
  209. remove 64 gold ingot from player
  210. add 5120 to {coin.%uuid of player%}
  211. send "&a金を64個売却し、5120コイン手に入れました"
  212. else:
  213. send "&c金が足りません"
  214. if arg 1 is "goldblock":
  215. if arg 2 is "one":
  216. if player have 1 gold block:
  217. remove 1 gold block from player
  218. add 720 to {coin.%uuid of player%}
  219. send "&a金ブロックを1個売却し、720コイン手に入れました"
  220. else:
  221. send "&c金ブロックが足りません"
  222. if arg 2 is "eight":
  223. if player have 8 gold block:
  224. remove 8 gold block from player
  225. add 5760 to {coin.%uuid of player%}
  226. send "&a金ブロックを8個売却し、5760コイン手に入れました"
  227. else:
  228. send "&c金ブロックが足りません"
  229. if arg 2 is "thirtytwo":
  230. if player have 32 gold block:
  231. remove 32 gold block from player
  232. add 23040 to {coin.%uuid of player%}
  233. send "&a金ブロックを32個売却し、23040コイン手に入れました"
  234. else:
  235. send "&c金ブロックが足りません"
  236. if arg 2 is "sixtyfour":
  237. if player have 64 gold block:
  238. remove 64 gold block from player
  239. add 46080 to {coin.%uuid of player%}
  240. send "&a金ブロックを64個売却し、46080コイン手に入れました"
  241. else:
  242. send "&c金ブロックが足りません"
  243. if arg 1 is "diamond":
  244. if arg 2 is "one":
  245. if player have 1 diamond:
  246. remove 1 diamond from player
  247. add 320 to {coin.%uuid of player%}
  248. send "&aダイヤモンドを1個売却し、320コイン手に入れました"
  249. else:
  250. send "&cダイヤモンドが足りません"
  251. if arg 2 is "eight":
  252. if player have 8 diamond:
  253. remove 8 diamond from player
  254. add 2560 to {coin.%uuid of player%}
  255. send "&aダイヤモンドを8個売却し、2560コイン手に入れました"
  256. else:
  257. send "&cダイヤモンドが足りません"
  258. if arg 2 is "thirtytwo":
  259. if player have 32 diamond:
  260. remove 32 diamond from player
  261. add 10240 to {coin.%uuid of player%}
  262. send "&aダイヤモンドを32個売却し、10240コイン手に入れました"
  263. else:
  264. send "&cダイヤモンドが足りません"
  265. if arg 2 is "sixtyfour":
  266. if player have 64 diamond:
  267. remove 64 diamond from player
  268. add 20480 to {coin.%uuid of player%}
  269. send "&aダイヤモンドを64個売却し、20480コイン手に入れました"
  270. else:
  271. send "&cダイヤモンドが足りません"
  272.  
  273. command /frligvlbsntilnb:
  274. trigger:
  275. wait 3 ticks
  276. open chest with 3 row named "&r石 / 丸石 を売却" to player
  277. format slot 1 of player with stone named "&a石を1個売却" with lore "&eクリックで1個2コインで売却します" to run [make player execute command "bhuvabbviuv stone one"]
  278. format slot 3 of player with 8 stone named "&a石を8個売却" with lore "&eクリックで8個16コインで売却します" to run [make player execute command "bhuvabbviuv stone eight"]
  279. format slot 5 of player with 32 stone named "&a石を32個売却" with lore "&eクリックで32個64コインで売却します" to run [make player execute command "bhuvabbviuv stone thirtytwo"]
  280. format slot 7 of player with 64 stone named "&a石を64個売却" with lore "&eクリックで64個128コインで売却します" to run [make player execute command "bhuvabbviuv stone sixtyfour"]
  281. format slot 19 of player with cobblestone named "&a丸石を1個売却" with lore "&eクリックで1個1コインで売却します" to run [make player execute command "bhuvabbviuv cobblestone one"]
  282. format slot 21 of player with 8 cobblestone named "&a丸石を8個売却" with lore "&eクリックで8個8コインで売却します" to run [make player execute command "bhuvabbviuv cobblestone eight"]
  283. format slot 23 of player with 32 cobblestone named "&a丸石を32個売却" with lore "&eクリックで32個32コインで売却します" to run [make player execute command "bhuvabbviuv cobblestone thirtytwo"]
  284. format slot 25 of player with 64 cobblestone named "&a丸石を64個売却" with lore "&eクリックで64個64コインで売却します" to run [make player execute command "bhuvabbviuv cobblestone sixtyfour"]
  285.  
  286. command /ubvubslnvshuis:
  287. trigger:
  288. wait 3 ticks
  289. open chest with 3 row named "&r石炭 / 石炭ブロック を売却" to player
  290. format slot 1 of player with coal named "&a石炭を1個売却" with lore "&eクリックで1個5コインで売却します" to run [make player execute command "bhuvabbviuv coal one"]
  291. format slot 3 of player with 8 coal named "&a石炭を8個売却" with lore "&eクリックで8個40コインで売却します" to run [make player execute command "bhuvabbviuv coal eight"]
  292. format slot 5 of player with 32 coal named "&a石炭を32個売却" with lore "&eクリックで32個160コインで売却します" to run [make player execute command "bhuvabbviuv coal thirtytwo"]
  293. format slot 7 of player with 64 coal named "&a石炭を64個売却" with lore "&eクリックで64個320コインで売却します" to run [make player execute command "bhuvabbviuv coal sixtyfour"]
  294. format slot 19 of player with coal block named "&a石炭ブロックを1個売却" with lore "&eクリックで1個45コインで売却します" to run [make player execute command "bhuvabbviuv coalblock one"]
  295. format slot 21 of player with 8 coal block named "&a石炭ブロックを8個売却" with lore "&eクリックで8個360コインで売却します" to run [make player execute command "bhuvabbviuv coalblock eight"]
  296. format slot 23 of player with 32 coal block named "&a石炭ブロックを32個売却" with lore "&eクリックで32個1440コインで売却します" to run [make player execute command "bhuvabbviuv coalblock thirtytwo"]
  297. format slot 25 of player with 64 coal block named "&a石炭ブロックを64個売却" with lore "&eクリックで64個2880コインで売却します" to run [make player execute command "bhuvabbviuv coalblock sixtyfour"]
  298.  
  299. command /ilrsbubvslinbs:
  300. trigger:
  301. wait 3 ticks
  302. open chest with 3 row named "&r鉄 / 鉄ブロック を売却" to player
  303. format slot 1 of player with iron ingot named "&a鉄を1個売却" with lore "&eクリックで1個20コインで売却します" to run [make player execute command "bhuvabbviuv iron one"]
  304. format slot 3 of player with 8 iron ingot named "&a鉄を8個売却" with lore "&eクリックで8個160コインで売却します" to run [make player execute command "bhuvabbviuv iron eight"]
  305. format slot 5 of player with 32 iron ingot named "&a鉄を32個売却" with lore "&eクリックで32個640コインで売却します" to run [make player execute command "bhuvabbviuv iron thirtytwo"]
  306. format slot 7 of player with 64 iron ingot named "&a鉄を64個売却" with lore "&eクリックで64個1280コインで売却します" to run [make player execute command "bhuvabbviuv iron sixtyfour"]
  307. format slot 19 of player with iron block named "&a鉄ブロックを1個売却" with lore "&eクリックで1個180コインで売却します" to run [make player execute command "bhuvabbviuv ironblock one"]
  308. format slot 21 of player with 8 iron block named "&a鉄ブロックを8個売却" with lore "&eクリックで8個1440コインで売却します" to run [make player execute command "bhuvabbviuv ironblock eight"]
  309. format slot 23 of player with 32 iron block named "&a鉄ブロックを32個売却" with lore "&eクリックで32個5760コインで売却します" to run [make player execute command "bhuvabbviuv ironblock thirtytwo"]
  310. format slot 25 of player with 64 iron block named "&a鉄ブロックを64個売却" with lore "&eクリックで64個11520コインで売却します" to run [make player execute command "bhuvabbviuv ironblock sixtyfour"]
  311.  
  312. command /huilbsluibvlsbd:
  313. trigger:
  314. wait 3 ticks
  315. open chest with 3 row named "&r金 / 金ブロック を売却" to player
  316. format slot 1 of player with gold ingot named "&a金を1個売却" with lore "&eクリックで1個80コインで売却します" to run [make player execute command "bhuvabbviuv gold one"]
  317. format slot 3 of player with 8 gold ingot named "&a金を8個売却" with lore "&eクリックで8個640コインで売却します" to run [make player execute command "bhuvabbviuv gold eight"]
  318. format slot 5 of player with 32 gold ingot named "&a金を32個売却" with lore "&eクリックで32個2560コインで売却します" to run [make player execute command "bhuvabbviuv gold thirtytwo"]
  319. format slot 7 of player with 64 gold ingot named "&a金を64個売却" with lore "&eクリックで64個5120コインで売却します" to run [make player execute command "bhuvabbviuv gold sixtyfour"]
  320. format slot 19 of player with gold block named "&a金ブロックを1個売却" with lore "&eクリックで1個720コインで売却します" to run [make player execute command "bhuvabbviuv goldblock one"]
  321. format slot 21 of player with 8 gold block named "&a金ブロックを8個売却" with lore "&eクリックで8個5760コインで売却します" to run [make player execute command "bhuvabbviuv goldblock eight"]
  322. format slot 23 of player with 32 gold block named "&a金ブロックを32個売却" with lore "&eクリックで32個23040コインで売却します" to run [make player execute command "bhuvabbviuv goldblock thirtytwo"]
  323. format slot 25 of player with 64 gold block named "&a金ブロックを64個売却" with lore "&eクリックで64個46080コインで売却します" to run [make player execute command "bhuvabbviuv goldblock sixtyfour"]
  324.  
  325. command /civablnblavbbrre:
  326. trigger:
  327. wait 3 ticks
  328. open chest with 3 row named "&rダイヤモンド を売却" to player
  329. format slot 10 of player with diamond named "&aダイヤモンドを1個売却" with lore "&eクリックで1個320コインで売却します" to run [make player execute command "bhuvabbviuv diamond one"]
  330. format slot 12 of player with 8 diamond named "&aダイヤモンドを8個売却" with lore "&eクリックで8個2560コインで売却します" to run [make player execute command "bhuvabbviuv diamond eight"]
  331. format slot 14 of player with 32 diamond named "&aダイヤモンドを32個売却" with lore "&eクリックで32個10240コインで売却します" to run [make player execute command "bhuvabbviuv diamond thirtytwo"]
  332. format slot 16 of player with 64 diamond named "&aダイヤモンド64個売却" with lore "&eクリックで64個20480コインで売却します" to run [make player execute command "bhuvabbviuv diamond sixtyfour"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement