Satoru7135

Untitled

Jul 15th, 2018
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.39 KB | None | 0 0
  1. # Skript AntiViewPlugins pour Douzi_ #
  2.  
  3. #====================[ Configuration ]====================#
  4. options:
  5. antiplmsg: &cTu n'as pas accès a cette commande ! # Message envoyer si le joueur fait /pl /plugin /plugins /bukkit:pl ect...
  6.  
  7. #====================[ Le Skript ]====================#
  8. command /pl:
  9. trigger:
  10. message "権限がありません"
  11.  
  12. command /plugin:
  13. trigger:
  14. message "権限がありません"
  15.  
  16. command /plugins:
  17. trigger:
  18. message "権限がありません"
  19.  
  20. command /bukkit:pl:
  21. trigger:
  22. message "権限がありません"
  23.  
  24. command /bukkit:plugin:
  25. trigger:
  26. message "権限がありません"
  27.  
  28. command /bukkit:plugins:
  29. trigger:
  30. message "権限がありません"
  31.  
  32. command /?:
  33. trigger:
  34. message "権限がありません"
  35.  
  36. command /help:?:
  37. trigger:
  38. message "権限がありません"
  39.  
  40. command /bukkit:?:
  41. trigger:
  42. message "権限がありません"
  43. command /about:
  44. trigger:
  45. message "権限がありません"
  46.  
  47. #CmdLog#
  48. #CmdLog-他人、自分のコマンド実行ログがOP所持者にチャットで表示されます。#
  49. #コマンドブロックからの実行は表示されません。#
  50. options:
  51. prefix: &8[CMD]#CommandLOGのPrefixの変更#default: &8[CMD]#
  52. on command:
  53. loop all players:
  54. if loop-player has permission "sk.admin":
  55. if {log.%loop-player%} is not set:
  56. set {log.%loop-player%} to true
  57. if {log.%loop-player%} is true:
  58. if player is not set:
  59. stop
  60. message " {@prefix} &7%player%: /%full command%" to loop-player
  61. command /cmd [<text>]:#Logの表示のON/OFFの切り替え#
  62. permission: sk.cmd
  63. trigger:
  64. if arg-1 is set:
  65. if arg-1 is "on":
  66. set {log.%player%} to true
  67. message " {@prefix}&7Log表示を&aon&7にしました。"
  68. stop
  69. if arg-1 is "off":
  70. set {log.%player%} to false
  71. message " {@prefix}&7Log表示を&coff&7にしました。"
  72. stop
  73. else:
  74. message "{@prefix}&7/cmd <on,off>"
  75. #Ip-Checker#
  76. #指定したプレイヤーのipをチェックします。同一のIPがあった場合、そのプレイヤーのIDも表示されます。#
  77. command /aip [<offline player>]:
  78. permission: Command.IP
  79. permission message: &cパーミッションがありません。
  80. trigger:
  81. if arg is not set:
  82. message "&a[IP-log]&ePlayer名を記入してください。"
  83. stop
  84. if arg is "all":
  85. loop all players:
  86. set {ip::%loop-player%} to ip of loop-player
  87. message "&a[IP-log]&b---------------------------------------------"
  88. message "&a[IP-log]&e%loop-player%'sIP&a: &6%{ip::%loop-player%}%" to player
  89. loop {ip::*}:
  90. if {ip::%loop-index%} is {ip::%loop-player%}:
  91. message "&a[IP-log]&e同じIPを使用しているPlayer&a: &6%loop-index%"
  92. else:
  93. set {ip::%arg%} to ip of argument
  94. message "&a[IP-log]&e%arg%'sIP&a: &6%{ip::%arg%}%"
  95. loop {ip::*}:
  96. if {ip::%loop-index%} is {ip::%arg%}:
  97. message "&a[IP-log]&e同じIPを使用しているPlayer&a: &6%loop-index%"
  98. on join:
  99. set {ip::%player%} to ip of player
  100. loop all players:
  101. if loop-player has permission "sk.admin":
  102. message "&a[IP-log]&e%player%'sIP&a: &6%{ip::%player%}%" to loop-player
  103. loop {ip::*}:
  104. if {ip::%loop-index%} is {ip::%player%}:
  105. message "&a[IP-log]&e同じIPを使用しているPlayer&a: &6%loop-index%" to loop-player
Advertisement
Add Comment
Please, Sign In to add comment