Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #IP CHECK
- #
- #VERSION 0.7
- #
- #
- #
- #
- command /aip [<offline player>]:
- permission: Command.IP
- permission message: &cパーミッションがありません。
- trigger:
- if arg is not set:
- message "&7&l[&e&lIP-log&7&l]&a&lPlayer名を記入してください。"
- stop
- if arg is "all":
- loop all players:
- set {ip::%loop-player%} to ip of loop-player
- message "&7&l[&e&lIP-log&7&l]&b---------------------------------------------"
- message "&7&l[&e&lIP-log&7&l]&a&l%loop-player%'sIP&a: &6%{ip::%loop-player%}%" to player
- loop {ip::*}:
- if {ip::%loop-index%} is {ip::%loop-player%}:
- message "&7&l[&e&lIP-log&7&l]&a&l同じIPを使用しているPlayer&a: &6%loop-index%"
- else:
- set {ip::%arg%} to ip of argument
- message "&7&l[&e&lIP-log&7&l]&a%arg%'sIP&a: &6%{ip::%arg%}%"
- loop {ip::*}:
- if {ip::%loop-index%} is {ip::%arg%}:
- message "&7&l[&e&lIP-log&7&l]&a&l同じIPを使用しているPlayer&a: &6%loop-index%"
- on join:
- set {ip::%player%} to ip of player
- loop all players:
- if loop-player has permission "sk.admin":
- if {logs.%loop-player%} is true:
- message "&a[IP-log]&e%player%'sIP&a: &6%{ip::%player%}%" to loop-player
- loop {ip::*}:
- if {ip::%loop-index%} is {ip::%player%}:
- message "&7&l[&e&lIP-log&7&l]&a&l同じIPを使用しているPlayer&a: &6%loop-index%" to loop-player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement