Uses of Class
dev.jorel.commandapi.CommandPermission
Packages that use CommandPermission
Package
Description
Classes to be used as arguments for commands
Classes which are the exceptions raised during the execution of the Command API
-
Uses of CommandPermission in dev.jorel.commandapi
Fields in dev.jorel.commandapi declared as CommandPermissionModifier and TypeFieldDescriptionstatic final CommandPermissionCommandPermission.NONECommand can be run with no permissionsstatic final CommandPermissionCommandPermission.OPA player that has to be an operator to run a commandMethods in dev.jorel.commandapi that return CommandPermissionModifier and TypeMethodDescriptionstatic CommandPermissionCommandPermission.fromString(String permission) Generates a new CommandPermission from a permission nodeRegisteredCommand.permission()Returns the value of thepermissionrecord component.Constructors in dev.jorel.commandapi with parameters of type CommandPermissionModifierConstructorDescriptionRegisteredCommand(String commandName, List<String> argsAsStr, Optional<String> shortDescription, Optional<String> fullDescription, Optional<String[]> usageDescription, String[] aliases, CommandPermission permission) Creates an instance of aRegisteredCommandrecord class. -
Uses of CommandPermission in dev.jorel.commandapi.arguments
Methods in dev.jorel.commandapi.arguments that return CommandPermissionModifier and TypeMethodDescriptionfinal CommandPermissionAbstractArgument.getArgumentPermission()Returns the permission required to run this commandMethods in dev.jorel.commandapi.arguments with parameters of type CommandPermissionModifier and TypeMethodDescriptionfinal ImplAbstractArgument.withPermission(CommandPermission permission) Assigns the given permission as a requirement to execute this command. -
Uses of CommandPermission in dev.jorel.commandapi.exceptions
Constructors in dev.jorel.commandapi.exceptions with parameters of type CommandPermissionModifierConstructorDescriptionConflictingPermissionsException(String command, CommandPermission currentPermission, CommandPermission conflictingPermission) Creates a ConflictingPermissionsException