Skip to main content

Commands

PetarLib provides a few simple commands. To use any of the commands, simply type /petarlib <command> in the chat. Here is a list of available commands:

CommandDescription
/petarlib send <type> <player> <message>Sends a message to a player. The <type> can be either chat or actionbar. The <message> supports MiniMessage format if use-minimessage is enabled in the config.
/petarlib debugToggles debug mode for the plugin, which may provide additional logging and information for troubleshooting.
/petarlib reloadReloads the plugin's configuration and messages from the config files.
/petarlib versionDisplays the current version of PetarLib installed on the server.
/petarlib helpDisplays a help message with information about available commands and their usage.
/petarlib infoDisplays information about the plugin, including version and author.

Required Permissions

To use the commands, players need the following permissions:

PermissionDescription
petarlib.sendRequired to use the /petarlib send command.
petarlib.adminRequired to use the /petarlib debug and /petarlib reload commands.