Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on join:
- if {ip::%player's ip%::%player%} is not set:
- add player to {ip::%player's ip%::%player%}
- loop all players:
- loop-player is op
- make loop-player execute "/ipcheck %player%"
- stop
- else:
- {ip::%player's ip%::%player%} is set:
- remove player from {ip::%player's ip%::%player%}
- add player to {ip::%player's ip%::%player%}
- loop all players:
- loop-player is op
- make loop-player execute "/ipcheck %player%"
- command /ipcheck <player>:
- permission : soramame.op
- trigger:
- loop {ip::%player-arg's ip%::*}:
- if loop-value is banned:
- add loop-value to {_banned}
- else:
- loop-value is offline:
- add loop-value to {_offline}
- else:
- add loop-value to {_online}
- message "&bAddres %arg-1's ip%'s account"
- message "&aOnline %{_online}%"
- message "&7Offline %{_offline}%"
- message "&cBanned %{_banned}%"
- clear {_online}
- clear {_offline}
- clear {_banned}
Add Comment
Please, Sign In to add comment