ArtzifyHD

Vote And Factions GUI

Aug 14th, 2017
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.58 KB | None | 0 0
  1. #=== Prevention ===
  2. options:
  3. version: 1.0
  4. prefix: &a&lVOTE &8&l» &c
  5. link: &a&lLINK &8&l» &c
  6.  
  7. linktwo: &7Coming Soon
  8. linkthree: &7Coming Soon
  9.  
  10. On craft of golden apple:
  11. cancel the event
  12. send "&e&l(!) &eYou are not allowed to craft a &eGolden Apple" to the player
  13. On craft of ender chest:
  14. cancel event
  15. send "&e&l(!) &eYou are not allowed to craft an &dEnder Chest" to the player
  16. On craft of TNT:
  17. cancel event
  18. send "&e&l(!) &eYou are not allowed to craft &fT&4N&fT" to the player
  19.  
  20. #=== Enderpearl cooldown ===
  21. on rightclick with ender pearl:
  22. {time.%player%.lastused} was less than 15 seconds ago:
  23. set {time} to difference between {time.%player%.lastused} and now
  24. if {time} is less than 15 seconds:
  25. set {time} to difference between {time} and 15 seconds
  26. message "&e&l(!) &eYou cannot throw another enderpearl for &6%{time}%&f"
  27. cancel event
  28. stop
  29. set {time.%player%.lastused} to now
  30. if loop-player is wearing all iron armor:
  31. apply haste 2 to loop-player for 5 seconds
  32.  
  33. #=======================================================
  34. # IconicF | Factions GUI System =
  35. # by Ghastblasters / Paid by MCMart =
  36. #=======================================================
  37.  
  38.  
  39. #on load:
  40. #loop all players:
  41. #if player is op:
  42. #send message "&8[&bFactions&3X&8]&7 loaded skript"
  43.  
  44.  
  45. Command /ff:
  46. permission: iconicf.menu
  47. trigger:
  48. open chest with 3 rows named "&8[&bFactions&3X&8]&7 Faction GUI" to player
  49. wait 2 tick
  50. format slot 0 of player with gray stained glass pane named "&8Click to close" to close
  51. format slot 1 of player with gray stained glass pane named "&8Click to close" to close
  52. format slot 2 of player with gray stained glass pane named "&8Click to close" to close
  53. format slot 3 of player with gray stained glass pane named "&8Click to close" to close
  54. format slot 4 of player with gray stained glass pane named "&8Click to close" to close
  55. format slot 5 of player with gray stained glass pane named "&8Click to close" to close
  56. format slot 6 of player with gray stained glass pane named "&8Click to close" to close
  57. format slot 7 of player with gray stained glass pane named "&8Click to close" to close
  58. format slot 8 of player with gray stained glass pane named "&8Click to close" to close
  59. format slot 9 of player with gray stained glass pane named "&8Click to close" to close
  60. format slot 10 of player with grass named "&2Teleport to factions home" to run [make player execute command "/f home"]
  61. format slot 11 of player with dirt named "&2Set factions home" to run [make player execute command "/f sethome"]
  62. format slot 12 of player with fence named "&6Claim faction land" to run [make player execute command "/ffclaim"]
  63. format slot 13 of player with paper named "&6Faction map" to run [make player execute command "/f map"]
  64. format slot 14 of player with diamond sword named "&5Faction Stats" to run [make player execute command "/f who"]
  65. format slot 15 of player with torch named "&7Faction Help" to run [make player execute command "/f help"]
  66. format slot 16 of player with 166 named "&cLeave Faction" to run [make player execute command "/f leave"]
  67. format slot 17 of player with gray stained glass pane named "&8Click to close" to close
  68. format slot 18 of player with gray stained glass pane named "&8Click to close" to close
  69. format slot 19 of player with gray stained glass pane named "&8Click to close" to close
  70. format slot 20 of player with gray stained glass pane named "&8Click to close" to close
  71. format slot 21 of player with gray stained glass pane named "&8Click to close" to close
  72. format slot 22 of player with gray stained glass pane named "&8Click to close" to close
  73. format slot 23 of player with gray stained glass pane named "&8Click to close" to close
  74. format slot 24 of player with gray stained glass pane named "&8Click to close" to close
  75. format slot 25 of player with gray stained glass pane named "&8Click to close" to close
  76. format slot 26 of player with gray stained glass pane named "&8Click to close" to close
  77.  
  78.  
  79.  
  80. Command /ffclaim:
  81. permission: iconicf.menu.claim
  82. trigger:
  83. open chest with 3 rows named "&8[&bFactions&3X&8]&7 Faction GUI" to player
  84. wait 2 tick
  85. format slot 0 of player with gray stained glass pane named "&8Click to close" to close
  86. format slot 1 of player with gray stained glass pane named "&8Click to close" to close
  87. format slot 2 of player with gray stained glass pane named "&8Click to close" to close
  88. format slot 3 of player with gray stained glass pane named "&8Click to close" to close
  89. format slot 4 of player with gray stained glass pane named "&8Click to close" to close
  90. format slot 5 of player with gray stained glass pane named "&8Click to close" to close
  91. format slot 6 of player with gray stained glass pane named "&8Click to close" to close
  92. format slot 7 of player with gray stained glass pane named "&8Click to close" to close
  93. format slot 8 of player with gray stained glass pane named "&8Click to close" to close
  94. format slot 9 of player with gray stained glass pane named "&8Click to close" to close
  95. format slot 10 of player with gray stained glass pane named "&8Click to close" to close
  96. format slot 11 of player with grass named "&aClaim &21&a chunk" to run [make player execute command "/f claim 1"]
  97. format slot 12 of player with grass named "&aClaim &29&a chunk" to run [make player execute command "/f claim 2"]
  98. format slot 13 of player with grass named "&aClaim &225&a chunk" to run [make player execute command "/f claim 3"]
  99. format slot 14 of player with grass named "&aClaim &249&a chunk" to run [make player execute command "/f claim 4"]
  100. format slot 15 of player with grass named "&aClaim &281&a chunk" to run [make player execute command "/f claim 5"]
  101. format slot 16 of player with gray stained glass pane named "&8Click to close" to close
  102. format slot 17 of player with gray stained glass pane named "&8Click to close" to close
  103. format slot 18 of player with gray stained glass pane named "&8Click to close" to close
  104. format slot 19 of player with gray stained glass pane named "&8Click to close" to close
  105. format slot 20 of player with gray stained glass pane named "&8Click to close" to close
  106. format slot 21 of player with gray stained glass pane named "&8Click to close" to close
  107. format slot 22 of player with gray stained glass pane named "&8Click to close" to close
  108. format slot 23 of player with gray stained glass pane named "&8Click to close" to close
  109. format slot 24 of player with gray stained glass pane named "&8Click to close" to close
  110. format slot 25 of player with gray stained glass pane named "&8Click to close" to close
  111. format slot 26 of player with gray stained glass pane named "&8Click to close" to close
  112. command /vote1:
  113. trigger:
  114. message "&8&l&m---&f&l*&8&l&m----------------------&f&l*&8&l&m---"
  115. execute console command "/tellraw %player% {""text"":""&bhttp://minecraftservers.org/server/453227"",""clickEvent"":{""action"":""open_url"",""value"":""http://minecraftservers.org/server/453227""},""hoverEvent"":{""action"":""show_text"",""value"":""&bClick to vote!""}}"
  116. message "{@linktwo}"
  117. message "{@linkthree}"
  118. message "&8&l&m---&f&l*&8&l&m----------------------&f&l*&8&l&m---"
Advertisement
Add Comment
Please, Sign In to add comment