Advertisement
Guest User

Untitled

a guest
Sep 16th, 2019
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 32.80 KB | None | 0 0
  1. on rightclick on a entity:
  2. if name of entity is "&c&lKLIK HER":
  3. execute console command "/agfs %player% PlotVerden"
  4.  
  5. command /warp [<text>]:
  6. trigger:
  7. open chest with 6 rows named "&3&lWARPS" to player
  8. wait 3 ticks
  9. loop integers from 0 to 8:
  10. format slot loop-number of player with cyan stained glass pane named " " to be unstealable
  11. format slot 9 of player with cyan stained glass pane named " " to be unstealable
  12. format slot 17 of player with cyan stained glass pane named " " to be unstealable
  13. format slot 18 of player with cyan stained glass pane named " " to be unstealable
  14. format slot 26 of player with cyan stained glass pane named " " to be unstealable
  15. format slot 27 of player with cyan stained glass pane named " " to be unstealable
  16. format slot 35 of player with cyan stained glass pane named " " to be unstealable
  17. format slot 36 of player with cyan stained glass pane named " " to be unstealable
  18. format slot 44 of player with cyan stained glass pane named " " to be unstealable
  19. format slot 45 of player with cyan stained glass pane named " " to be unstealable
  20. format slot 46 of player with cyan stained glass pane named " " to be unstealable
  21. format slot 48 of player with cyan stained glass pane named " " to be unstealable
  22. format slot 50 of player with cyan stained glass pane named " " to be unstealable
  23. format slot 52 of player with cyan stained glass pane named " " to be unstealable
  24. format slot 53 of player with cyan stained glass pane named " " to be unstealable
  25.  
  26. If player has permission "Default" or "Awarp":
  27. format slot 10 of player with Light Blue Dye named "&b&lA" with lore "&7Adgang: &a%{adgang.rankA.%player%}%||&7Information om minen:||&8» &7Stone: &325%%||&8» &7Oak Wood: &325%%||&8» &7Coal Ore: &325%%||&8» &7Iron Ore: &325%%" to close then run [ execute console command "/agfs %player% A"]
  28. Else:
  29. format slot 10 of player with Gray Dye named "&4&lA" with lore "&7Adgang: &c%{adgang.rankA.%player%}%||&7Information om minen:||&8» &7Stone: &325%%||&8» &7Oak Wood: &325%%||&8» &7Coal Ore: &325%%||&8» &7Iron Ore: &325%%" to close then run [ execute console command "/agfs %player% NONAwarp"]
  30. If player has permission "Bwarp":
  31. format slot 11 of player with Light Blue Dye named "&b&lB" with lore "&7Adgang: &a%{adgang.rankB.%player%}%||&7Information om minen:||&8» &7Stone: &325%%||&8» &7Coal Ore: &325%%||&8» &7Iron Ore: &320%%||&8» &7Gold Ore: &329%%||&8» &7Diamond Ore: &31%%" to close then run [ execute console command "/agfs %player% B"]
  32. Else:
  33. format slot 11 of player with Gray Dye named "&4&lB" with lore "&7Adgang: &c%{adgang.rankB.%player%}%||&7Information om minen:||&8» &7Stone: &325%%||&8» &7Coal Ore: &325%%||&8» &7Iron Ore: &320%%||&8» &7Gold Ore: &329%%||&8» &7Diamond Ore: &31%%" to close then run [ execute console command "/agfs %player% NONBwarp"]
  34. If player has permission "Cwarp":
  35. format slot 12 of player with Light Blue Dye named "&b&lC" with lore "&7Adgang: &a%{adgang.rankC.%player%}%||&7Information om minen:||&8» &7Sandstone: &325%%||&8» &7Mossy cobblestone: &325%%||&8» &7Gold Ore: &325%%||&8» &7Emerald Ore: &325%%" to close then run [ execute console command "/agfs %player% C"]
  36. Else:
  37. format slot 12 of player with Gray Dye named "&4&lC" with lore "&7Adgang: &c%{adgang.rankC.%player%}%||&7Information om minen:||&8» &7Sandstone: &325%%||&8» &7Mossy cobblestone: &325%%||&8» &7Gold Ore: &325%%||&8» &7Emerald Ore: &325%%" to close then run [ execute console command "/agfs %player% NONCwarp"]
  38. If player has permission "Dwarp":
  39. format slot 13 of player with Light Blue Dye named "&b&lD" with lore "&7Adgang: &a%{adgang.rankD.%player%}%||&7Information om minen:||&8» &7Stone: &320%%||&8» &7Cobblestone: &35%%||&8» &7Netherrack: &340,5%%||&8» &7Glowstone: &32%%||&8» &7Iron Ore: &32,5%%||&8» &7Iron block: &35%%||&8» &7Gold Ore: &320" to close then run [ execute console command "/agfs %player% D"]
  40. Else:
  41. format slot 13 of player with Gray Dye named "&4&lD" with lore "&7Adgang: &c%{adgang.rankD.%player%}%||&7Information om minen:||&8» &7Stone: &320%%||&8» &7Cobblestone: &35%%||&8» &7Netherrack: &340,5%%||&8» &7Glowstone: &32%%||&8» &7Iron Ore: &32,5%%||&8» &7Iron block: &35%%||&8» &7Gold Ore: &320" to close then run [ execute console command "/agfs %player% NONDwarp"]
  42. If player has permission "Ewarp":
  43. format slot 14 of player with Light Blue Dye named "&b&lE" with lore "&7Adgang: &a%{adgang.rankE.%player%}%||&7Information om minen:||&8» &7Lapis Ore: &325%%||&8» &7Gold Ore: &325%%||&8» &7Quartz block: &325%%||&8» &7Diamond Ore: &325%%" to close then run [ execute console command "/agfs %player% E"]
  44. Else:
  45. format slot 14 of player with Gray Dye named "&4&lE" with lore "&7Adgang: &c%{adgang.rankE.%player%}%||&7Information om minen:||&8» &7Lapis Ore: &325%%||&8» &7Gold Ore: &325%%||&8» &7Quartz block: &325%%||&8» &7Diamond Ore: &325%%" to close then run [ execute console command "/agfs %player% NONEwarp"]
  46. If player has permission "Fwarp":
  47. format slot 15 of player with Light Blue Dye named "&b&lF" with lore "&7Adgang: &a%{adgang.rankF.%player%}%||&7Information om minen:||&8» &7Iron block: &325%%||&8» &7Sandstone: &325%%||&8» &7Gold Ore: &325%%||&8» &7Diamond Ore: &325%%" to close then run [ execute console command "/agfs %player% F"]
  48. Else:
  49. format slot 15 of player with Gray Dye named "&4&lF" with lore "&7Adgang: &c%{adgang.rankF.%player%}%||&7Information om minen:||&8» &7Iron block: &325%%||&8» &7Sandstone: &325%%||&8» &7Gold Ore: &325%%||&8» &7Diamond Ore: &325%%" to close then run [ execute console command "/agfs %player% NONFwarp"]
  50. If player has permission "Gwarp":
  51. format slot 16 of player with Light Blue Dye named "&b&lG" with lore "&7Adgang: &a%{adgang.rankG.%player%}%||&7Information om minen:||&8» &7Diamond block: &31%%||&8» &7Gold block: &35%%||&8» &7Glowstone: &320%%||&8» &7Diamond Ore: &320%%||&8» &7Emerald Ore: &325%%||&8» &7Smooth brick: &329%%" to close then run [ execute console command "/agfs %player% G"]
  52. Else:
  53. format slot 16 of player with Gray Dye named "&4&lG" with lore "&7Adgang: &c%{adgang.rankG.%player%}%||&7Information om minen:||&8» &7Diamond block: &31%%||&8» &7Gold block: &35%%||&8» &7Glowstone: &320%%||&8» &7Diamond Ore: &320%%||&8» &7Emerald Ore: &325%%||&8» &7Smooth brick: &329%%" to close then run [ execute console command "/agfs %player% NONGwarp"]
  54. If player has permission "Hwarp":
  55. format slot 19 of player with Light Blue Dye named "&b&lH" with lore "&7Adgang: &a%{adgang.rankH.%player%}%||&7Information om minen:||&8» &7Glowstone: &33%%||&8» &7Stone: &310%%||&8» &7Emerald: &315%%||&8» &7Diamond block: &320%%||&8» &7Gold block: &325%%||&8» &7Iron block: &325%%" to close then run [ execute console command "/agfs %player% H"]
  56. Else:
  57. format slot 19 of player with Gray Dye named "&4&lH" with lore "&7Adgang: &c%{adgang.rankH.%player%}%||&7Information om minen:||&8» &7Glowstone: &33%%||&8» &7Stone: &310%%||&8» &7Emerald: &315%%||&8» &7Diamond block: &320%%||&8» &7Gold block: &325%%||&8» &7Iron block: &325%%" to close then run [ execute console command "/agfs %player% NONHwarp"]
  58. If player has permission "Iwarp":
  59. format slot 20 of player with Light Blue Dye named "&b&lI" with lore "&7Adgang: &a%{adgang.rankI.%player%}%||&7Information om minen:||&8» &7Diamond Ore: &35%%||&8» &7Diamond block: &35%%||&8» &7Iron block: &35%%||&8» &7Smooth brick: &325%%||&8» &7Coal block: &325%%||&8» &7Nether brick: &335%%" to close then run [ execute console command "/agfs %player% I"]
  60. Else:
  61. format slot 20 of player with Gray Dye named "&4&lI" with lore "&7Adgang: &c%{adgang.rankI.%player%}%||&7Information om minen:||&8» &7Diamond Ore: &35%%||&8» &7Diamond block: &35%%||&8» &7Iron block: &35%%||&8» &7Smooth brick: &325%%||&8» &7Coal block: &325%%||&8» &7Nether brick: &335%%" to close then run [ execute console command "/agfs %player% NONIwarp"]
  62. If player has permission "Jwarp":
  63. format slot 21 of player with Light Blue Dye named "&b&lJ" with lore "&7Adgang: &a%{adgang.rankJ.%player%}%||&7Information om minen:||&8» &7Redstone Ore: &35%%||&8» &7Emerald block: &35%%||&8» &7Stone: &315%%||&8» &7Iron block: &325%%||&8» &7Gold block: &325%%||&8» &7Diamond block: &325%%" to close then run [ execute console command "/agfs %player% J"]
  64. Else:
  65. format slot 21 of player with Gray Dye named "&4&lJ" with lore "&7Adgang: &c%{adgang.rankJ.%player%}%||&7Information om minen:||&8» &7Redstone Ore: &35%%||&8» &7Emerald block: &35%%||&8» &7Stone: &315%%||&8» &7Iron block: &325%%||&8» &7Gold block: &325%%||&8» &7Diamond block: &325%%" to close then run [ execute console command "/agfs %player% NONJwarp"]
  66. If player has permission "Kwarp":
  67. format slot 22 of player with Light Blue Dye named "&b&lK" with lore "&7Adgang: &a%{adgang.rankK.%player%}%||&7Information om minen:||&8» &7Smooth Sandstone: &350%%||&8» &7Sandstone: &350%%" to close then run [ execute console command "/agfs %player% K"]
  68. Else:
  69. format slot 22 of player with Gray Dye named "&4&lK" with lore "&7Adgang: &c%{adgang.rankK.%player%}%||&7Information om minen:||&8» &7Smooth Sandstone: &350%%||&8» &7Sandstone: &350%%" to close then run [ execute console command "/agfs %player% NONKwarp"]
  70. If player has permission "Lwarp":
  71. format slot 23 of player with Light Blue Dye named "&b&lL" with lore "&7Adgang: &a%{adgang.rankL.%player%}%||&7Information om minen:||&8» &7Gold block: &35%%||&8» &7Emerald Ore: &320%%||&8» &7Diamond block: &325%%||&8» &7Redstone Ore: &325%%||&8» &7Ender stone: &325%%" to close then run [ execute console command "/agfs %player% L"]
  72. Else:
  73. format slot 23 of player with Gray Dye named "&4&lL" with lore "&7Adgang: &c%{adgang.rankL.%player%}%||&7Information om minen:||&8» &7Gold block: &35%%||&8» &7Emerald Ore: &320%%||&8» &7Diamond block: &325%%||&8» &7Redstone Ore: &325%%||&8» &7Ender stone: &325%%" to close then run [ execute console command "/agfs %player% NONLwarp"]
  74. If player has permission "Mwarp":
  75. format slot 24 of player with Light Blue Dye named "&b&lM" with lore "&7Adgang: &a%{adgang.rankM.%player%}%||&7Information om minen:||&8» &7Diamond block: &31%%||&8» &7Coal block: &324%%||&8» &7Iron block: &325%%||&8» &7Redstone block: &325%%||&8» &7Gold block: &325%%" to close then run [ execute console command "/agfs %player% M"]
  76. Else:
  77. format slot 24 of player with Gray Dye named "&4&lM" with lore "&7Adgang: &c%{adgang.rankM.%player%}%||&7Information om minen:||&8» &7Diamond block: &31%%||&8» &7Coal block: &324%%||&8» &7Iron block: &325%%||&8» &7Redstone block: &325%%||&8» &7Gold block: &325%%" to close then run [ execute console command "/agfs %player% NONMwarp"]
  78. If player has permission "Nwarp":
  79. format slot 25 of player with Light Blue Dye named "&b&lN" with lore "&7Adgang: &a%{adgang.rankN.%player%}%||&7Information om minen:||&8» &7Diamond block: &31%%||&8» &7Obsidian: &35%%||&8» &7Brick: &314%%||&8» &7Iron block: &320%%||&8» &7Coal block: &320%%||&8» &7Redstone block: &320%%||&8» &7Gold block &320%%" to close then run [ execute console command "/agfs %player% N"]
  80. Else:
  81. format slot 25 of player with Gray Dye named "&4&lN" with lore "&7Adgang: &c%{adgang.rankN.%player%}%||&7Information om minen:||&8» &7Diamond block: &31%%||&8» &7Obsidian: &35%%||&8» &7Brick: &314%%||&8» &7Iron block: &320%%||&8» &7Coal block: &320%%||&8» &7Redstone block: &320%%||&8» &7Gold block &320%%" to close then run [ execute console command "/agfs %player% NONNwarp"]
  82. If player has permission "Owarp":
  83. format slot 28 of player with Light Blue Dye named "&b&lO" with lore "&7Adgang: &a%{adgang.rankO.%player%}%||&7Information om minen:||&8» &7Light blue wool: &310%%||&8» &7Purple wool: &315%%||&8» &7Orange wool: &315%%||&8» &7White wool: &315%%||&8» &7Black wool: &315%%||&8» &7Yellow wool: &315%%" to close then run [ execute console command "/agfs %player% O"]
  84. Else:
  85. format slot 28 of player with Gray Dye named "&4&lO" with lore "&7Adgang: &c%{adgang.rankO.%player%}%||&7Information om minen:||&8» &7Light blue wool: &310%%||&8» &7Purple wool: &315%%||&8» &7Orange wool: &315%%||&8» &7White wool: &315%%||&8» &7Black wool: &315%%||&8» &7Yellow wool: &315%%" to close then run [ execute console command "/agfs %player% NONOwarp"]
  86. If player has permission "Pwarp":
  87. format slot 29 of player with Light Blue Dye named "&b&lP" with lore "&7Adgang: &a%{adgang.rankP.%player%}%||&7Information om minen:||&8» &7Lime stained clay: &325%%||&8» &7Light blue stained clay: &325%%||&8» &7Pink stained clay: &325%%||&8» &7Hardened clay: &325%%" to close then run [ execute console command "/agfs %player% P"]
  88. Else:
  89. format slot 29 of player with Gray Dye named "&4&lP" with lore "&7Adgang: &c%{adgang.rankP.%player%}%||&7Information om minen:||&8» &7Lime stained clay: &325%%||&8» &7Light blue stained clay: &325%%||&8» &7Pink stained clay: &325%%||&8» &7Hardened clay: &325%%" to close then run [ execute console command "/agfs %player% NONPwarp"]
  90. If player has permission "Qwarp":
  91. format slot 30 of player with Light Blue Dye named "&b&lQ" with lore "&7Adgang: &a%{adgang.rankQ.%player%}%||&7Information om minen:||&8» &7Diamond block: &320%%||&8» &7Emerald block: &320%%||&8» &7Gold block: &330%%||&8» &7Iron block: &330%%" to close then run [ execute console command "/agfs %player% Q"]
  92. Else:
  93. format slot 30 of player with Gray Dye named "&4&lQ" with lore "&7Adgang: &c%{adgang.rankQ.%player%}%||&7Information om minen:||&8» &7Diamond block: &320%%||&8» &7Emerald block: &320%%||&8» &7Gold block: &330%%||&8» &7Iron block: &330%%" to close then run [ execute console command "/agfs %player% NONQwarp"]
  94. If player has permission "Rwarp":
  95. format slot 31 of player with Light Blue Dye named "&b&lR" with lore "&7Adgang: &a%{adgang.rankR.%player%}%||&7Information om minen:||&8» &7Emerald Ore: &325%%||&8» &7Diamond Ore: &325%%||&8» &7Emerald block: &325%%||&8» &7Diamond block: &325%%" to close then run [ execute console command "/agfs %player% R"]
  96. Else:
  97. format slot 31 of player with Gray Dye named "&4&lR" with lore "&7Adgang: &c%{adgang.rankR.%player%}%||&7Information om minen:||&8» &7Emerald Ore: &325%%||&8» &7Diamond Ore: &325%%||&8» &7Emerald block: &325%%||&8» &7Diamond block: &325%%" to close then run [ execute console command "/agfs %player% NONRwarp"]
  98. If player has permission "Swarp":
  99. format slot 32 of player with Light Blue Dye named "&b&lS" with lore "&7Adgang: &a%{adgang.rankS.%player%}%||&7Information om minen:||&8» &7Diamond Ore: &315%%||&8» &7Emerald block: &340%%||&8» &7Diamond block: &345%%" to close then run [ execute console command "/agfs %player% S"]
  100. Else:
  101. format slot 32 of player with Gray Dye named "&4&lS" with lore "&7Adgang: &c%{adgang.rankS.%player%}%||&7Information om minen:||&8» &7Diamond Ore: &315%%||&8» &7Emerald block: &340%%||&8» &7Diamond block: &345%%" to close then run [ execute console command "/agfs %player% NONSwarp"]
  102. If player has permission "Twarp":
  103. format slot 33 of player with Light Blue Dye named "&b&lT" with lore "&7Adgang: &a%{adgang.rankT.%player%}%||&7Information om minen:||&8» &7Coal Ore: &350%%||&8» &7Coal block: &350%%" to close then run [ execute console command "/agfs %player% T"]
  104. Else:
  105. format slot 33 of player with Gray Dye named "&4&lT" with lore "&7Adgang: &c%{adgang.rankT.%player%}%||&7Information om minen:||&8» &7Coal Ore: &350%%||&8» &7Coal block: &350%%" to close then run [ execute console command "/agfs %player% NONTwarp"]
  106. If player has permission "Uwarp":
  107. format slot 34 of player with Light Blue Dye named "&b&lU" with lore "&7Adgang: &a%{adgang.rankU.%player%}%||&7Information om minen:||&8» &7Iron Block: &350%%||&8» &7Iron Block: &350%%" to close then run [ execute console command "/agfs %player% U"]
  108. Else:
  109. format slot 34 of player with Gray Dye named "&4&lU" with lore "&7Adgang: &c%{adgang.rankU.%player%}%||&7Information om minen:||&8» &7Iron Block: &350%%||&8» &7Iron Block: &350%%" to close then run [ execute console command "/agfs %player% NONUwarp"]
  110. If player has permission "Vwarp":
  111. format slot 37 of player with Light Blue Dye named "&b&lV" with lore "&7Adgang: &a%{adgang.rankV.%player%}%||&7Information om minen:||&8» &7Gold Ore: &350%%||&8» &7Gold Block: &350%%" to close then run [ execute console command "/agfs %player% V"]
  112. Else:
  113. format slot 37 of player with Gray Dye named "&4&lV" with lore "&7Adgang: &c%{adgang.rankV.%player%}%||&7Information om minen:||&8» &7Gold Ore: &350%%||&8» &7Gold Block: &350%%" to close then run [ execute console command "/agfs %player% NONVwarp"]
  114. If player has permission "Wwarp":
  115. format slot 38 of player with Light Blue Dye named "&b&lW" with lore "&7Adgang: &a%{adgang.rankW.%player%}%||&7Information om minen:||&8» &7Redstone Block: &350%%||&8» &7Redstone Ore: &350%%" to close then run [ execute console command "/agfs %player% W"]
  116. Else:
  117. format slot 38 of player with Gray Dye named "&4&lW" with lore "&7Adgang: &c%{adgang.rankW.%player%}%||&7Information om minen:||&8» &7Redstone Block: &350%%||&8» &7Redstone Ore: &350%%" to close then run [ execute console command "/agfs %player% NONWwarp"]
  118. If player has permission "Xwarp":
  119. format slot 39 of player with Light Blue Dye named "&b&lX" with lore "&7Adgang: &a%{adgang.rankX.%player%}%||&7Information om minen:||&8» &7Lapis Ore: &350%%||&8» &7Lapis Block: &350%%" to close then run [ execute console command "/agfs %player% X"]
  120. Else:
  121. format slot 39 of player with Gray Dye named "&4&lX" with lore "&7Adgang: &c%{adgang.rankX.%player%}%||&7Information om minen:||&8» &7Lapis Ore: &350%%||&8» &7Lapis Block: &350%%" to close then run [ execute console command "/agfs %player% NONXwarp"]
  122. If player has permission "Ywarp":
  123. format slot 40 of player with Light Blue Dye named "&b&lY" with lore "&7Adgang: &a%{adgang.rankY.%player%}%||&7Information om minen:||&8» &7Diamond Ore: &350%%||&8» &7Diamond Block: &350%%" to close then run [ execute console command "/agfs %player% Y"]
  124. Else:
  125. format slot 40 of player with Gray Dye named "&4&lY" with lore "&7Adgang: &c%{adgang.rankY.%player%}%||&7Information om minen:||&8» &7Diamond Ore: &350%%||&8» &7Diamond Block: &350%%" to close then run [ execute console command "/agfs %player% NONYwarp"]
  126. If player has permission "Zwarp":
  127. format slot 41 of player with Light Blue Dye named "&b&lZ" with lore "&7Adgang: &a%{adgang.rankZ.%player%}%||&7Information om minen:||&8» &7Emerald Ore: &350%%||&8» &7Emerald Block: &350%%" to close then run [ execute console command "/agfs %player% Z"]
  128. Else:
  129. format slot 41 of player with Gray Dye named "&4&lZ" with lore "&7Adgang: &c%{adgang.rankZ.%player%}%||&7Information om minen:||&8» &7Emerald Ore: &350%%||&8» &7Emerald Block: &350%%" to close then run [ execute console command "/agfs %player% NONZwarp"]
  130. If player has permission "plotverden":
  131. format slot 47 of player with chest named "&b&lPLOTS" with lore "&7Adgang: &a%{adgang.rankplotverden.%player%}%" to close then run [ execute console command "/agfs %player% plotverden"]
  132. Else:
  133. format slot 47 of player with chest named "&b&lPLOTS" with lore "&7Adgang: &c%{adgang.rankplotverden.%player%}%" to close then run [ execute console command "/agfs %player% NONplotverden"]
  134. If player has permission "Lukwarp":
  135. format slot 49 of player with barrier named "&c&lLUK" to close
  136. Else:
  137. format slot 49 of player with barrier named "&c&lLUK" to close
  138. If player has permission "donaterwarp":
  139. format slot 51 of player with 130 named "&b&lDONATER MINER" with lore "&7Klik her for at komme til ||&7en liste over donator minerne!||&7Adgang: &a%{adgang.rankdonater.%player%}%" to close then run [ execute player command "/donaterminemenu"]
  140. Else:
  141. format slot 51 of player with 130 named "&b&lDONATER MINER" with lore "&7Klik her for at komme til ||&7en liste over donator minerne!||&7Adgang: &c%{adgang.rankdonater.%player%}%" to close then run [ execute console command "/agfs %player% NONdonaterwarp"]
  142.  
  143. command /donaterminemenu:
  144. trigger:
  145. wait 3 ticks
  146. open chest with 3 rows named "&b&lDONATER MINER" to player
  147. wait 3 ticks
  148. loop integers from 0 to 8:
  149. format slot loop-number of player with cyan stained glass pane named " " to be unstealable
  150. format slot 9 of player with cyan stained glass pane named " " to be unstealable
  151. format slot 17 of player with cyan stained glass pane named " " to be unstealable
  152. loop integers from 18 to 26:
  153. format slot loop-number of player with cyan stained glass pane named " " to be unstealable
  154. If player has permission "mastermine":
  155. format slot 11 of player with 351:10 named "&a&lMASTER MINE" with lore "&7Adgang: &a%{adgang.rankmastermine.%player%}%" to close then run [ execute console command "/agfs %player% mastermine"]
  156. Else:
  157. format slot 11 of player with 351:10 named "&a&lMASTER MINE" with lore "&7Adgang: &c%{adgang.rankmastermine.%player%}%" to close then run [ execute console command "/agfs %player% NONmastermine"]
  158. If player has permission "elitemine":
  159. format slot 13 of player with 351:12 named "&b&lELITE MINE" with lore "&7Adgang: &a%{adgang.rankelitemine.%player%}%" to close then run [ execute console command "/agfs %player% elitemine"]
  160. Else:
  161. format slot 13 of player with 351:12 named "&b&lELITE MINE" with lore "&7Adgang: &c%{adgang.rankelitemine.%player%}%" to close then run [ execute console command "/agfs %player% NONelitemine"]
  162. If player has permission "promine":
  163. format slot 15 of player with 351:9 named "&d&lPRO MINE" with lore "&7Adgang: &a%{adgang.rankpromine.%player%}%" to close then run [ execute console command "/agfs %player% promine"]
  164. Else:
  165. format slot 15 of player with 351:9 named "&d&lPRO MINE" with lore "&7Adgang: &c%{adgang.rankpromine.%player%}%" to close then run [ execute console command "/agfs %player% NONpromine"]
  166.  
  167. Every 1 second:
  168. loop all players:
  169. If loop-player has permission "Default" or "Awarp":
  170. set {adgang.rankA.%loop-player%} to "Ja"
  171. Else:
  172. set {adgang.rankA.%loop-player%} to "Nej"
  173. If loop-player has permission "Bwarp":
  174. set {adgang.rankB.%loop-player%} to "Ja"
  175. Else:
  176. set {adgang.rankB.%loop-player%} to "Nej"
  177. If loop-player has permission "Cwarp":
  178. set {adgang.rankC.%loop-player%} to "Ja"
  179. Else:
  180. set {adgang.rankC.%loop-player%} to "Nej"
  181. If loop-player has permission "Dwarp":
  182. set {adgang.rankD.%loop-player%} to "Ja"
  183. Else:
  184. set {adgang.rankD.%loop-player%} to "Nej"
  185. If loop-player has permission "Ewarp":
  186. set {adgang.rankE.%loop-player%} to "Ja"
  187. Else:
  188. set {adgang.rankE.%loop-player%} to "Nej"
  189. If loop-player has permission "Fwarp":
  190. set {adgang.rankF.%loop-player%} to "Ja"
  191. Else:
  192. set {adgang.rankF.%loop-player%} to "Nej"
  193. If loop-player has permission "Gwarp":
  194. set {adgang.rankG.%loop-player%} to "Ja"
  195. Else:
  196. set {adgang.rankG.%loop-player%} to "Nej"
  197. If loop-player has permission "Hwarp":
  198. set {adgang.rankH.%loop-player%} to "Ja"
  199. Else:
  200. set {adgang.rankH.%loop-player%} to "Nej"
  201. If loop-player has permission "Iwarp":
  202. set {adgang.rankI.%loop-player%} to "Ja"
  203. Else:
  204. set {adgang.rankI.%loop-player%} to "Nej"
  205. If loop-player has permission "Jwarp":
  206. set {adgang.rankJ.%loop-player%} to "Ja"
  207. Else:
  208. set {adgang.rankJ.%loop-player%} to "Nej"
  209. If loop-player has permission "Kwarp":
  210. set {adgang.rankK.%loop-player%} to "Ja"
  211. Else:
  212. set {adgang.rankK.%loop-player%} to "Nej"
  213. If loop-player has permission "Lwarp":
  214. set {adgang.rankL.%loop-player%} to "Ja"
  215. Else:
  216. set {adgang.rankL.%loop-player%} to "Nej"
  217. If loop-player has permission "Mwarp":
  218. set {adgang.rankM.%loop-player%} to "Ja"
  219. Else:
  220. set {adgang.rankM.%loop-player%} to "Nej"
  221. If loop-player has permission "Nwarp":
  222. set {adgang.rankN.%loop-player%} to "Ja"
  223. Else:
  224. set {adgang.rankN.%loop-player%} to "Nej"
  225. If loop-player has permission "Owarp":
  226. set {adgang.rankO.%loop-player%} to "Ja"
  227. Else:
  228. set {adgang.rankO.%loop-player%} to "Nej"
  229. If loop-player has permission "Pwarp":
  230. set {adgang.rankP.%loop-player%} to "Ja"
  231. Else:
  232. set {adgang.rankP.%loop-player%} to "Nej"
  233. If loop-player has permission "Qwarp":
  234. set {adgang.rankQ.%loop-player%} to "Ja"
  235. Else:
  236. set {adgang.rankQ.%loop-player%} to "Nej"
  237. If loop-player has permission "Rwarp":
  238. set {adgang.rankR.%loop-player%} to "Ja"
  239. Else:
  240. set {adgang.rankR.%loop-player%} to "Nej"
  241. If loop-player has permission "Swarp":
  242. set {adgang.rankS.%loop-player%} to "Ja"
  243. Else:
  244. set {adgang.rankS.%loop-player%} to "Nej"
  245. If loop-player has permission "Twarp":
  246. set {adgang.rankT.%loop-player%} to "Ja"
  247. Else:
  248. set {adgang.rankT.%loop-player%} to "Nej"
  249. If loop-player has permission "Uwarp":
  250. set {adgang.rankU.%loop-player%} to "Ja"
  251. Else:
  252. set {adgang.rankU.%loop-player%} to "Nej"
  253. If loop-player has permission "Vwarp":
  254. set {adgang.rankV.%loop-player%} to "Ja"
  255. Else:
  256. set {adgang.rankV.%loop-player%} to "Nej"
  257. If loop-player has permission "Wwarp":
  258. set {adgang.rankW.%loop-player%} to "Ja"
  259. Else:
  260. set {adgang.rankW.%loop-player%} to "Nej"
  261. If loop-player has permission "Xwarp":
  262. set {adgang.rankX.%loop-player%} to "Ja"
  263. Else:
  264. set {adgang.rankX.%loop-player%} to "Nej"
  265. If loop-player has permission "Ywarp":
  266. set {adgang.rankY.%loop-player%} to "Ja"
  267. Else:
  268. set {adgang.rankY.%loop-player%} to "Nej"
  269. If loop-player has permission "Zwarp":
  270. set {adgang.rankZ.%loop-player%} to "Ja"
  271. Else:
  272. set {adgang.rankZ.%loop-player%} to "Nej"
  273. If loop-player has permission "donaterwarp":
  274. set {adgang.rankdonater.%loop-player%} to "Ja"
  275. Else:
  276. set {adgang.rankdonater.%loop-player%} to "Nej"
  277. If loop-player has permission "mastermine":
  278. set {adgang.rankmastermine.%loop-player%} to "Ja"
  279. Else:
  280. set {adgang.rankmastermine.%loop-player%} to "Nej"
  281. If loop-player has permission "elitemine":
  282. set {adgang.rankelitemine.%loop-player%} to "Ja"
  283. Else:
  284. set {adgang.rankelitemine.%loop-player%} to "Nej"
  285. If loop-player has permission "promine":
  286. set {adgang.rankpromine.%loop-player%} to "Ja"
  287. Else:
  288. set {adgang.rankpromine.%loop-player%} to "Nej"
  289. If loop-player has permission "plotverden":
  290. set {adgang.rankplotwarp.%loop-player%} to "Ja"
  291. Else:
  292. set {adgang.rankplotwarp.%loop-player%} to "Nej"
  293.  
  294.  
  295.  
  296.  
  297.  
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304.  
  305.  
  306. command /agfs <offline player> <text>:
  307. executable by: console
  308. trigger:
  309. If arg 2 is "A":
  310. send "&a[!] &7Warper til &a%arg 2%" to arg 1
  311. teleport arg 1 to {warp.%arg 2%}
  312. stop
  313. If arg 2 is "NONAwarp":
  314. send "&c[!] &7Du har ikke adgang til denne mine." to arg 1
  315. stop
  316. If arg 2 is "B":
  317. send "&a[!] &7Warper til &a%arg 2%" to arg 1
  318. teleport arg 1 to {warp.%arg 2%}
  319. stop
  320. If arg 2 is "NONBwarp":
  321. send "&c[!] &7Du har ikke adgang til denne mine." to arg 1
  322. stop
  323. If arg 2 is "C":
  324. send "&a[!] &7Warper til &a%arg 2%" to arg 1
  325. teleport arg 1 to {warp.%arg 2%}
  326. stop
  327. If arg 2 is "NONCwarp":
  328. send "&c[!] &7Du har ikke adgang til denne mine." to arg 1
  329. stop
  330. If arg 2 is "D":
  331. send "&a[!] &7Warper til &a%arg 2%" to arg 1
  332. teleport arg 1 to {warp.%arg 2%}
  333. stop
  334. If arg 2 is "NONDwarp":
  335. send "&c[!] &7Du har ikke adgang til denne mine." to arg 1
  336. stop
  337. If arg 2 is "E":
  338. send "&a[!] &7Warper til &a%arg 2%" to arg 1
  339. teleport arg 1 to {warp.%arg 2%}
  340. stop
  341. If arg 2 is "NONEwarp":
  342. send "&c[!] &7Du har ikke adgang til denne mine." to arg 1
  343. stop
  344. If arg 2 is "F":
  345. send "&a[!] &7Warper til &a%arg 2%" to arg 1
  346. teleport arg 1 to {warp.%arg 2%}
  347. stop
  348. If arg 2 is "NONFwarp":
  349. send "&c[!] &7Du har ikke adgang til denne mine." to arg 1
  350. stop
  351. If arg 2 is "G":
  352. send "&a[!] &7Warper til &a%arg 2%" to arg 1
  353. teleport arg 1 to {warp.%arg 2%}
  354. stop
  355. If arg 2 is "NONGwarp":
  356. send "&c[!] &7Du har ikke adgang til denne mine." to arg 1
  357. stop
  358. If arg 2 is "H":
  359. send "&a[!] &7Warper til &a%arg 2%" to arg 1
  360. teleport arg 1 to {warp.%arg 2%}
  361. stop
  362. If arg 2 is "NONHwarp":
  363. send "&c[!] &7Du har ikke adgang til denne mine." to arg 1
  364. stop
  365. If arg 2 is "I":
  366. send "&a[!] &7Warper til &a%arg 2%" to arg 1
  367. teleport arg 1 to {warp.%arg 2%}
  368. stop
  369. If arg 2 is "NONIwarp":
  370. send "&c[!] &7Du har ikke adgang til denne mine." to arg 1
  371. stop
  372. If arg 2 is "J":
  373. send "&a[!] &7Warper til &a%arg 2%" to arg 1
  374. teleport arg 1 to {warp.%arg 2%}
  375. stop
  376. If arg 2 is "NONJwarp":
  377. send "&c[!] &7Du har ikke adgang til denne mine." to arg 1
  378. stop
  379. If arg 2 is "K":
  380. send "&a[!] &7Warper til &a%arg 2%" to arg 1
  381. teleport arg 1 to {warp.%arg 2%}
  382. stop
  383. If arg 2 is "NONKwarp":
  384. send "&c[!] &7Du har ikke adgang til denne mine." to arg 1
  385. stop
  386. If arg 2 is "L":
  387. send "&a[!] &7Warper til &a%arg 2%" to arg 1
  388. teleport arg 1 to {warp.%arg 2%}
  389. stop
  390. If arg 2 is "NONLwarp":
  391. send "&c[!] &7Du har ikke adgang til denne mine." to arg 1
  392. stop
  393. If arg 2 is "M":
  394. send "&a[!] &7Warper til &a%arg 2%" to arg 1
  395. teleport arg 1 to {warp.%arg 2%}
  396. stop
  397. If arg 2 is "NONMwarp":
  398. send "&c[!] &7Du har ikke adgang til denne mine." to arg 1
  399. stop
  400. If arg 2 is "N":
  401. send "&a[!] &7Warper til &a%arg 2%" to arg 1
  402. teleport arg 1 to {warp.%arg 2%}
  403. stop
  404. If arg 2 is "NONNwarp":
  405. send "&c[!] &7Du har ikke adgang til denne mine." to arg 1
  406. stop
  407. If arg 2 is "O":
  408. send "&a[!] &7Warper til &a%arg 2%" to arg 1
  409. teleport arg 1 to {warp.%arg 2%}
  410. stop
  411. If arg 2 is "NONOwarp":
  412. send "&c[!] &7Du har ikke adgang til denne mine." to arg 1
  413. stop
  414. If arg 2 is "P":
  415. send "&a[!] &7Warper til &a%arg 2%" to arg 1
  416. teleport arg 1 to {warp.%arg 2%}
  417. stop
  418. If arg 2 is "NONPwarp":
  419. send "&c[!] &7Du har ikke adgang til denne mine." to arg 1
  420. stop
  421. If arg 2 is "Q":
  422. send "&a[!] &7Warper til &a%arg 2%" to arg 1
  423. teleport arg 1 to {warp.%arg 2%}
  424. stop
  425. If arg 2 is "NONQwarp":
  426. send "&c[!] &7Du har ikke adgang til denne mine." to arg 1
  427. stop
  428. If arg 2 is "R":
  429. send "&a[!] &7Warper til &a%arg 2%" to arg 1
  430. teleport arg 1 to {warp.%arg 2%}
  431. stop
  432. If arg 2 is "NONRwarp":
  433. send "&c[!] &7Du har ikke adgang til denne mine." to arg 1
  434. stop
  435. If arg 2 is "S":
  436. send "&a[!] &7Warper til &a%arg 2%" to arg 1
  437. teleport arg 1 to {warp.%arg 2%}
  438. stop
  439. If arg 2 is "NONSwarp":
  440. send "&c[!] &7Du har ikke adgang til denne mine." to arg 1
  441. stop
  442. If arg 2 is "T":
  443. send "&a[!] &7Warper til &a%arg 2%" to arg 1
  444. teleport arg 1 to {warp.%arg 2%}
  445. stop
  446. If arg 2 is "NONTwarp":
  447. send "&c[!] &7Du har ikke adgang til denne mine." to arg 1
  448. stop
  449. If arg 2 is "U":
  450. send "&a[!] &7Warper til &a%arg 2%" to arg 1
  451. teleport arg 1 to {warp.%arg 2%}
  452. stop
  453. If arg 2 is "NONUwarp":
  454. send "&c[!] &7Du har ikke adgang til denne mine." to arg 1
  455. stop
  456. If arg 2 is "V":
  457. send "&a[!] &7Warper til &a%arg 2%" to arg 1
  458. teleport arg 1 to {warp.%arg 2%}
  459. stop
  460. If arg 2 is "NONVwarp":
  461. send "&c[!] &7Du har ikke adgang til denne mine." to arg 1
  462. stop
  463. If arg 2 is "W":
  464. send "&a[!] &7Warper til &a%arg 2%" to arg 1
  465. teleport arg 1 to {warp.%arg 2%}
  466. stop
  467. If arg 2 is "NONWwarp":
  468. send "&c[!] &7Du har ikke adgang til denne mine." to arg 1
  469. stop
  470. If arg 2 is "X":
  471. send "&a[!] &7Warper til &a%arg 2%" to arg 1
  472. teleport arg 1 to {warp.%arg 2%}
  473. stop
  474. If arg 2 is "NONXwarp":
  475. send "&c[!] &7Du har ikke adgang til denne mine." to arg 1
  476. stop
  477. If arg 2 is "Y":
  478. send "&a[!] &7Warper til &a%arg 2%" to arg 1
  479. teleport arg 1 to {warp.%arg 2%}
  480. stop
  481. If arg 2 is "NONYwarp":
  482. send "&c[!] &7Du har ikke adgang til denne mine." to arg 1
  483. stop
  484. If arg 2 is "Z":
  485. send "&a[!] &7Warper til &a%arg 2%" to arg 1
  486. teleport arg 1 to {warp.%arg 2%}
  487. stop
  488. If arg 2 is "NONZwarp":
  489. send "&c[!] &7Du har ikke adgang til denne mine." to arg 1
  490. stop
  491. If arg 2 is "plotverden":
  492. send "&a[!] &7Warper til &a%arg 2%" to arg 1
  493. teleport arg 1 to {warp.%arg 2%}
  494. stop
  495. If arg 2 is "NONplotverden":
  496. send "&c[!] &7Du har ikke adgang til denne verden." to arg 1
  497. stop
  498. If arg 2 is "mastermine":
  499. send "&a[!] &7Warper til &a%arg 2%" to arg 1
  500. teleport arg 1 to {warp.%arg 2%}
  501. stop
  502. If arg 2 is "NONmastermine":
  503. send "&c[!] &7Du har ikke adgang til denne mine." to arg 1
  504. stop
  505. If arg 2 is "elitemine":
  506. send "&a[!] &7Warper til &a%arg 2%" to arg 1
  507. teleport arg 1 to {warp.%arg 2%}
  508. stop
  509. If arg 2 is "NONelitemine":
  510. send "&c[!] &7Du har ikke adgang til denne mine." to arg 1
  511. stop
  512. If arg 2 is "promine":
  513. send "&a[!] &7Warper til &a%arg 2%" to arg 1
  514. teleport arg 1 to {warp.%arg 2%}
  515. stop
  516. If arg 2 is "NONpromine":
  517. send "&c[!] &7Du har ikke adgang til denne mine." to arg 1
  518. stop
  519.  
  520. command /setwarp <text>:
  521. permission: *
  522. trigger:
  523. set {warp.%arg 1%} to location of player
  524. message "&6%arg 1% er nu sat!"
  525. stop
  526.  
  527.  
  528. command /fjernwarp <text>:
  529. permission: *
  530. trigger:
  531. message "&6%arg 1% er nu fjernet!"
  532. delete {warp.%arg 1%}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement