Ledger Nano X - The secure hardware wallet
SHARE
TWEET

CMDLOG/IPLOG

okaz_ Jan 24th, 2020 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. options:
  2.     prefix: &e[&6CMDLog&e]
  3. on command:
  4.     loop all players:
  5.         if loop-player has permission "sk.admin":
  6.             if {log.%loop-player%} is not set:
  7.                 set {log.%loop-player%} to true
  8.             if {log.%loop-player%} is true:
  9.                 if player is not set:
  10.                     stop
  11.                 message " {@prefix} &b%player% &7>>> &7/%full command%" to loop-player
  12. command /com [<text>]:
  13.     permission: sk.cmd
  14.     trigger:
  15.         if arg-1 is set:
  16.             if arg-1 is "on":
  17.                 set {log.%player%} to true
  18.                 message " {@prefix}&7Log表示を&aon&7にしました。"
  19.                 stop
  20.             if arg-1 is "off":
  21.                 set {log.%player%} to false
  22.                 message " {@prefix}&7Log表示を&coff&7にしました。"
  23.                 stop
  24.         else:
  25.             message "{@prefix}&7/cmd <on,off>"
  26.  
  27. command /aip [<offline player>]:
  28.     permission: Command.IP
  29.     permission message: &cパーミッションがありません。
  30.     trigger:
  31.         if arg is not set:
  32.             message "&a[IP-log]&ePlayer名を記入してください。"
  33.             stop
  34.         if arg is "all":
  35.             loop all players:
  36.                 set {ip::%loop-player%} to ip of loop-player
  37.                 message "&a[IP-log]&b---------------------------------------------"
  38.                 message "&a[IP-log]&e%loop-player%'sIP&a: &6%{ip::%loop-player%}%" to player
  39.                 loop {ip::*}:
  40.                     if {ip::%loop-index%} is {ip::%loop-player%}:
  41.                         message "&a[IP-log]&e同じIPを使用しているPlayer&a: &6%loop-index%"
  42.         else:
  43.             set {ip::%arg%} to ip of argument
  44.             message "&a[IP-log]&e%arg%'sIP&a: &6%{ip::%arg%}%"
  45.             loop {ip::*}:
  46.                 if {ip::%loop-index%} is {ip::%arg%}:
  47.                     message "&a[IP-log]&e同じIPを使用しているPlayer&a: &6%loop-index%"
  48. on join:
  49.     set {ip::%player%} to ip of player
  50.     loop all players:
  51.         if loop-player has permission "sk.admin":
  52.             message "&a[IP-log]&e%player%'sIP&a: &6%{ip::%player%}%" to loop-player
  53.             loop {ip::*}:
  54.                 if {ip::%loop-index%} is {ip::%player%}:
  55.                     message "&a[IP-log]&e同じIPを使用しているPlayer&a: &6%loop-index%" to loop-player
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top