Advertisement
Guest User

Buy Koteh

a guest
Sep 22nd, 2019
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.84 KB | None | 0 0
  1. options:
  2. p: &8[ &5&lKS &f &5&lBUYCRAFT &8]
  3.  
  4.  
  5.  
  6. command /buy:
  7. trigger:
  8. wait 3 ticks
  9.  
  10. open chest with 3 rows named "{@p}" to player
  11.  
  12. wait 3 ticks
  13.  
  14. format slot 0 of player with iron bar named "{@p}" to be unstealable
  15.  
  16. wait 1 tick
  17.  
  18. format slot 1 of player with iron bar named "{@p}" to be unstealable
  19.  
  20. wait 1 tick
  21.  
  22. format slot 2 of player with iron bar named "{@p}" to be unstealable
  23.  
  24. wait 1 tick
  25.  
  26. format slot 3 of player with iron bar named "{@p}" to be unstealable
  27.  
  28. wait 1 tick
  29.  
  30. format slot 4 of player with iron bar named "{@p}" to be unstealable
  31.  
  32. wait 1 tick
  33.  
  34. format slot 5 of player with iron bar named "{@p}" to be unstealable
  35.  
  36. wait 1 tick
  37.  
  38. format slot 6 of player with iron bar named "{@p}" to be unstealable
  39.  
  40. wait 1 tick
  41.  
  42. format slot 7 of player with iron bar named "{@p}" to be unstealable
  43.  
  44. wait 1 tick
  45.  
  46. format slot 8 of player with iron bar named "{@p}" to be unstealable
  47.  
  48. wait 1 tick
  49.  
  50. format slot 9 of player with iron bar named "{@p}" to be unstealable
  51.  
  52. wait 1 tick
  53.  
  54. format slot 17 of player with iron bars named "{@p}" to be unstealable
  55.  
  56. wait 1 tick
  57.  
  58. format slot 18 of player with iron bars named "{@p}" to be unstealable
  59.  
  60. wait 1 tick
  61.  
  62. format slot 19 of player with iron bars named "{@p}" to be unstealable
  63.  
  64. wait 1 tick
  65.  
  66. format slot 20 of player with iron bars named "{@p}" to be unstealable
  67.  
  68. wait 1 tick
  69.  
  70. format slot 21 of player with iron bars named "{@p}" to be unstealable
  71.  
  72. wait 1 tick
  73.  
  74. format slot 22 of player with iron bars named "{@p}" to be unstealable
  75.  
  76. wait 1 tick
  77.  
  78. format slot 23 of player with iron bars named "{@p}" to be unstealable
  79.  
  80. wait 1 tick
  81.  
  82. format slot 24 of player with iron bars named "{@p}" to be unstealable
  83.  
  84. wait 1 tick
  85.  
  86. format slot 25 of player with iron bars named "{@p}" to be unstealable
  87.  
  88. wait 1 tick
  89.  
  90. format slot 26 of player with iron bars named "{@p}" to be unstealable
  91.  
  92. wait 1 tick
  93.  
  94. format slot 11 of player with book named "{@p} &7Ranks" to close then run [make player execute command "/buyranks"]
  95.  
  96. wait 1 tick
  97.  
  98. format slot 13 of player with chest named "{@p} &7Kits" to close then run [make player execute command "/buykits"]
  99.  
  100. wait 1 tick
  101.  
  102. format slot 15 of player with paper named "{@p} &7Penge" to close then run [make player execute command "/buypenge"]
  103.  
  104. stop
  105.  
  106. command /buyranks:
  107. trigger:
  108. open chest with 3 rows named "{@p}" to player
  109. format slot 10 of player with book named "{@p} &7Vip" with lore "&7Koster 1.000 ems!" to close then run [make player execute command "VIP"]
  110. format slot 12 of player with book named "{@p} &7Mvp" with lore "&7Koster 2.000 ems!" to close then run [make player execute command "MVP"]
  111. format slot 14 of player with book named "{@p} &7Mvp+" with lore "&7Koster 3.000 ems!" to close then run [make player execute command "MVP+"]
  112. format slot 16 of player with book named "{@p} &7C-Vagt" with lore "&7Koster 5.000 ems!" to close then run [make player execute command "VAGT"]
  113.  
  114.  
  115. command /buykits:
  116. trigger:
  117. open chest with 3 rows named "{@p}" to player
  118. format slot 10 of player with book named "{@p} &7Farmer" lore "&7Koster 1.500 ems!" to close then run [make player execute command "FARMER"]
  119. format slot 12 of player with book named "{@p} &7Miner" with lore "&7Koster 1.500 ems!" to close then run [make player execute command "MINER"]
  120. format slot 12 of player with book named "{@p} &7Gambler" with lore "&7Koster 1.500 ems!" to close then run [make player execute command "GAMBLER"]
  121. stop
  122.  
  123. command /buypenge:
  124. trigger:
  125. open chest with 3 rows named "{@p}" to player
  126. format slot 10 of player with book named "{@p} &71.000$" with lore "&7Koster 500 ems!" to close then run [make player execute command "1k"]
  127. format slot 12 of player with book named "{@p} &75.000$" with lore "&7Koster 1.000 ems!" to close then run [make player execute command "5k"]
  128. format slot 12 of player with book named "{@p} &715.000$" with lore "&7Koster 2.000 ems!" to close then run [make player execute command "15k"]
  129. stop
  130.  
  131. command /givkøb [<player>] [<text>]:
  132. permission: givkøb.sk
  133. permission message: &cDu har ikke adgang til denne komando!
  134. trigger:
  135. if arg-1 is set:
  136. if arg-2 is "Vip":
  137. make console execute command "/manuaddp %arg-1% essentials.kit.vip"
  138. make console execute command "/manuaddp %arg-1% essentials.kits.vip"
  139. make console execute command "/manuaddp %arg-1% essentials.kit"
  140. make console execute command "/manuaddp %arg-1% essentials.kits"
  141. make console execute command "/manuadd %arg-1% Vip"
  142. broadcast "&5&lKS &f- &5&lPPRISON &8>> &7%arg-1% har lige modtaget sin &8(&bVip&8) &7Rank!"
  143. else:
  144. if arg-2 is "Mvp":
  145. make console execute command "/manuaddp %arg-1% essentials.kit.mvp"
  146. make console execute command "/manuaddp %arg-1% essentials.kits.mvp"
  147. make console execute command "/manuaddp %arg-1% essentials.kit"
  148. make console execute command "/manuaddp %arg-1% essentials.kits"
  149. make console execute command "/manuadd %arg-1% Mvp"
  150. broadcast "&5&lKS &f- &5&lPPRISON &8>> &7%arg-1% har lige modtaget sin &8(&aMvp&8) &7Rank!"
  151. else:
  152. if arg-2 is "Mvp+":
  153. make console execute command "/manuaddp %arg-1% essentials.kit.mvp+"
  154. make console execute command "/manuaddp %arg-1% essentials.kits.mvp+"
  155. make console execute command "/manuaddp %arg-1% essentials.kit"
  156. make console execute command "/manuaddp %arg-1% essentials.kits"
  157. make console execute command "/manuadd %arg-1% Mvp+"
  158. broadcast "&5&lKS &f- &5&lPPRISON &8>> &7%arg-1% har lige modtaget sin &8(&6Mvp+&8) &7Rank!"
  159. else:
  160. if arg-2 is "C-Vagt":
  161. make console execute command "/manuaddp %arg-1% essentials.kit.C-vagt"
  162. make console execute command "/manuaddp %arg-1% essentials.kits.C-vagt"
  163. make console execute command "/manuaddp %arg-1% essentials.kit"
  164. make console execute command "/manuaddp %arg-1% essentials.kits"
  165. make console execute command "/manuadd %arg-1% C-Vagt"
  166. broadcast "&5&lKS &f- &5&lPPRISON &8>> &7%arg-1% har lige modtaget sin &8(&cC-Vagt&8) &7Rank!"
  167. else:
  168. if arg-2 is "Farmer":
  169. make console execute command "/manuaddp %arg-1% essentials.kit.Farmer"
  170. make console execute command "/manuaddp %arg-1% essentials.kits.Farmer"
  171. make console execute command "/manuaddp %arg-1% essentials.kit"
  172. make console execute command "/manuaddp %arg-1% essentials.kits"
  173. broadcast "&5&lKS &f- &5&lPPRISON &8>> &7%arg-1% har lige modtaget sit Kit &aFarmer&7!"
  174. else:
  175. if arg-2 is "Miner":
  176. make console execute command "/manuaddp %arg-1% essentials.kit.Miner"
  177. make console execute command "/manuaddp %arg-1% essentials.kits.Miner"
  178. make console execute command "/manuaddp %arg-1% essentials.kit"
  179. make console execute command "/manuaddp %arg-1% essentials.kits"
  180. broadcast "&5&lKS &f- &5&lPPRISON &8>> &7%arg-1% har lige modtaget sit Kit &8Miner&7!"
  181. else:
  182. if arg-2 is "Gambler":
  183. make console execute command "/manuaddp %arg-1% essentials.kit.Gambler"
  184. make console execute command "/manuaddp %arg-1% essentials.kits.Gambler"
  185. make console execute command "/manuaddp %arg-1% essentials.kit"
  186. make console execute command "/manuaddp %arg-1% essentials.kits"
  187. broadcast "&5&lKS &f- &5&lPPRISON &8>> &7%arg-1% har lige modtaget sit Kit &6Gambler&7!"
  188. else:
  189. if arg-2 is "tusinde":
  190. make console execute command "/eco give %arg-1% 1000"
  191. broadcast "&5&lKS &f- &5&lPPRISON &8>> &7%arg-1% har lige modtaget sine &a1000$&7!"
  192. else:
  193. if arg-2 is "femtusinde":
  194. make console execute command "/eco give %arg-1% 5000"
  195. broadcast "&5&lKS &f- &5&lPPRISON &8>> &7%arg-1% har lige modtaget sine &a5000$&7!"
  196. else:
  197. if arg-2 is "femtentusinde":
  198. make console execute command "/eco give %arg-1% 15000"
  199. broadcast "&5&lKS &f- &5&lPPRISON &8>> &7%arg-1% har lige modtaget sine &a15000$&7!"
  200. else:
  201. send "&cDu har ikke valgt en at give sit/sine køb"
  202.  
  203.  
  204. command /VIP:
  205. trigger:
  206. broadcast "{@p} &8&m--&8> &7Spilleren &c%player% &7vil gerne købe rank &cVIP&7! Dette vil koste &c1.000 &7ems i en lobby."
  207. command /MVP:
  208. trigger:
  209. broadcast "{@p} &8&m--&8> &7Spilleren &c%player% &7vil gerne købe rank &cMVP&7! Dette vil koste &c2.000 &7ems i en lobby."
  210. command /MVP+:
  211. trigger:
  212. broadcast "{@p} &8&m--&8> &7Spilleren &c%player% &7vil gerne købe rank &cMVP+&7! Dette vil koste &c3.000 &7ems i en lobby."
  213. command /VAGT:
  214. trigger:
  215. broadcast "{@p} &8&m--&8> &7Spilleren &c%player% &7vil gerne købe rank &cVAGT&7! Dette vil koste &c5.000 &7ems i en lobby."
  216. command /FARMER:
  217. trigger:
  218. broadcast "{@p} &8&m--&8> &7Spilleren &c%player% &7vil gerne købe kit &cFARMER&7! Dette vil koste &c1.500 &7ems i en lobby."
  219. command /GAMBLER:
  220. trigger:
  221. broadcast "{@p} &8&m--&8> &7Spilleren &c%player% &7vil gerne købe kit &cGAMBLER&7! Dette vil koste &c1.500 &7ems i en lobby."
  222. command /MINER:
  223. trigger:
  224. broadcast "{@p} &8&m--&8> &7Spilleren &c%player% &7vil gerne købe kit &cMINER&7! Dette vil koste &c1.500 &7ems i en lobby."
  225. command /1k:
  226. trigger:
  227. broadcast "{@p} &8&m--&8> &7Spilleren &c%player% &7vil gerne købe &c1k&7$! Dette vil koste &c500 &7ems i en lobby."
  228. command /5k:
  229. trigger:
  230. broadcast "{@p} &8&m--&8> &7Spilleren &c%player% &7vil gerne købe &c5k&7$! Dette vil koste &c1.000 &7ems i en lobby."
  231. command /15k:
  232. trigger:
  233. broadcast "{@p} &8&m--&8> &7Spilleren &c%player% &7vil gerne købe &c15k&7$! Dette vil koste &c2.000 &7ems i en lobby."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement