This Skript checks the permissions of online players. I don't have any problems but I'm wondering how I can go about checking permissions for offline players, not just online players. Any help?
________________________________________________________________________________________
________________________________________________________________________________________
Skript Version: 2.2-dev26f
Skript Author: Latest Author (I don't know the name, sorry)
Minecraft Version: 1.11.2
---
Full Code:
code_language.skript:
command /checkperm [<text>]:
trigger:
if player has permission "staff.checkperm":
loop all players:
if loop-player has permission "%arg-1%":
add loop-player to {_players::*}
message "&8[&7&lDarkcrest&8]&a Player %{_players::*}% has permission %arg-1%."
clear {_players::*}
else:
message "&8[&7&lDarkcrest Staff&8]&4 Error!&c It seems you do not have sufficent permissions to execute this command."
Errors on Reload: None
Console Errors: (if applicable) N/A
Other Useful Info: This command is meant to check permissions of certain players.
Addons using (including versions):
SKRambled <-> Latest Version
SharpSK <-> Latest Version
SkQuery-Lime <-> Latest Version
Skellett <-> Latest Version
TuSKe <-> Two Versions Behind
skUtitilies <-> 0.9.0
Troubleshooting:
Have you tried searching the docs? No
Have you tried searching the forums? No
What other methods have you tried to fix it? No problems.