testPermission

public boolean testPermission(CommandSender target)

Tests the given CommandSender to see if they can perform this command.

If they do not have permission, they will be informed that they cannot do this.

Return

true if they can use it, otherwise false

Parameters

target

User to test