Advertisement
nunonuno_riku

Untitled

Jun 21st, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.25 KB | None | 0 0
  1. command /admingui:
  2. permission: skript.admin
  3. trigger:
  4. message "&f[&cAdminGUI&f]&7<--Permissions-->"
  5. message "&f[&cAdminGUI&f]&7- admingui.use"
  6. message "&f------------------------------"
  7. message "&f[&cAdminGUI&f]&7<--Aliases-->"
  8. message "&f[&cAdminGUI&f]&7- /a"
  9. message "&f[&cAdminGUI&f]&7- /mod"
  10. message "&f[&cAdminGUI&f]&7- /admin"
  11.  
  12. command /admin:
  13. usage: &b/admin
  14. aliases: /a, /mod
  15. trigger:
  16. player has permissions "admingui.use":
  17. open chest with 5 rows named "&1&lAdminGUI" to player
  18. format slot 1 of player with 351:10 named "&cDifficulty| &2- Peaceful" to close then run [execute player command "/dp"]
  19. format slot 3 of player with 351:2 named "&cDifficulty| &2- Easy" to close then run [execute player command "/de"]
  20. format slot 5 of player with 351:4 named "&cDifficulty| &2- Normal" to close then run [execute player command "/dn"]
  21. format slot 7 of player with 351:1 named "&cDifficulty| &2- Hard" to close then run [execute player command "/dh"]
  22.  
  23. format slot 10 of player with 2 named "&cGamemode| &2- Survival" to close then run [execute player command "/gms"]
  24. format slot 12 of player with 399 named "&cGamemode| &2- Creative" to close then run [execute player command "/gmc"]
  25. format slot 14 of player with 17 named "&cGamemode| &2- Adventure" to close then run [execute player command "/gma"]
  26. format slot 16 of player with 20 named "&cGamemode| &2- Spectator" to close then run [execute player command "/gmss"]
  27.  
  28. format slot 38 of player with 175 named "&cWeather| &2- Sun" to close then run [execute player command "/ws"]
  29. format slot 40 of player with 326 named "&cWeather| &2- Rain" to close then run [execute player command "/wr"]
  30. format slot 42 of player with 352 named "&cWeather| &2- Thunder" to close then run [execute player command "/wt"]
  31.  
  32. format slot 26 of player with 35:3 named "&cTime| &2- Day" to close then run [execute player command "/tsd"]
  33. format slot 24 of player with 35:15 named "&cTime| &2- Night" to close then run [execute player command "/tsn"]
  34.  
  35. format slot 18 of player with 339 named "&cWhitelist | &2-On" to close then run [execute player command "/wlon"]
  36. format slot 20 of player with 351:15 named "&cWhitelist | &2-Off" to close then run [execute player command "/wloff"]
  37. else:
  38. message "&cYou dont have Permissions"
  39.  
  40.  
  41. command /gmss:
  42. trigger:
  43. player has permissions "admingui.use":
  44. command "gamemode 3 %player%"
  45. message "&f[&cAdminGUI&f] &4Spectator Mode"
  46. else:
  47. message "&cYou dont have Permissions"
  48. command /gma:
  49. trigger:
  50. player has permissions "admingui.use":
  51. command "gamemode 2 %player%"
  52. message "&f[&cAdminGUI&f] &4Adventure Mode"
  53. else:
  54. message "&cYou dont have Permissions"
  55. command /gmc:
  56. trigger:
  57. player has permissions "admingui.use":
  58. command "gamemode 1 %player%"
  59. message "&f[&cAdminGUI&f] &4Creative Mode"
  60. else:
  61. message "&cYou dont have Permissions"
  62. command /gms:
  63. trigger:
  64. player has permissions "admingui.use":
  65. command "gamemode 0 %player%"
  66. message "&f[&cAdminGUI&f] &4Survival Mode"
  67. else:
  68. message "&cYou dont have Permissions"
  69.  
  70.  
  71.  
  72. command /ws:
  73. trigger:
  74. player has permissions "admingui.use":
  75. command "weather sun"
  76. message "&f[&cAdminGUI&f] &4Weather to Sun"
  77. else:
  78. message "&cYou dont have Permissions"
  79. command /wr:
  80. trigger:
  81. player has permissions "admingui.use":
  82. command "weather rain"
  83. message "&f[&cAdminGUI&f] &4Weather to Rain"
  84. else:
  85. message "&cYou dont have Permissions"
  86. command /wt:
  87. trigger:
  88. player has permissions "admingui.use":
  89. command "weather thunder"
  90. message "&f[&cAdminGUI&f] &4Weather to Thunder"
  91. else:
  92. message "&cYou dont have Permissions"
  93.  
  94.  
  95. command /dp:
  96. trigger:
  97. player has permissions "admingui.use":
  98. command "difficulty 0"
  99. message "&f[&cAdminGUI&f] &4Difficulty Peaceful"
  100. else:
  101. message "&cYou dont have Permissions"
  102. command /de:
  103. trigger:
  104. player has permissions "admingui.use":
  105. command "difficulty 1"
  106. message "&f[&cAdminGUI&f] &4Difficulty Easy"
  107. else:
  108. message "&cYou dont have Permissions"
  109. command /dn:
  110. trigger:
  111. player has permissions "admingui.use":
  112. command "difficulty 2"
  113. message "&f[&cAdminGUI&f] &4Difficulty Normal"
  114. else:
  115. message "&cYou dont have Permissions"
  116. command /dh:
  117. trigger:
  118. player has permissions "admingui.use":
  119. command "difficulty 3"
  120. message "&f[&cAdminGUI&f] &4Difficulty Hard"
  121. else:
  122. message "&cYou dont have Permissions"
  123.  
  124. command /tsd:
  125. trigger:
  126. player has permissions "admingui.use":
  127. command "time set day"
  128. message "&f[&cAdminGUI&f] &4Time is Day"
  129. else:
  130. message "&cYou dont have Permissions"
  131.  
  132. command /tsn:
  133. trigger:
  134. player has permissions "admingui.use":
  135. command "time set night"
  136. message "&f[&cAdminGUI&f] &4Time is Night"
  137. else:
  138. message "&cYou dont have Permissions"
  139.  
  140. command /wloff:
  141. trigger:
  142. player has permissions "admingui.use":
  143. command "Whitelist off"
  144. message "&f[&cAdminGUI&f] &4Whitelist is off"
  145. else:
  146. message "&cYou dont have Permissions"
  147.  
  148. command /wlon:
  149. trigger:
  150. player has permissions "admingui.use":
  151. command "whitelist on"
  152. message "&f[&cAdminGUI&f] &4Whitelist is on"
  153. else:
  154. message "&cYou dont have Permissions"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement