Advertisement
Guest User

Untitled

a guest
Apr 21st, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 31.03 KB | None | 0 0
  1. command /warp:
  2. trigger:
  3. open chest with 6 rows named "&3&lWarps" to player
  4. wait 3 ticks
  5. If player has permission "Default" or "A":
  6. format slot 0 of player with green glass named "&3Warp » &bA" with lore "||&bAdgang: &a%{adgang.rankA.%player%}%||" to close then run [ execute console command "/agf %player% A"]
  7. Else:
  8. format slot 0 of player with red glass named "&3Warp » &bA" with lore "||&bAdgang: &c%{adgang.rankA.%player%}%||" to close then run [ execute console command "/agf %player% NONA"]
  9. If player has permission "B":
  10. format slot 1 of player with green glass named "&3Warp » &bB" with lore "||&bAdgang: &a%{adgang.rankB.%player%}%||" to close then run [ execute console command "/agf %player% B"]
  11. Else:
  12. format slot 1 of player with red glass named "&3Warp » &bB" with lore "||&bAdgang: &c%{adgang.rankB.%player%}%||" to close then run [ execute console command "/agf %player% NONB"]
  13. If player has permission "C":
  14. format slot 2 of player with green glass named "&3Warp » &bC" with lore "||&bAdgang: &a%{adgang.rankC.%player%}%||" to close then run [ execute console command "/agf %player% C"]
  15. Else:
  16. format slot 2 of player with red glass named "&3Warp » &bC" with lore "||&bAdgang: &c%{adgang.rankC.%player%}%||" to close then run [ execute console command "/agf %player% NONC"]
  17. If player has permission "D":
  18. format slot 3 of player with green glass named "&3Warp » &bD" with lore "||&bAdgang: &a%{adgang.rankD.%player%}%||" to close then run [ execute console command "/agf %player% D"]
  19. Else:
  20. format slot 3 of player with red glass named "&3Warp » &bD" with lore "||&bAdgang: &c%{adgang.rankD.%player%}%||" to close then run [ execute console command "/agf %player% NOND"]
  21. If player has permission "E":
  22. format slot 4 of player with green glass named "&3Warp » &bE" with lore "||&bAdgang: &a%{adgang.rankE.%player%}%||" to close then run [ execute console command "/agf %player% E"]
  23. Else:
  24. format slot 4 of player with red glass named "&3Warp » &bE" with lore "||&bAdgang: &c%{adgang.rankE.%player%}%||" to close then run [ execute console command "/agf %player% NONE"]
  25. If player has permission "F":
  26. format slot 5 of player with green glass named "&3Warp » &bF" with lore "||&bAdgang: &a%{adgang.rankF.%player%}%||" to close then run [ execute console command "/agf %player% F"]
  27. Else:
  28. format slot 5 of player with red glass named "&3Warp » &bF" with lore "||&bAdgang: &c%{adgang.rankF.%player%}%||" to close then run [ execute console command "/agf %player% NONF"]
  29. If player has permission "G":
  30. format slot 6 of player with green glass named "&3Warp » &bG" with lore "||&bAdgang: &a%{adgang.rankG.%player%}%||" to close then run [ execute console command "/agf %player% G"]
  31. Else:
  32. format slot 6 of player with red glass named "&3Warp » &bG" with lore "||&bAdgang: &c%{adgang.rankG.%player%}%||" to close then run [ execute console command "/agf %player% NONG"]
  33. If player has permission "H":
  34. format slot 7 of player with green glass named "&3Warp » &bH" with lore "||&bAdgang: &a%{adgang.rankH.%player%}%||" to close then run [ execute console command "/agf %player% H"]
  35. Else:
  36. format slot 7 of player with red glass named "&3Warp » &bH" with lore "||&bAdgang: &c%{adgang.rankH.%player%}%||" to close then run [ execute console command "/agf %player% NONH"]
  37. If player has permission "I":
  38. format slot 8 of player with green glass named "&3Warp » &bI" with lore "||&bAdgang: &a%{adgang.rankI.%player%}%||" to close then run [ execute console command "/agf %player% I"]
  39. Else:
  40. format slot 8 of player with red glass named "&3Warp » &bI" with lore "||&bAdgang: &c%{adgang.rankI.%player%}%||" to close then run [ execute console command "/agf %player% NONI"]
  41. If player has permission "J":
  42. format slot 9 of player with green glass named "&3Warp » &bJ" with lore "||&bAdgang: &a%{adgang.rankJ.%player%}%||" to close then run [ execute console command "/agf %player% J"]
  43. Else:
  44. format slot 9 of player with red glass named "&3Warp » &bJ" with lore "||&bAdgang: &c%{adgang.rankJ.%player%}%||" to close then run [ execute console command "/agf %player% NONJ"]
  45. If player has permission "K":
  46. format slot 10 of player with green glass named "&3Warp » &bK" with lore "||&bAdgang: &a%{adgang.rankK.%player%}%||" to close then run [ execute console command "/agf %player% K"]
  47. Else:
  48. format slot 10 of player with red glass named "&3Warp » &bK" with lore "||&bAdgang: &c%{adgang.rankK.%player%}%||" to close then run [ execute console command "/agf %player% NONK"]
  49. If player has permission "L":
  50. format slot 11 of player with green glass named "&3Warp » &bL" with lore "||&bAdgang: &a%{adgang.rankL.%player%}%||" to close then run [ execute console command "/agf %player% L"]
  51. Else:
  52. format slot 11 of player with red glass named "&3Warp » &bL" with lore "||&bAdgang: &c%{adgang.rankL.%player%}%||" to close then run [ execute console command "/agf %player% NONL"]
  53. If player has permission "M":
  54. format slot 12 of player with green glass named "&3Warp » &bM" with lore "||&bAdgang: &a%{adgang.rankM.%player%}%||" to close then run [ execute console command "/agf %player% M"]
  55. Else:
  56. format slot 12 of player with red glass named "&3Warp » &bM" with lore "||&bAdgang: &c%{adgang.rankM.%player%}%||" to close then run [ execute console command "/agf %player% NONM"]
  57. If player has permission "N":
  58. format slot 13 of player with green glass named "&3Warp » &bN" with lore "||&bAdgang: &a%{adgang.rankN.%player%}%||" to close then run [ execute console command "/agf %player% N"]
  59. Else:
  60. format slot 13 of player with red glass named "&3Warp » &bN" with lore "||&bAdgang: &c%{adgang.rankN.%player%}%||" to close then run [ execute console command "/agf %player% NONN"]
  61. If player has permission "O":
  62. format slot 14 of player with green glass named "&3Warp » &bO" with lore "||&bAdgang: &a%{adgang.rankO.%player%}%||" to close then run [ execute console command "/agf %player% O"]
  63. Else:
  64. format slot 14 of player with red glass named "&3Warp » &bO" with lore "||&bAdgang: &c%{adgang.rankO.%player%}%||" to close then run [ execute console command "/agf %player% NONO"]
  65. If player has permission "P":
  66. format slot 15 of player with green glass named "&3Warp » &bP" with lore "||&bAdgang: &a%{adgang.rankP.%player%}%||" to close then run [ execute console command "/agf %player% P"]
  67. Else:
  68. format slot 15 of player with red glass named "&3Warp » &bP" with lore "||&bAdgang: &c%{adgang.rankP.%player%}%||" to close then run [ execute console command "/agf %player% NONP"]
  69. If player has permission "Q":
  70. format slot 16 of player with green glass named "&3Warp » &bQ" with lore "||&bAdgang: &a%{adgang.rankQ.%player%}%||" to close then run [ execute console command "/agf %player% Q"]
  71. Else:
  72. format slot 16 of player with red glass named "&3Warp » &bQ" with lore "||&bAdgang: &c%{adgang.rankQ.%player%}%||" to close then run [ execute console command "/agf %player% NONQ"]
  73. If player has permission "R":
  74. format slot 17 of player with green glass named "&3Warp » &bR" with lore "||&bAdgang: &a%{adgang.rankR.%player%}%||" to close then run [ execute console command "/agf %player% R"]
  75. Else:
  76. format slot 17 of player with red glass named "&3Warp » &bR" with lore "||&bAdgang: &c%{adgang.rankR.%player%}%||" to close then run [ execute console command "/agf %player% NONR"]
  77. If player has permission "S":
  78. format slot 18 of player with green glass named "&3Warp » &bS" with lore "||&bAdgang: &a%{adgang.rankS.%player%}%||" to close then run [ execute console command "/agf %player% S"]
  79. Else:
  80. format slot 18 of player with red glass named "&3Warp » &bS" with lore "||&bAdgang: &c%{adgang.rankS.%player%}%||" to close then run [ execute console command "/agf %player% NONS"]
  81. If player has permission "T":
  82. format slot 19 of player with green glass named "&3Warp » &bT" with lore "||&bAdgang: &a%{adgang.rankT.%player%}%||" to close then run [ execute console command "/agf %player% T"]
  83. Else:
  84. format slot 19 of player with red glass named "&3Warp » &bT" with lore "||&bAdgang: &c%{adgang.rankT.%player%}%||" to close then run [ execute console command "/agf %player% NONT"]
  85. If player has permission "U":
  86. format slot 20 of player with green glass named "&3Warp » &bU" with lore "||&bAdgang: &a%{adgang.rankU.%player%}%||" to close then run [ execute console command "/agf %player% U"]
  87. Else:
  88. format slot 20 of player with red glass named "&3Warp » &bU" with lore "||&bAdgang: &c%{adgang.rankU.%player%}%||" to close then run [ execute console command "/agf %player% NONU"]
  89. If player has permission "V":
  90. format slot 21 of player with green glass named "&3Warp » &bV" with lore "||&bAdgang: &a%{adgang.rankV.%player%}%||" to close then run [ execute console command "/agf %player% V"]
  91. Else:
  92. format slot 21 of player with red glass named "&3Warp » &bV" with lore "||&bAdgang: &c%{adgang.rankV.%player%}%||" to close then run [ execute console command "/agf %player% NONV"]
  93. If player has permission "W":
  94. format slot 22 of player with green glass named "&3Warp » &bW" with lore "||&bAdgang: &a%{adgang.rankW.%player%}%||" to close then run [ execute console command "/agf %player% W"]
  95. Else:
  96. format slot 22 of player with red glass named "&3Warp » &bW" with lore "||&bAdgang: &c%{adgang.rankW.%player%}%||" to close then run [ execute console command "/agf %player% NONW"]
  97. If player has permission "X":
  98. format slot 23 of player with green glass named "&3Warp » &bX" with lore "||&bAdgang: &a%{adgang.rankX.%player%}%||" to close then run [ execute console command "/agf %player% X"]
  99. Else:
  100. format slot 23 of player with red glass named "&3Warp » &bX" with lore "||&bAdgang: &c%{adgang.rankX.%player%}%||" to close then run [ execute console command "/agf %player% NONX"]
  101. If player has permission "Y":
  102. format slot 24 of player with green glass named "&3Warp » &bY" with lore "||&bAdgang: &a%{adgang.rankY.%player%}%||" to close then run [ execute console command "/agf %player% Y"]
  103. Else:
  104. format slot 24 of player with red glass named "&3Warp » &bY" with lore "||&bAdgang: &c%{adgang.rankY.%player%}%||" to close then run [ execute console command "/agf %player% NONY"]
  105. If player has permission "Z":
  106. format slot 25 of player with green glass named "&3Warp » &bZ" with lore "||&bAdgang: &a%{adgang.rankZ.%player%}%||" to close then run [ execute console command "/agf %player% Z"]
  107. Else:
  108. format slot 25 of player with red glass named "&3Warp » &bZ" with lore "||&bAdgang: &c%{adgang.rankZ.%player%}%||" to close then run [ execute console command "/agf %player% NONZ"]
  109. If player has permission "VIP-Mine":
  110. format slot 27 of player with iron ingot named "&a&lVIP &7Mine" with lore "&f&lDenne mine indeholder:||&8 [&b50%%&8] &fIron Ore||&8 [&b50%%&8] &fIron block||%{adgang.rankVip.%player%}%||" to close then run [ execute console command "/agf %player% VIP-Mine"]
  111. Else:
  112. format slot 27 of player with iron ingot named "&a&lVIP &7Mine" with lore "&f&lDenne mine indeholder:||&8 [&b50%%&8] &fIron Ore||&8 [&b50%%&8] &fIron block||%{adgang.rankVip.%player%}%||" to close then run [ execute console command "/agf %player% NONVIP-Mine"]
  113. If player has permission "Ultra-Mine":
  114. format slot 28 of player with gold ingot named "&c&lUltra &7Mine" with lore "&f&lDenne mine indeholder:||&8 [&b50%%&8] &fGold Ore||&8 [&b50%%&8] &fGold block||%{adgang.rankLegend.%player%}%||" to close then run [ execute console command "/agf %player% Ultra-Mine"]
  115. Else:
  116. format slot 28 of player with gold ingot named "&c&lUltra &7Mine" with lore "&f&lDenne mine indeholder:||&8 [&b50%%&8] &fGold Ore||&8 [&b50%%&8] &fGold block||%{adgang.rankLegend.%player%}%||" to close then run [ execute console command "/agf %player% NONUltra-Mine"]
  117. If player has permission "Epic-Mine":
  118. format slot 34 of player with diamond named "&5&lEpic &7Mine" with lore "&f&lDenne mine indeholder:||&8 [&b50%%&8] &fDiamond Ore||&8 [&b50%%&8] &fDiamond block||%{adgang.rankEpic.%player%}%||" to close then run [ execute console command "/agf %player% Epic-Mine"]
  119. Else:
  120. format slot 34 of player with diamond named "&5&lEpic &7Mine" with lore "&f&lDenne mine indeholder:||&8 [&b50%%&8] &fDiamond Ore||&8 [&b50%%&8] &fDiamond block||%{adgang.rankEpic.%player%}%||" to close then run [ execute console command "/agf %player% NONEpic-Mine"]
  121. If player has permission "Tech-Mine":
  122. format slot 35 of player with emerald named "&b&lTech &7Mine" with lore "&f&lDenne mine indeholder:||&8 [&b50%%&8] &fEmerald Ore||&8 [&b50%%&8] &fEmerald block||%{adgang.rankTech.%player%}%||" to close then run [ execute console command "/agf %player% Tech-Mine"]
  123. Else:
  124. format slot 35 of player with emerald named "&b&lTech &7Mine" with lore "&f&lDenne mine indeholder:||&8 [&b50%%&8] &fEmerald Ore||&8 [&b50%%&8] &fEmerald block||%{adgang.rankTech.%player%}%||" to close then run [ execute console command "/agf %player% NONTech-Mine"]
  125. If player has permission "PlotVerden":
  126. format slot 31 of player with Grass block named "&c&lPLOTS" with lore "%{adgang.rankPlotVerden.%player%}%" to close then run [ execute console command "/agf %player% PlotVerden"]
  127. Else:
  128. format slot 31 of player with Grass block named "&c&lPLOTS" with lore "%{adgang.rankPlotVerden.%player%}%" to close then run [ execute console command "/agf %player% NONPlotVerden"]
  129. If player has permission "Keys":
  130. format slot 30 of player with Tripwire Hook named "&b&lKEYS" with lore "%{adgang.rankKeys.%player%}%" to close then run [ execute console command "/agf %player% Keys"]
  131. Else:
  132. format slot 30 of player with Tripwire Hook named "&b&lKEYS" with lore "%{adgang.rankKeys.%player%}%" to close then run [ execute console command "/agf %player% NONKeys"]
  133. If player has permission "PvPVerden":
  134. format slot 32 of player with Bow named "&4&lPVP" with lore "%{adgang.rankPvPVerden.%player%}%" to close then run [ execute console command "/agf %player% PvPVerden"]
  135. Else:
  136. format slot 32 of player with Bow named "&4&lPVP" with lore "%{adgang.rankPvPVerden.%player%}%" to close then run [ execute console command "/agf %player% NONPvPVerden"]
  137. If player has permission "Prestige1":
  138. format slot 47 of player with green glass named "&b&lPRESTIGE ##1" with lore "%{adgang.rankPrestige1.%player%}%" to close then run [ execute console command "/agf %player% Prestige1"]
  139. Else:
  140. format slot 47 of player with red glass named "&c&lPRESTIGE ##1" with lore "%{adgang.rankPrestige1.%player%}%" to close then run [ execute console command "/agf %player% NONPrestige1"]
  141. If player has permission "Prestige2":
  142. format slot 48 of player with green glass named "&b&lPRESTIGE ##2" with lore "%{adgang.rankPrestige2.%player%}%" to close then run [ execute console command "/agf %player% Prestige2"]
  143. Else:
  144. format slot 48 of player with red glass named "&c&lPRESTIGE ##2" with lore "%{adgang.rankPrestige2.%player%}%" to close then run [ execute console command "/agf %player% NONPrestige2"]
  145. If player has permission "Prestige3":
  146. format slot 49 of player with green glass named "&b&lPRESTIGE ##3" with lore "%{adgang.rankPrestige3.%player%}%" to close then run [ execute console command "/agf %player% Prestige3"]
  147. Else:
  148. format slot 49 of player with red glass named "&c&lPRESTIGE ##3" with lore "%{adgang.rankPrestige3.%player%}%" to close then run [ execute console command "/agf %player% NONPrestige3"]
  149. If player has permission "Prestige4":
  150. format slot 50 of player with green glass named "&b&lPRESTIGE ##4" with lore "%{adgang.rankPrestige4.%player%}%" to close then run [ execute console command "/agf %player% Prestige4"]
  151. Else:
  152. format slot 50 of player with red glass named "&c&lPRESTIGE ##4" with lore "%{adgang.rankPrestige4.%player%}%" to close then run [ execute console command "/agf %player% NONPrestige4"]
  153. If player has permission "Prestige5":
  154. format slot 51 of player with green glass named "&b&lPRESTIGE ##5" with lore "%{adgang.rankPrestige5.%player%}%" to close then run [ execute console command "/agf %player% Prestige5"]
  155. Else:
  156. format slot 51 of player with red glass named "&c&lPRESTIGE ##5" with lore "%{adgang.rankPrestige5.%player%}%" to close then run [ execute console command "/agf %player% NONPrestige5"]
  157.  
  158. Every 1 second:
  159. loop all players:
  160. If loop-player has permission "Default" or "A":
  161. set {adgang.rankA.%loop-player%} to "Ja"
  162. Else:
  163. set {adgang.rankA.%loop-player%} to "Nej"
  164. If loop-player has permission "B":
  165. set {adgang.rankB.%loop-player%} to "Ja"
  166. Else:
  167. set {adgang.rankB.%loop-player%} to "Nej"
  168. If loop-player has permission "C":
  169. set {adgang.rankC.%loop-player%} to "Ja"
  170. Else:
  171. set {adgang.rankC.%loop-player%} to "Nej"
  172. If loop-player has permission "D":
  173. set {adgang.rankD.%loop-player%} to "Ja"
  174. Else:
  175. set {adgang.rankD.%loop-player%} to "Nej"
  176. If loop-player has permission "E":
  177. set {adgang.rankE.%loop-player%} to "Ja"
  178. Else:
  179. set {adgang.rankE.%loop-player%} to "Nej"
  180. If loop-player has permission "F":
  181. set {adgang.rankF.%loop-player%} to "Ja"
  182. Else:
  183. set {adgang.rankF.%loop-player%} to "Nej"
  184. If loop-player has permission "G":
  185. set {adgang.rankG.%loop-player%} to "Ja"
  186. Else:
  187. set {adgang.rankG.%loop-player%} to "Nej"
  188. If loop-player has permission "H":
  189. set {adgang.rankH.%loop-player%} to "Ja"
  190. Else:
  191. set {adgang.rankH.%loop-player%} to "Nej"
  192. If loop-player has permission "I":
  193. set {adgang.rankI.%loop-player%} to "Ja"
  194. Else:
  195. set {adgang.rankI.%loop-player%} to "Nej"
  196. If loop-player has permission "J":
  197. set {adgang.rankJ.%loop-player%} to "Ja"
  198. Else:
  199. set {adgang.rankJ.%loop-player%} to "Nej"
  200. If loop-player has permission "K":
  201. set {adgang.rankK.%loop-player%} to "Ja"
  202. Else:
  203. set {adgang.rankK.%loop-player%} to "Nej"
  204. If loop-player has permission "L":
  205. set {adgang.rankL.%loop-player%} to "Ja"
  206. Else:
  207. set {adgang.rankL.%loop-player%} to "Nej"
  208. If loop-player has permission "M":
  209. set {adgang.rankM.%loop-player%} to "Ja"
  210. Else:
  211. set {adgang.rankM.%loop-player%} to "Nej"
  212. If loop-player has permission "N":
  213. set {adgang.rankN.%loop-player%} to "Ja"
  214. Else:
  215. set {adgang.rankN.%loop-player%} to "Nej"
  216. If loop-player has permission "O":
  217. set {adgang.rankO.%loop-player%} to "Ja"
  218. Else:
  219. set {adgang.rankO.%loop-player%} to "Nej"
  220. If loop-player has permission "P":
  221. set {adgang.rankP.%loop-player%} to "Ja"
  222. Else:
  223. set {adgang.rankP.%loop-player%} to "Nej"
  224. If loop-player has permission "Q":
  225. set {adgang.rankQ.%loop-player%} to "Ja"
  226. Else:
  227. set {adgang.rankQ.%loop-player%} to "Nej"
  228. If loop-player has permission "R":
  229. set {adgang.rankR.%loop-player%} to "Ja"
  230. Else:
  231. set {adgang.rankR.%loop-player%} to "Nej"
  232. If loop-player has permission "S":
  233. set {adgang.rankS.%loop-player%} to "Ja"
  234. Else:
  235. set {adgang.rankS.%loop-player%} to "Nej"
  236. If loop-player has permission "T":
  237. set {adgang.rankT.%loop-player%} to "Ja"
  238. Else:
  239. set {adgang.rankT.%loop-player%} to "Nej"
  240. If loop-player has permission "U":
  241. set {adgang.rankU.%loop-player%} to "Ja"
  242. Else:
  243. set {adgang.rankU.%loop-player%} to "Nej"
  244. If loop-player has permission "V":
  245. set {adgang.rankV.%loop-player%} to "Ja"
  246. Else:
  247. set {adgang.rankV.%loop-player%} to "Nej"
  248. If loop-player has permission "W":
  249. set {adgang.rankW.%loop-player%} to "Ja"
  250. Else:
  251. set {adgang.rankW.%loop-player%} to "Nej"
  252. If loop-player has permission "X":
  253. set {adgang.rankX.%loop-player%} to "Ja"
  254. Else:
  255. set {adgang.rankX.%loop-player%} to "Nej"
  256. If loop-player has permission "Y":
  257. set {adgang.rankY.%loop-player%} to "Ja"
  258. Else:
  259. set {adgang.rankY.%loop-player%} to "Nej"
  260. If loop-player has permission "Z":
  261. set {adgang.rankZ.%loop-player%} to "Ja"
  262. Else:
  263. set {adgang.rankZ.%loop-player%} to "Nej"
  264. If loop-player has permission "VIP-Mine":
  265. set {adgang.rankVip.%loop-player%} to "&n"
  266. ELse:
  267. set {adgang.rankVip.%loop-player%} to "&n"
  268. If loop-player has permission "Ultra-Mine":
  269. set {adgang.rankUltra.%loop-player%} to "&n"
  270. ELse:
  271. set {adgang.rankUltra.%loop-player%} to "&n"
  272. If loop-player has permission "Epic-Mine":
  273. set {adgang.rankEpic.%loop-player%} to "&n"
  274. ELse:
  275. set {adgang.rankEpic.%loop-player%} to "&n"
  276. If loop-player has permission "Tech-Mine":
  277. set {adgang.rankTech.%loop-player%} to "&n"
  278. ELse:
  279. set {adgang.rankTech.%loop-player%} to "&n"
  280. If loop-player has permission "PlotVerden":
  281. set {adgang.rankPlotVerden.%loop-player%} to "&n"
  282. ELse:
  283. set {adgang.rankPlotVerden.%loop-player%} to "&n"
  284. If loop-player has permission "Keys":
  285. set {adgang.rankKEYS.%loop-player%} to "&n"
  286. ELse:
  287. set {adgang.rankKEYS.%loop-player%} to "&n"
  288. If loop-player has permission "PvPVerden":
  289. set {adgang.rankPvPVerden.%loop-player%} to "&n"
  290. ELse:
  291. set {adgang.rankPvPVerden.%loop-player%} to "&n"
  292. If loop-player has permission "Prestige1":
  293. set {adgang.rankPrestige1.%loop-player%} to "&n"
  294. ELse:
  295. set {adgang.rankPrestige1.%loop-player%} to " &cLåses op i prestige 1!"
  296. If loop-player has permission "Prestige2":
  297. set {adgang.rankPrestige2.%loop-player%} to "&n"
  298. ELse:
  299. set {adgang.rankPrestige2.%loop-player%} to " &cLåses op i prestige 2!"
  300. If loop-player has permission "Prestige3":
  301. set {adgang.rankPrestige3.%loop-player%} to "&n"
  302. ELse:
  303. set {adgang.rankPrestige3.%loop-player%} to " &cLåses op i prestige 3!"
  304. If loop-player has permission "Prestige4":
  305. set {adgang.rankPrestige4.%loop-player%} to "&n"
  306. ELse:
  307. set {adgang.rankPrestige4.%loop-player%} to " &cLåses op i prestige 4!"
  308. If loop-player has permission "Prestige5":
  309. set {adgang.rankPrestige5.%loop-player%} to "&n"
  310. ELse:
  311. set {adgang.rankPrestige5.%loop-player%} to " &cLåses op i prestige 5!"
  312.  
  313.  
  314.  
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326. command /agf <offline player> <text>:
  327. executable by: console
  328. trigger:
  329. If arg 2 is "A":
  330. send "&3&lWarp &7» &bLoading..." to arg 1
  331. wait 1 second
  332. send "&3&lWarp &7» &7Du er nu blevet teleporteret til &b%arg 2%" to arg 1
  333. teleport arg 1 to {warp.%arg 2%}
  334. stop
  335. If arg 2 is "NONA":
  336. send "&3&lWarp &7» &cLoading..." to arg 1
  337. wait 2 second
  338. send "&3&lWarp &7» &7Du har ikke endnu ikke ranket op til &bA" to arg 1
  339. stop
  340. If arg 2 is "B":
  341. send "&3&lWarp &7» &bLoading..." to arg 1
  342. wait 2 second
  343. send "&3&lWarp &7» &7Du er nu blevet teleporteret til &b%arg 2%" to arg 1
  344. teleport arg 1 to {warp.%arg 2%}
  345. stop
  346. If arg 2 is "NONB":
  347. send "&3&lWarp &7» &cLoading..." to arg 1
  348. wait 2 second
  349. send "&3&lWarp &7» &7Du har endnu ikke ranket op til &bB" to arg 1
  350. stop
  351. If arg 2 is "C":
  352. send "&3&lWarp &7» &bLoading..." to arg 1
  353. wait 2 second
  354. send "&3&lWarp &7» &7Du er nu blevet teleporteret til &b%arg 2%" to arg 1
  355. teleport arg 1 to {warp.%arg 2%}
  356. stop
  357. If arg 2 is "NONC":
  358. send "&3&lWarp &7» &bLoading..." to arg 1
  359. wait 2 second
  360. send "&3&lWarp &7» &7Du har ikke endnu ikke ranket op til &bC" to arg 1
  361. stop
  362. If arg 2 is "D":
  363. send "&3&lWarp &7» &bLoading..." to arg 1
  364. wait 2 second
  365. send "&3&lWarp &7» &7Du er nu blevet teleporteret til &b%arg 2%" to arg 1
  366. teleport arg 1 to {warp.%arg 2%}
  367. stop
  368. If arg 2 is "NOND":
  369. send "&3&lWarp &7» &bLoading..." to arg 1
  370. wait 2 second
  371. send "&3&lWarp &7» &7Du har ikke endnu ikke ranket op til &bD" to arg 1
  372. stop
  373. If arg 2 is "E":
  374. send "&3&lWarp &7» &bLoading..." to arg 1
  375. wait 1 second
  376. send "&3&lWarp &7» &7Du er nu blevet teleporteret til &b%arg 2%" to arg 1
  377. teleport arg 1 to {warp.%arg 2%}
  378. stop
  379. If arg 2 is "NONE":
  380. send "&3&lWarp &7» &bLoading..." to arg 1
  381. wait 2 second
  382. send "&3&lWarp &7» &7Du har ikke endnu ikke ranket op til &bE" to arg 1
  383. stop
  384. If arg 2 is "F":
  385. send "&3&lWarp &7» &bLoading..." to arg 1
  386. wait 1 second
  387. send "&3&lWarp &7» &7Du er nu blevet teleporteret til &b%arg 2%" to arg 1
  388. teleport arg 1 to {warp.%arg 2%}
  389. stop
  390. If arg 2 is "NONF":
  391. send "&3&lWarp &7» &bLoading..." to arg 1
  392. wait 2 second
  393. send "&3&lWarp &7» &7Du har ikke endnu ikke ranket op til &bF" to arg 1
  394. stop
  395. If arg 2 is "G":
  396. send "&3&lWarp &7» &bLoading..." to arg 1
  397. wait 1 second
  398. send "&3&lWarp &7» &7Du er nu blevet teleporteret til &b%arg 2%" to arg 1
  399. teleport arg 1 to {warp.%arg 2%}
  400. stop
  401. If arg 2 is "NONG":
  402. send "&3&lWarp &7» &bLoading..." to arg 1
  403. wait 2 second
  404. send "&3&lWarp &7» &7Du har ikke endnu ikke ranket op til &bG" to arg 1
  405. stop
  406. If arg 2 is "H":
  407. send "&3&lWarp &7» &bLoading..." to arg 1
  408. wait 1 second
  409. send "&3&lWarp &7» &7Du er nu blevet teleporteret til &b%arg 2%" to arg 1
  410. teleport arg 1 to {warp.%arg 2%}
  411. stop
  412. If arg 2 is "NONH":
  413. send "&3&lWarp &7» &bLoading..." to arg 1
  414. wait 2 second
  415. send "&3&lWarp &7» &7Du har ikke endnu ikke ranket op til &bH" to arg 1
  416. stop
  417. If arg 2 is "I":
  418. send "&3&lWarp &7» &bLoading..." to arg 1
  419. wait 1 second
  420. send "&3&lWarp &7» &7Du er nu blevet teleporteret til &b%arg 2%" to arg 1
  421. teleport arg 1 to {warp.%arg 2%}
  422. stop
  423. If arg 2 is "NONI":
  424. send "&3&lWarp &7» &bLoading..." to arg 1
  425. wait 2 second
  426. send "&3&lWarp &7» &7Du har ikke endnu ikke ranket op til &bF" to arg 1
  427. stop
  428. If arg 2 is "J":
  429. send "&3&lWarp &7» &bLoading..." to arg 1
  430. wait 1 second
  431. send "&3&lWarp &7» &7Du er nu blevet teleporteret til &b%arg 2%" to arg 1
  432. teleport arg 1 to {warp.%arg 2%}
  433. stop
  434. If arg 2 is "NONJ":
  435. send "&3&lWarp &7» &bLoading..." to arg 1
  436. wait 2 second
  437. send "&3&lWarp &7» &7Du har ikke endnu ikke ranket op til &bF" to arg 1
  438. stop
  439. If arg 2 is "NONK":
  440. send "&3Warp &7» &bLoading..." to arg 1
  441. wait 2 second
  442. send "&3Warp &7» &7Du har ikke endnu ikke ranket op til &bK" to arg 1
  443. stop
  444. If arg 2 is "NONL":
  445. send "&3Warp &7» &bLoading..." to arg 1
  446. wait 2 second
  447. send "&3Warp &7» &7Du har ikke endnu ikke ranket op til &bL" to arg 1
  448. stop
  449. If arg 2 is "NONM":
  450. send "&3Warp &7» &bLoading..." to arg 1
  451. wait 2 second
  452. send "&3Warp &7» &7Du har ikke endnu ikke ranket op til &bM" to arg 1
  453. stop
  454. If arg 2 is "NONN":
  455. send "&3Warp &7» &bLoading..." to arg 1
  456. wait 2 second
  457. send "&3Warp &7» &7Du har ikke endnu ikke ranket op til &bN" to arg 1
  458. stop
  459. If arg 2 is "NONO":
  460. send "&3Warp &7» &bLoading..." to arg 1
  461. wait 2 second
  462. send "&3Warp &7» &7Du har ikke endnu ikke ranket op til &bO" to arg 1
  463. stop
  464. If arg 2 is "NONP":
  465. send "&3Warp &7» &bLoading..." to arg 1
  466. wait 2 second
  467. send "&3Warp &7» &7Du har ikke endnu ikke ranket op til &bP" to arg 1
  468. stop
  469. If arg 2 is "NONQ":
  470. send "&3Warp &7» &bLoading..." to arg 1
  471. wait 2 second
  472. send "&3Warp &7» &7Du har ikke endnu ikke ranket op til &bQ" to arg 1
  473. stop
  474. If arg 2 is "NONR":
  475. send "&3Warp &7» &bLoading..." to arg 1
  476. wait 2 second
  477. send "&3Warp &7» &7Du har ikke endnu ikke ranket op til &bR" to arg 1
  478. stop
  479. If arg 2 is "NONS":
  480. send "&3Warp &7» &bLoading..." to arg 1
  481. wait 2 second
  482. send "&3Warp &7» &7Du har ikke endnu ikke ranket op til &bS" to arg 1
  483. stop
  484. If arg 2 is "NONT":
  485. send "&3Warp &7» &bLoading..." to arg 1
  486. wait 2 second
  487. send "&3Warp &7» &7Du har ikke endnu ikke ranket op til &bT" to arg 1
  488. stop
  489. If arg 2 is "NONU":
  490. send "&3Warp &7» &bLoading..." to arg 1
  491. wait 2 second
  492. send "&3Warp &7» &7Du har ikke endnu ikke ranket op til &bU" to arg 1
  493. stop
  494. If arg 2 is "NONV":
  495. send "&3Warp &7» &bLoading..." to arg 1
  496. wait 2 second
  497. send "&3Warp &7» &7Du har ikke endnu ikke ranket op til &bV" to arg 1
  498. stop
  499. If arg 2 is "NONW":
  500. send "&3Warp &7» &bLoading..." to arg 1
  501. wait 2 second
  502. send "&3Warp &7» &7Du har ikke endnu ikke ranket op til &bW" to arg 1
  503. stop
  504. If arg 2 is "NONX":
  505. send "&3Warp &7» &bLoading..." to arg 1
  506. wait 2 second
  507. send "&3Warp &7» &7Du har ikke endnu ikke ranket op til &bX" to arg 1
  508. stop
  509. If arg 2 is "NONY":
  510. send "&3Warp &7» &bLoading..." to arg 1
  511. wait 2 second
  512. send "&3Warp &7» &7Du har ikke endnu ikke ranket op til &bY" to arg 1
  513. stop
  514. If arg 2 is "Z":
  515. send "&3Warp &7» &bLoading..." to arg 1
  516. wait 2 second
  517. send "&3Warp &7» &7Du er nu blevet teleporteret til &b%arg 2%" to arg 1
  518. teleport arg 1 to {warp.%arg 2%}
  519. stop
  520. If arg 2 is "NONZ":
  521. send "&3Warp &7» &bLoading..." to arg 1
  522. wait 2 second
  523. send "&3Warp &7» &7Du har ikke endnu ikke ranket op til &bZ" to arg 1
  524. stop
  525. If arg 2 is "VIP-Mine":
  526. send "&3Warp &7» &bLoading..." to arg 1
  527. wait 2 second
  528. send "&3Warp &7» &7Du er nu blevet teleporteret til &b%arg 2%" to arg 1
  529. teleport arg 1 to {warp.%arg 2%}
  530. stop
  531. If arg 2 is "NONVIP-Mine":
  532. send "&3Warp &7» &bLoading..." to arg 1
  533. wait 2 second
  534. send "&3Warp &7» &7Du har ikke adgang til denne mine" to arg 1
  535. stop
  536. If arg 2 is "Ultra-Mine":
  537. send "&3Warp &7» &bLoading..." to arg 1
  538. wait 2 second
  539. send "&3Warp &7» &7Du er nu blevet teleporteret til &b%arg 2%" to arg 1
  540. teleport arg 1 to {warp.%arg 2%}
  541. stop
  542. If arg 2 is "NONUltra-Mine":
  543. send "&3Warp &7» &bLoading..." to arg 1
  544. wait 2 second
  545. send "&3Warp &7» &7Du har ikke adgang til denne mine" to arg 1
  546. stop
  547. If arg 2 is "Epic-Mine":
  548. send "&3Warp &7» &bLoading..." to arg 1
  549. wait 2 second
  550. send "&3Warp &7» &7Du er nu blevet teleporteret til &b%arg 2%" to arg 1
  551. teleport arg 1 to {warp.%arg 2%}
  552. stop
  553. If arg 2 is "NONEpic-Mine":
  554. send "&3Warp &7» &bLoading..." to arg 1
  555. wait 2 second
  556. send "&3Warp &7» &7Du har ikke adgang til denne mine" to arg 1
  557. stop
  558. If arg 2 is "Tech-Mine":
  559. send "&3Warp &7» &bLoading..." to arg 1
  560. wait 2 second
  561. send "&3Warp &7» &7Du er nu blevet teleporteret til &b%arg 2%" to arg 1
  562. teleport arg 1 to {warp.%arg 2%}
  563. stop
  564. If arg 2 is "NONTech-Mine":
  565. send "&3Warp &7» &bLoading..." to arg 1
  566. wait 2 second
  567. send "&3Warp &7» &7Du har ikke adgang til denne mine" to arg 1
  568. stop
  569. If arg 2 is "PlotVerden":
  570. wait 0 second
  571. send "&3Warp &7» &7Du er nu blevet teleporteret til &b%arg 2%" to arg 1
  572. teleport arg 1 to {warp.%arg 2%}
  573. stop
  574. If arg 2 is "NONPlotVerden":
  575. send "&3Warp &7» &bLoading..." to arg 1
  576. wait 0 second
  577. send "&3Warp &7» &7Du har ikke adgang til denne Verden" to arg 1
  578. stop
  579. If arg 2 is "Keys":
  580. wait 0 second
  581. send "&3Warp &7» &7Du er nu blevet teleporteret til &b%arg 2%" to arg 1
  582. teleport arg 1 to {warp.%arg 2%}
  583. stop
  584. If arg 2 is "NONKeys":
  585. wait 0 second
  586. send "&3Warp &7» &7Du har ikke adgang til dette Warp" to arg 1
  587. stop
  588. If arg 2 is "Event-Minen":
  589. wait 0 second
  590. send "&3Warp &7» &7Du er nu blevet teleporteret til &b%arg 2%" to arg 1
  591. teleport arg 1 to {warp.%arg 2%}
  592. stop
  593. If arg 2 is "NONEvent-Minen":
  594. wait 0 second
  595. send "&3Warp &7» &7Du har ikke adgang til dette Warp" to arg 1
  596. stop
  597.  
  598.  
  599.  
  600.  
  601.  
  602.  
  603.  
  604. command /setwarp <text>:
  605. permission: *
  606. trigger:
  607. set {warp.%arg 1%} to location of player
  608. message "&6%arg 1% er nu sat!"
  609. stop
  610.  
  611.  
  612. command /fjernwarp <text>:
  613. permission: *
  614. trigger:
  615. message "&6%arg 1% er nu fjernet!"
  616. delete {warp.%arg 1%}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement