Advertisement
CREAMPAN0408

Untitled

May 2nd, 2019
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.52 KB | None | 0 0
  1. Options:
  2. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
  3. #tag
  4. tag: &5[&bTAG&5]
  5. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
  6. #Log and Permission
  7. perm: LostOfStories.admin
  8. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
  9. #Prefix
  10. system: &9≫
  11. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
  12. #Death Message
  13. pvpdeathmessage: &8[&4Death&8] &c%victim% &9≪ &6%attacker% &8| &f%name of attacker's tool%
  14. notooldeathmessage: &8[&4Death&8] &c%victim% &9≪ &6%attacker%
  15. pvedeathmessage: &8[&4Death&8] &c%victim% &9≪ &8[&f%attacker's name%&8&l]
  16. nonamepvedeathmessage: &8[&4Death&8] &c%victim% &9≪ &8[&f%attacker%&8]
  17. otherdeathmessage: &8[&4Death&8] &c%victim%
  18. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
  19. every 2 second:
  20. loop all players:
  21. set name of sidebar of loop-player to "&9- &cLost&2Of&6Stories &9-"
  22. set score "&9" in sidebar of loop-player to 9
  23. set score "&e-&c=&bDISCORD&c=&e-" in sidebar of loop-player to 8
  24. set score "&7https://discord.gg/48wbQ8t" in sidebar of loop-player to 7
  25. set score "&9" in sidebar of loop-player to 6
  26. set score "&8- &2&l&oお知らせ &8-" in sidebar of loop-player to 5
  27. set score "&e製作中です(´・ω・`)" in sidebar of loop-player to 3
  28. set score "&e何にも無いんです" in sidebar of loop-player to 2
  29. set score "&e勘弁してください" in sidebar of loop-player to 1
  30. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
  31. On death of player:
  32. attacker is a player:
  33. if name of attacker's tool is set:
  34. set the death message to "{@pvpdeathmessage}"
  35. else:
  36. set the death message to "{@notooldeathmessage}"
  37. stop
  38. attacker is an entity:
  39. if attacker's name is set:
  40. set the death message to "{@pvedeathmessage}"
  41. else:
  42. set the death message to "{@nonamepvedeathmessage}"
  43. stop
  44. set the death message to "{@otherdeathmessage}"
  45. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
  46. command /c:
  47. permission: {@perm}
  48. trigger:
  49. give command block to player
  50. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
  51. command /close:
  52. permission: skript.admin
  53. trigger:
  54. command "/whitelist on"
  55. loop all players:
  56. loop-player is not an op
  57. kick the loop-player due to "this server is not open to pulic"
  58. message "this server is not open to public now"
  59. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
  60. every 2 seconds:
  61. loop all players:
  62. clear {autoclickertestclicks.%loop-player%}
  63. set {autoclickertest.%loop-player%} to true
  64. wait 1 second
  65. set {autoclickertest.%loop-player%} to false
  66. if {autoclickertestclicks.%loop-player%} > 19:
  67. if {antiautomode} is "on":
  68. execute console command "/ban %loop-player% &6Autoclicker [%{autoclickertestclicks.%loop-player%}% clicks]"
  69. stop
  70. if {antiautomode} is "off":
  71. stop
  72. if {antiautomode} is "alert":
  73. execute console command "/alert %loop-player% %{autoclickertestclicks.%loop-player%}%"
  74. if {antiautomode} is "safe":
  75. if {safemodedetection.%loop-player%} > 1:
  76. execute console command "/ban %loop-player% &6Autoclicker [%{autoclickertestclicks.%loop-player%}% clicks] [s3]"
  77. clear {safemodedetection.%loop-player%}
  78. stop
  79. else:
  80. add 1 to {safemodedetection.%loop-player%}
  81. execute console command "/alert %loop-player% %{autoclickertestclicks.%loop-player%}%"
  82.  
  83. on left click:
  84. {autoclickertest.%player%} is true
  85. add 1 to {autoclickertestclicks.%player%}
  86.  
  87. on join:
  88. set {autoclickertest.%player%} to false
  89.  
  90. command /alert <text> <text>:
  91. permission: op
  92. trigger:
  93. loop all players:
  94. if loop-player have permission "player.admin.pro":
  95. send "{@tag} &4これやってんなぁ(ちなみにadminにしか通知は来ていません^q^)" to loop-player
  96. send "{@tag} &b%arg 1% &6clicked &b%arg 2% &6times" to loop-player
  97. send "{@tag} &6in 1 second" to loop-player
  98. send "{@tag} &6deal with this hacker" to loop-player
  99. send "{@tag} &4処遇はお好みでどうぞ" to loop-player
  100.  
  101. command /antiauto [<text>]:
  102. permission: pro.antiauto
  103. trigger:
  104. if arg 1 is not set:
  105. send "{@tag} &6on = やってたら自動でBAN"
  106. send "{@tag} &6off = なんか運営が連打ツール使いたいとき(そんなときない)"
  107. send "{@tag} &6alert = そいつがどんぐらい連打してるか通知が来る"
  108. send "{@tag} &6current mode is %{antiautomode}%"
  109. stop
  110. if arg 1 is "on":
  111. set {antiautomode} to "on"
  112. send "{@tag} &6mode >> on"
  113. stop
  114. if arg 1 is "off":
  115. set {antiautomode} to "off"
  116. send "{@tag} &6mode >> off"
  117. stop
  118. if arg 1 is "alert":
  119. set {antiautomode} to "alert"
  120. send "{@tag} &6mode >> alert"
  121. stop
  122. else:
  123. send "{@tag} &6on = やってたら自動でBAN"
  124. send "{@tag} &6off = 連打ツール使っても大丈夫になる"
  125. send "{@tag} &6alert = そいつがどんぐらい連打してるか通知が来る(自動でBANはしない)"
  126. send "{@tag} &6current mode is %{antiautomode}%"
  127. stop
  128. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
  129. command /check <text>:
  130. usage: /check <player>
  131. permission: pro.admin
  132. permission message: you are not admin
  133. trigger:
  134. send "&5===== REPORTS =====" to player
  135. send "&4%arg 1% &6have been reported &4%{report1.%arg 1%}% &6times"
  136. send "&4%arg 1% &6have reported other users &4%{report2.%arg 1%}% &6times"
  137.  
  138. command /report <player> <text>:
  139. usage: /report <player> <reason>
  140. trigger:
  141. if {report.cooldown.%player%} is false:
  142. add 1 to {report1.%arg 1%}
  143. add 1 to {report2.%player%}
  144. send "&6Report sent to all staff online" to player
  145. loop all players:
  146. if loop-player have permission "pro.admin":
  147. send "&5===== &5REPORT =====" to loop-player
  148. send "&6Report by: %player%" to loop-player
  149. send "&6Player reported: %arg 1%" to loop-player
  150. send "&6Reason: %arg 2%" to loop-player
  151. set {report.cooldown.%player%} to true
  152. wait 30 seconds
  153. set {report.cooldown.%player%} to false
  154. if {report.cooldown.%player%} is true:
  155. send "&6Please wait before reporting again"
  156.  
  157. on join:
  158. set {report.cooldown.%player%} to false
  159. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
  160. on chat:
  161. set {_waited} to difference between {spam.%player%.lastused} and now
  162. if {_waited} is less than 1 seconds:
  163. message "&cPlease do not spam!"
  164. cancel event
  165. stop
  166. set {spam.%player%.lastused} to now
  167. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement