Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2019
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.96 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. wait 3 ticks
  118. open chest with 3 rows named "{@p}" to player
  119. format slot 10 of player with book named "{@p} &7Farmer" lore "&7Koster 1.500 ems!" to close then run [make player execute command "FARMER"]
  120. 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"]
  121. 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"]
  122. stop
  123.  
  124. command /buypenge:
  125. trigger:
  126. wait 3 ticks
  127. open chest with 3 rows named "{@p}" to player
  128. 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"]
  129. 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"]
  130. 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"]
  131. stop
  132.  
  133. command /givkøb [<player>] [<text>]:
  134. permission: givkøb.sk
  135. permission message: &cDu har ikke adgang til denne komando!
  136. trigger:
  137. if arg-1 is set:
  138. if arg-2 is "Vip":
  139. make console execute command "/manuaddp %arg-1% essentials.kit.vip"
  140. make console execute command "/manuaddp %arg-1% essentials.kits.vip"
  141. make console execute command "/manuaddp %arg-1% essentials.kit"
  142. make console execute command "/manuaddp %arg-1% essentials.kits"
  143. make console execute command "/manuadd %arg-1% Vip"
  144. broadcast "&5&lKS &f- &5&lPPRISON &8>> &7%arg-1% har lige modtaget sin &8(&bVip&8) &7Rank!"
  145. else:
  146. if arg-2 is "Mvp":
  147. make console execute command "/manuaddp %arg-1% essentials.kit.mvp"
  148. make console execute command "/manuaddp %arg-1% essentials.kits.mvp"
  149. make console execute command "/manuaddp %arg-1% essentials.kit"
  150. make console execute command "/manuaddp %arg-1% essentials.kits"
  151. make console execute command "/manuadd %arg-1% Mvp"
  152. broadcast "&5&lKS &f- &5&lPPRISON &8>> &7%arg-1% har lige modtaget sin &8(&aMvp&8) &7Rank!"
  153. else:
  154. if arg-2 is "Mvp+":
  155. make console execute command "/manuaddp %arg-1% essentials.kit.mvp+"
  156. make console execute command "/manuaddp %arg-1% essentials.kits.mvp+"
  157. make console execute command "/manuaddp %arg-1% essentials.kit"
  158. make console execute command "/manuaddp %arg-1% essentials.kits"
  159. make console execute command "/manuadd %arg-1% Mvp+"
  160. broadcast "&5&lKS &f- &5&lPPRISON &8>> &7%arg-1% har lige modtaget sin &8(&6Mvp+&8) &7Rank!"
  161. else:
  162. if arg-2 is "C-Vagt":
  163. make console execute command "/manuaddp %arg-1% essentials.kit.C-vagt"
  164. make console execute command "/manuaddp %arg-1% essentials.kits.C-vagt"
  165. make console execute command "/manuaddp %arg-1% essentials.kit"
  166. make console execute command "/manuaddp %arg-1% essentials.kits"
  167. make console execute command "/manuadd %arg-1% C-Vagt"
  168. broadcast "&5&lKS &f- &5&lPPRISON &8>> &7%arg-1% har lige modtaget sin &8(&cC-Vagt&8) &7Rank!"
  169. else:
  170. if arg-2 is "Farmer":
  171. make console execute command "/manuaddp %arg-1% essentials.kit.Farmer"
  172. make console execute command "/manuaddp %arg-1% essentials.kits.Farmer"
  173. make console execute command "/manuaddp %arg-1% essentials.kit"
  174. make console execute command "/manuaddp %arg-1% essentials.kits"
  175. broadcast "&5&lKS &f- &5&lPPRISON &8>> &7%arg-1% har lige modtaget sit Kit &aFarmer&7!"
  176. else:
  177. if arg-2 is "Miner":
  178. make console execute command "/manuaddp %arg-1% essentials.kit.Miner"
  179. make console execute command "/manuaddp %arg-1% essentials.kits.Miner"
  180. make console execute command "/manuaddp %arg-1% essentials.kit"
  181. make console execute command "/manuaddp %arg-1% essentials.kits"
  182. broadcast "&5&lKS &f- &5&lPPRISON &8>> &7%arg-1% har lige modtaget sit Kit &8Miner&7!"
  183. else:
  184. if arg-2 is "Gambler":
  185. make console execute command "/manuaddp %arg-1% essentials.kit.Gambler"
  186. make console execute command "/manuaddp %arg-1% essentials.kits.Gambler"
  187. make console execute command "/manuaddp %arg-1% essentials.kit"
  188. make console execute command "/manuaddp %arg-1% essentials.kits"
  189. broadcast "&5&lKS &f- &5&lPPRISON &8>> &7%arg-1% har lige modtaget sit Kit &6Gambler&7!"
  190. else:
  191. if arg-2 is "tusinde":
  192. make console execute command "/eco give %arg-1% 1000"
  193. broadcast "&5&lKS &f- &5&lPPRISON &8>> &7%arg-1% har lige modtaget sine &a1000$&7!"
  194. else:
  195. if arg-2 is "femtusinde":
  196. make console execute command "/eco give %arg-1% 5000"
  197. broadcast "&5&lKS &f- &5&lPPRISON &8>> &7%arg-1% har lige modtaget sine &a5000$&7!"
  198. else:
  199. if arg-2 is "femtentusinde":
  200. make console execute command "/eco give %arg-1% 15000"
  201. broadcast "&5&lKS &f- &5&lPPRISON &8>> &7%arg-1% har lige modtaget sine &a15000$&7!"
  202. else:
  203. send "&cDu har ikke valgt en at give sit/sine køb"
  204.  
  205.  
  206. command /VIP:
  207. trigger:
  208. broadcast "{@p} &8&m--&8> &7Spilleren &c%player% &7vil gerne købe rank &cVIP&7! Dette vil koste &c1.000 &7ems i en lobby."
  209. command /MVP:
  210. trigger:
  211. broadcast "{@p} &8&m--&8> &7Spilleren &c%player% &7vil gerne købe rank &cMVP&7! Dette vil koste &c2.000 &7ems i en lobby."
  212. command /MVP+:
  213. trigger:
  214. broadcast "{@p} &8&m--&8> &7Spilleren &c%player% &7vil gerne købe rank &cMVP+&7! Dette vil koste &c3.000 &7ems i en lobby."
  215. command /VAGT:
  216. trigger:
  217. broadcast "{@p} &8&m--&8> &7Spilleren &c%player% &7vil gerne købe rank &cVAGT&7! Dette vil koste &c5.000 &7ems i en lobby."
  218. command /FARMER:
  219. trigger:
  220. broadcast "{@p} &8&m--&8> &7Spilleren &c%player% &7vil gerne købe kit &cFARMER&7! Dette vil koste &c1.500 &7ems i en lobby."
  221. command /GAMBLER:
  222. trigger:
  223. broadcast "{@p} &8&m--&8> &7Spilleren &c%player% &7vil gerne købe kit &cGAMBLER&7! Dette vil koste &c1.500 &7ems i en lobby."
  224. command /MINER:
  225. trigger:
  226. broadcast "{@p} &8&m--&8> &7Spilleren &c%player% &7vil gerne købe kit &cMINER&7! Dette vil koste &c1.500 &7ems i en lobby."
  227. command /1k:
  228. trigger:
  229. broadcast "{@p} &8&m--&8> &7Spilleren &c%player% &7vil gerne købe &c1k&7$! Dette vil koste &c500 &7ems i en lobby."
  230. command /5k:
  231. trigger:
  232. broadcast "{@p} &8&m--&8> &7Spilleren &c%player% &7vil gerne købe &c5k&7$! Dette vil koste &c1.000 &7ems i en lobby."
  233. command /15k:
  234. trigger:
  235. 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