Package nl.pim16aap2.animatedarchitecture.spigot.core.comands
@NullMarked
package nl.pim16aap2.animatedarchitecture.spigot.core.comands
This package contains classes responsible for handling commands.
The CommandManager class is used to register commands
with the server. Commands can have multiple subcommands, each with their own set of required and optional arguments.
Argument parsers are used to parse user input into objects. Currently, parsers are provided for the following types:
Boolean, Direction, and StructureType in addition to the default parsers provided by Cloud.
The execution of the commands is handled by the commands in the
nl.pim16aap2.animatedarchitecture.core.commands package.
-
ClassDescriptionRecord that holds the name and class of a command parameter with some utility methods.Represents a type of argument in a command used to specify a direction.Represents an argument parser that can be used to retrieve and suggest structure types.Represents an argument that can be used to check if a structure is open.An argument that parses a
PermissionLevelfrom a string.Represents a type of argument in a command used to specify a structure.Represents a command argument that parses into aStructureType.Represents an argument parser that can be used to retrieve and suggest structure types.