checkPermission

public void checkPermission(CommandSender sender, boolean strict)

Checks if a given CommandSender has permission to run this command.

Parameters

sender
strict

When strict, don't consider subcommand permissions.


public void checkPermission(boolean strict)

Checks if the current commandsender has permission to run this command.

Parameters

strict

When strict, don't consider subcommand permissions.

See also


public void checkPermission()

Checks if the current commandsender has the permission from this command, ignoring subcommand permissions.

See also