moeycvbn12

Untitled

Dec 16th, 2017
372
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.78 KB | None | 0 0
  1. #**********************************************#
  2. #* *#
  3. #* Created By *#
  4. #* ProfCube *#
  5. #* *#
  6. #* V1.0 *#
  7. #* This Skript is to help *#
  8. #* server owner on Minehut *#
  9. #* to get simple Skripts done *#
  10. #* *#
  11. #**********************************************#
  12.  
  13. on skript start:
  14. loop 100 times:
  15. wait 3 minutes
  16. broadcast "§b§LSkyNation §e» §aThis server is running &c&lCallMeDevelopers's &eSkripts, &dIf you want a skript message him.
  17.  
  18. on chat:
  19. if {mute.chat} is true:
  20. if player has permission "chat.enable":
  21. stop
  22. else:
  23. message "&8[&9&lChat&8] §cYou can not talk while the chat is muted!"
  24. cancel event
  25.  
  26. options:
  27. version: Version: 2.2
  28. version2: 2.2
  29. prefix: &9Chat>&r
  30. usage: &9Usage>&r
  31. quitmessage: &9[&3&lStaff&9] &r%player% &3has left the server!
  32.  
  33. #+------------------------------+
  34. # Section 1: Custom Help Message
  35. #+------------------------------+
  36. #Permissions
  37. #+ essentials.help / gives access to show permissions
  38.  
  39.  
  40.  
  41.  
  42. command /help [<text>]:
  43. permission: essentials.help
  44. permission message: {@prefix} &7You do not have permission to execute this command!
  45. aliases: /h, /elp, /hlp, /hep, /pleh, /?
  46. trigger:
  47. if arg 1 is not set:
  48. message "&8&m------------&6Help &c1&6/&c2&8&m------------"
  49. message "&4PermissionsEx&f: Plugin Help: /help permissionsex"
  50. message "&4Skript&f: Plugin Help: /help skript"
  51. message "&4Vault&f: Plugin Help: /help Vault"
  52. message "&4Essentials&f: Plugin Help: /help essentials"
  53. message "&6/pex&f: Permission ladder promotion commands and information."
  54. message "&6/promote&f: Permission ladder promotion command."
  55. message "&6/demote&f: Permision ladder demotion command."
  56. message "&6/skript&f: Skript's main command. Type '/skript help' for more information."
  57. message "&6/vault-info&f: Displays information about Vault"
  58. message "&8&m------------&6Help &c1&6/&c2&8&m------------"
  59. if arg 1 is "1":
  60. execute player command "/help"
  61. if arg 1 is "2":
  62. message "&8&m------------&6Help &c1&6/&c2&8&m------------"
  63. message "&6/vault-convert&f: Converts all data in economy1 and dumps it in to economy2"
  64. message "&6/afk&f: Marks you as away-from-keybord."
  65. message "&6/abtioch&f: A little surprise for operators."
  66. message "&6/back&f: Teleports you to your location prior to tp/spawn/warp."
  67. message "&6/backup&f: Runs the backup if configured."
  68. message "&6/balance&f: States the current balance of a player."
  69. message "&6/balancetop&f: Gets the top balance values."
  70. message "&6/ban&f: Bans a player."
  71. message "&6/banip&f: Bans and IP address."
  72. message "&8&m------------&6Help &c1&6/&c2&8&m------------"
  73. if arg 1 is "info":
  74. message "&8&m---------------&9&lINFO&8&m---------------"
  75. message ""
  76. message " &9Created By "
  77. message " &9ProfCube "
  78. message " "
  79. message " &9V1.0 "
  80. message " &9You are not allowed to take "
  81. message " &9credit for this skript "
  82. message " &9or say its yours "
  83. message " "
  84. message ""
  85. message "&8&m---------------&9&lINFO&8&m---------------"
  86.  
  87.  
  88. #+------------------------------+
  89. # Section 1: Staff Join/Quit
  90. #+------------------------------+
  91. #Permissions
  92. #+ staff.join / shows that on join that a staff got on
  93. #+ staff.quit / shows that a staff left
  94.  
  95.  
  96. on join:
  97. player has permission "staff.join"
  98. broadcast "&9[&3&lStaff&9] &r%player% &3has joined the server!"
  99.  
  100. on quit:
  101. player has permission "staff.quit"
  102. broadcast "{@quitmessage}"
  103.  
  104.  
  105.  
  106. #+------------------------------+
  107. # Section 2: Staff Join/Quit
  108. #+------------------------------+
  109.  
  110. #Permissions
  111. #+ staff.list / ability to use /staff
  112. #+ list.staff / shows all the staff on /staff
  113.  
  114.  
  115. command /staff:
  116. description: See official staff members online.
  117. trigger:
  118. loop all players:
  119. loop-player has permission "staff.list"
  120. add loop-player to {_online staff::*}
  121.  
  122. size of {_online staff::*} is 0:
  123. message "&8[&9&lSTAFF&8] &7There are no staff &bonline &7at the moment!"
  124. else:
  125. message "&8[&9&lSTAFF&8] &b%{_online staff::*}%"
  126.  
  127.  
  128.  
  129.  
  130. #+------------------------------+
  131. # Section 2: Staff Join/Quit
  132. #+------------------------------+
  133.  
  134. #Permissions
  135. #+ clear.chat / clears chat
  136. #+ lock.chat / locks chat
  137. #+ unlock.chat / unlocks chat
  138. #+ chat.enable / Enables Players to talk in chat (Give this mostly to staff)
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145. command /clearchat:
  146. permission: clear.chat
  147. permission message: &cYou do not have access to this command.
  148. aliases: /clearchat, /cc, /cchat
  149. trigger:
  150. loop 150 times:
  151. broadcast ""
  152. broadcast "&7Chat has been cleared by &9%player%"
  153.  
  154. command /lockchat:
  155. permission: lock.chat
  156. permission message: &cYou do not have access to this command.
  157. aliases: lc
  158. trigger:
  159. broadcast "{@prefix} §7The chat is now §cLocked."
  160. set {mute.chat} to true
  161.  
  162. command /unlockchat:
  163. permission: unlock.chat
  164. permission message: &cYou do not have access to this command.
  165. aliases: ulc
  166. trigger:
  167. broadcast "{@prefix} §7The chat is now §aUnlocked!"
  168. set {mute.chat} to false
Advertisement
Add Comment
Please, Sign In to add comment