Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /pinfo [<offline player>]:
- permission: skript.admin
- trigger:
- if arg 1 is not set:
- send "&cUsage: /pinfo <Player>"
- stop
- send "&7[&6PlayerInfo&7]&e%arg 1%&b's Info:"
- send "&7[&6PlayerInfo&7]&eUUID:&b%uuid of arg 1%"
- if arg 1 is offline:
- send "&7[&6PlayerInfo&7]&eOnline:&cfalse"
- if {health.%arg 1%} is set:
- 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)"
- if {food.%arg 1%} is set:
- send "&7[&6PlayerInfo&7]&eFood:&b%{food.%arg 1%}*2%&e/20(&b%{food.%arg 1%}/10*100% &ePercent)"
- if {ip.%arg 1%} is set:
- send "&7[&6PlayerInfo&7]&eLast used IP:&b%{ip.%arg 1%}%"
- if {lastjoin.%arg 1%} is set:
- send "&7[&6PlayerInfo&7]&eLast joined:&b%{lastjoin.%arg 1%}%"
- if {lastquit.%arg 1%} is set:
- send "&7[&6PlayerInfo&7]&eLast disconnected:&b%{lastquit.%arg 1%}%"
- if {gamemode.%arg 1%} is set:
- send "&7[&6PlayerInfo&7]&eGamemode:&b%{gamemode.%arg 1%}%"
- if {location.%arg 1%} is set:
- send "&7[&6PlayerInfo&7]&eLocation:&b%{location.%arg 1%}% &ein &b%{world.%arg 1%}%"
- if {group.%player%} is set:
- send "&7[&6PlayerInfo&7]&eGroup:&b%{group.%arg 1%}%"
- if {op.%arg 1%} is true:
- send "&7[&6PlayerInfo&7]&eOP:&btrue"
- if {op.%arg 1%} is false:
- send "&7[&6PlayerInfo&7]&eOP:&bfalse"
- send "&7[&6PlayerInfo&7]&eLast used Prefix:&b%{prefix.%arg 1%}%"
- send "&7[&6PlayerInfo&7]&eLast used Suffix:&b%{suffix.%arg 1%}%"
- if arg 1 is banned:
- send "&7[&6PlayerInfo&7]&eBanned:&ctrue"
- if arg 1 is not banned:
- send "&7[&6PlayerInfo&7]&eBanned:&bfalse"
- stop
- if arg 1 is online:
- send "&7[&6PlayerInfo&7]&eOnline:&btrue"
- 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)"
- send "&7[&6PlayerInfo&7]&eFood:&b%food of arg 1 * 2%&e/20(&b%food of arg 1/10*100% &ePercent)"
- send "&7[&6PlayerInfo&7]&eIP:&b%ip of arg 1%"
- send "&7[&6PlayerInfo&7]&eLast joined:&b%{lastjoin.%arg 1%}%"
- send "&7[&6PlayerInfo&7]&eGamemode:&b%gamemode of arg 1%"
- send "&7[&6PlayerInfo&7]&eLocation:&b%location of arg 1% &ein &b%world of arg 1%"
- send "&7[&6PlayerInfo&7]&eGroup:&b%group of arg 1%"
- if arg 1 is op:
- send "&7[&6PlayerInfo&7]&eOP:&btrue"
- if arg 1 is not op:
- send "&7[&6PlayerInfo&7]&eOP:&bfalse"
- send "&7[&6PlayerInfo&7]&ePrefix:&b%prefix of arg 1%"
- send "&7[&6PlayerInfo&7]&eSuffix:&b%suffix of arg 1%"
- on join:
- set {ip.%player%} to ip of player
- set {lastjoin.%player%} to now
- on quit:
- set {location.%player%} to location of player
- set {world.%player%} to world of player
- set {health.%player%} to health of player
- set {maxhealth.%player%} to max health of player
- set {food.%player%} to food of player
- set {gamemode.%player%} to gamemode of player
- set {group.%player%} to group of player
- set {prefix.%player%} to prefix of player
- set {suffix.%player%} to suffix of player
- if player is op:
- set {op.%player%} to true
- if player is not op:
- set {op.%player%} to false
- set {lastquit.%player%} to now
Add Comment
Please, Sign In to add comment