kjfalkeiae

Untitled

Dec 8th, 2018
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.14 KB | None | 0 0
  1. on chat:
  2. {cdtime} is set
  3. if {cooldown.%player%} is true:
  4. cancel event
  5. send "&cチャット送信には&e%{cdtime}%&cの間隔をあける必要があります。"
  6. stop
  7. set {cooldown.%player%} to true
  8. wait {cdtime}
  9. set {cooldown.%player%} to false
  10.  
  11. command /cooldown <time span>:
  12. permission: skript.admin
  13. permission message: You do not have a permission.
  14. trigger:
  15. set {cdtime} to arg 1
  16. broadcast "&bチャットのクールダウン間隔が&e%{cdtime}%&bになりました。"
  17. stop
  18.  
  19. command /bscore [<offline player>]:
  20. trigger:
  21. if arg 1 is not set:
  22. send "&cUsage: /bscore <Player>"
  23. stop
  24. if {break.%arg 1%} is not set:
  25. set {break.%arg 1%} to 0
  26. send "&7[&6BreakScore&7]&b%arg 1%'s block break count:%{break.%arg 1%}%"
  27.  
  28. command /pscore [<offline player>]:
  29. trigger:
  30. if arg 1 is not set:
  31. send "&cUsage: /pscore <Player>"
  32. stop
  33. if {place.%arg 1%} is not set:
  34. set {place.%arg 1%} to 0
  35. send "&7[&6PlaceScore&7]&b%arg 1%'s block place count:%{place.%arg 1%}%"
  36.  
  37. on place:
  38. add 1 to {place.%player%}
  39. if {place.%player%} is 10:
  40. broadcast "&7[&6PlaceScore&7]&b%player%さんのブロック設置数が%{place.%player%}%回を突破!やっと始まったね!"
  41. if {place.%player%} is 100:
  42. broadcast "&7[&6PlaceScore&7]&b%player%さんのブロック設置数が%{place.%player%}%回を突破!まだまだこれから!"
  43. if {place.%player%} is 1000:
  44. broadcast "&7[&6PlaceScore&7]&b%player%さんのブロック設置数が%{place.%player%}%回を突破!どんどん行っちゃえ!"
  45. if {place.%player%} is 10000:
  46. broadcast "&7[&6PlaceScore&7]&b%player%さんのブロック設置数が%{place.%player%}%回を突破!その調子!"
  47. if {place.%player%} is 50000:
  48. broadcast "&7[&6PlaceScore&7]&b%player%さんのブロック設置数が%{place.%player%}%回を突破!やりますねぇ!"
  49. if {place.%player%} is 100000:
  50. broadcast "&7[&6PlaceScore&7]&b%player%さんのブロック設置数が%{place.%player%}%回を突破!君って創造神?"
  51. if {place.%player%} is 1000000:
  52. broadcast "&7[&6PlaceScore&7]&b%player%さんのブロック設置数が%{place.%player%}%回を突破!これ以上は何も言うことなし!"
  53. if {place.%player%} is 100000000:
  54. broadcast "&7[&6PlaceScore&7]&b%player%さんのブロック設置数が%{place.%player%}%回を突破!参った…"
  55.  
  56. on break:
  57. add 1 to {break.%player%}
  58. if {break.%player%} is 10:
  59. broadcast "&7[&6BreakScore&7]&b%player%さんのブロック破壊数が%{break.%player%}%回を突破!やっと始まったね!"
  60. if {break.%player%} is 100:
  61. broadcast "&7[&6BreakScore&7]&b%player%さんのブロック破壊数が%{break.%player%}%回を突破!まだまだこれから!"
  62. if {break.%player%} is 1000:
  63. broadcast "&7[&6BreakScore&7]&b%player%さんのブロック破壊数が%{break.%player%}%回を突破!どんどん行っちゃえ!"
  64. if {break.%player%} is 10000:
  65. broadcast "&7[&6BreakScore&7]&b%player%さんのブロック破壊数が%{break.%player%}%回を突破!その調子!"
  66. if {break.%player%} is 50000:
  67. broadcast "&7[&6BreakScore&7]&b%player%さんのブロック破壊数が%{break.%player%}%回を突破!やりますねぇ!"
  68. if {break.%player%} is 100000:
  69. broadcast "&7[&6BreakScore&7]&b%player%さんのブロック破壊数が%{break.%player%}%回を突破!君って破壊神?"
  70. if {break.%player%} is 1000000:
  71. broadcast "&7[&6BreakScore&7]&b%player%さんのブロック破壊数が%{break.%player%}%回を突破!これ以上は何も言うことなし!"
  72. if {break.%player%} is 100000000:
  73. broadcast "&7[&6BreakScore&7]&b%player%さんのブロック破壊数が%{break.%player%}%回を突破!参った…"
  74.  
  75. command /cmdlog [<boolean>]:
  76. trigger:
  77. if arg 1 is not set:
  78. send "&7[&6CommandLog&7]&bあなたのコマンドログ表示状況:%{cmd.%player%}%"
  79. stop
  80. if arg 1 is true:
  81. set {cmd.%player%} to true
  82. send "&7[&6CommandLog&7]&bあなたのコマンドログ表示状況:%{cmd.%player%}%"
  83. if arg 1 is false:
  84. set {cmd.%player%} to false
  85. send "&7[&6CommandLog&7]&bあなたのコマンドログ表示状況:%{cmd.%player%}%"
  86.  
  87. on load:
  88. loop all players:
  89. send "&7[&6CommandLog&7]&bコマンドログSkriptがロードされました。" to loop-player
  90. if loop-player is an op:
  91. set {cmd.%loop-player%} to true
  92. continue
  93. set {cmd.%loop-player%} to false
  94.  
  95. on command:
  96. sender is player or console
  97. loop all players:
  98. if {cmd.%loop-player%} is true:
  99. send "&7[%now%]&e%sender%&7>>> /%complete command%" to loop-player
  100.  
  101. on join:
  102. if player is an op:
  103. set {cmd.%player%} to true
  104. stop
  105. set {cmd.%player%} to false
  106.  
  107. command /click [<time span>]:
  108. executable by:player
  109. trigger:
  110. if {party.clickban.%sender%} is true:
  111. send "&7[&6Click&7]&cあなたはClickPartyミニゲームからBANされています。"
  112. stop
  113. if arg 1 is not set:
  114. send "&cUsage: /click <時間形式の時間>"
  115. send "&b使用例:/click 5 seconds"
  116. send "&b使用例:/click 1 minute"
  117. send "&b使用例:/click 1 hour"
  118. send "&b使用例:/click 1 day"
  119. stop
  120. broadcast "&7[&6Click&7]&b%sender%さんが%arg 1%でクリック連打に挑戦!"
  121. clear {party.clickcount.%player%}
  122. send "&7[&6Click&7]&b3秒前…"
  123. wait 1 second
  124. send "&7[&6Click&7]&b2秒前…"
  125. wait 1 second
  126. send "&7[&6Click&7]&b1秒前…"
  127. wait 1 second
  128. send "&7[&6Click&7]&bスタート!"
  129. set {party.click.%player%} to true
  130. wait arg 1
  131. set {party.click.%player%} to false
  132. send "&7[&6Click&7]&b終了!"
  133. if {party.click.%player%} is not set:
  134. set {party.click.%player%} to 0
  135. broadcast "&7[&6Click&7]&b%sender%さんがクリック連打に挑戦!記録は%arg 1%で%{party.clickcount.%player%}%回でした!"
  136. clear {party.clickcount.%player%}
  137.  
  138. on leftclick:
  139. if {party.click.%player%} is true:
  140. add 1 to {party.clickcount.%player%}
  141. send "&7[&6Click&7]&bクリック回数:%{party.clickcount.%player%}%回"
  142.  
  143. command /clickban [<text>] [<offline player>]:
  144. permission:*
  145. trigger:
  146. if arg 2 is not set:
  147. send "&cUsage:/clickban <add|remove> <player>"
  148. stop
  149. if arg 1 is "add":
  150. set {party.clickban.%arg 2%} to true
  151. broadcast "&7[&6Click&7]&c%sender%により%arg 2%さんがClickPartyミニゲームからBANされました"
  152. stop
  153. if arg 1 is "remove":
  154. set {party.clickban.%arg 2%} to false
  155. broadcast "&7[&6Click&7]&b%sender%により%arg 2%さんがClickPartyミニゲームからBAN解除されました"
  156.  
  157. on rightclick:
  158. if {party.click.%player%} is true:
  159. add 1 to {party.clickcount.%player%}
  160. send "&7[&6Click&7]&bクリック回数:%{party.clickcount.%player%}%回"
  161.  
  162. on join:
  163. broadcast "&a%player%(%player's uuid%)さんがログインしました!"
  164. add 1 to {joincount.%player's uuid%}
  165. broadcast "&6%player%さんのログイン数:合計%{joincount.%player's uuid%}%回"
  166.  
  167. on quit:
  168. broadcast "&eDisconnected %player%(%player's uuid%)"
  169.  
  170. on kick:
  171. broadcast "&cKicked %player%(%player's uuid%)"
  172. broadcast "&c%player%'s IP: %ip of player%"
  173.  
  174. command /pinfo [<offline player>]:
  175. trigger:
  176. if arg 1 is not set:
  177. send "&cUsage: /pinfo <Player>"
  178. stop
  179. send "&7[&6PlayerInfo&7]&e%arg 1%&b's Info:"
  180. send "&7[&6PlayerInfo&7]&eUUID:&b%uuid of arg 1%"
  181. if arg 1 is offline:
  182. send "&7[&6PlayerInfo&7]&eOnline:&cfalse"
  183. if {health.%arg 1%} is set:
  184. send "&7[&6PlayerInfo&7]&eHealth:&b%{health.%arg 1%} * 2%&e/&b%{maxhealth.%arg 1%} * 2%&e(&b%{health.%arg 1%}/{maxhealth.%arg 1%}*100% &ePercent)"
  185. if {food.%arg 1%} is set:
  186. send "&7[&6PlayerInfo&7]&eFood:&b%{food.%arg 1%}*2%&e/20(&b%{food.%arg 1%}/10*100% &ePercent)"
  187. if {ip.%arg 1%} is set:
  188. send "&7[&6PlayerInfo&7]&eLast used IP:&b%{ip.%arg 1%}%"
  189. if {lastjoin.%arg 1%} is set:
  190. send "&7[&6PlayerInfo&7]&eLast joined:&b%{lastjoin.%arg 1%}%"
  191. if {lastquit.%arg 1%} is set:
  192. send "&7[&6PlayerInfo&7]&eLast disconnected:&b%{lastquit.%arg 1%}%"
  193. if {gamemode.%arg 1%} is set:
  194. send "&7[&6PlayerInfo&7]&eGamemode:&b%{gamemode.%arg 1%}%"
  195. if {location.%arg 1%} is set:
  196. send "&7[&6PlayerInfo&7]&eLocation:&b%{location.%arg 1%}% &ein &b%{world.%arg 1%}%"
  197. if {group.%player%} is set:
  198. send "&7[&6PlayerInfo&7]&eGroup:&b%{group.%arg 1%}%"
  199. if {op.%arg 1%} is true:
  200. send "&7[&6PlayerInfo&7]&eOP:&btrue"
  201. if {op.%arg 1%} is false:
  202. send "&7[&6PlayerInfo&7]&eOP:&bfalse"
  203. send "&7[&6PlayerInfo&7]&eLast used Prefix:&b%{prefix.%arg 1%}%"
  204. send "&7[&6PlayerInfo&7]&eLast used Suffix:&b%{suffix.%arg 1%}%"
  205. if arg 1 is banned:
  206. send "&7[&6PlayerInfo&7]&eBanned:&ctrue"
  207. if arg 1 is not banned:
  208. send "&7[&6PlayerInfo&7]&eBanned:&bfalse"
  209. stop
  210. if arg 1 is online:
  211. send "&7[&6PlayerInfo&7]&eOnline:&btrue"
  212. send "&7[&6PlayerInfo&7]&eHealth:&b%health of arg 1 * 2%&e/&b%max health of arg 1 * 2%&e(&b%health of arg 1/max health of arg 1 *100% &ePercent)"
  213. send "&7[&6PlayerInfo&7]&eFood:&b%food of arg 1 * 2%&e/20(&b%food of arg 1/10*100% &ePercent)"
  214. send "&7[&6PlayerInfo&7]&eIP:&b%ip of arg 1%"
  215. send "&7[&6PlayerInfo&7]&eLast joined:&b%{lastjoin.%arg 1%}%"
  216. send "&7[&6PlayerInfo&7]&eGamemode:&b%gamemode of arg 1%"
  217. send "&7[&6PlayerInfo&7]&eLocation:&b%location of arg 1% &ein &b%world of arg 1%"
  218. send "&7[&6PlayerInfo&7]&eGroup:&b%group of arg 1%"
  219. if arg 1 is op:
  220. send "&7[&6PlayerInfo&7]&eOP:&btrue"
  221. if arg 1 is not op:
  222. send "&7[&6PlayerInfo&7]&eOP:&bfalse"
  223. send "&7[&6PlayerInfo&7]&ePrefix:&b%prefix of arg 1%"
  224. send "&7[&6PlayerInfo&7]&eSuffix:&b%suffix of arg 1%"
  225.  
  226. on join:
  227. set {ip.%player%} to ip of player
  228. set {lastjoin.%player%} to now
  229.  
  230. on quit:
  231. set {location.%player%} to location of player
  232. set {world.%player%} to world of player
  233. set {health.%player%} to health of player
  234. set {maxhealth.%player%} to max health of player
  235. set {food.%player%} to food of player
  236. set {gamemode.%player%} to gamemode of player
  237. set {group.%player%} to group of player
  238. set {prefix.%player%} to prefix of player
  239. set {suffix.%player%} to suffix of player
  240. if player is op:
  241. set {op.%player%} to true
  242. if player is not op:
  243. set {op.%player%} to false
  244. set {lastquit.%player%} to now
Advertisement
Add Comment
Please, Sign In to add comment