Skip to content

Commands

Vaan1310 edited this page Jan 19, 2026 · 1 revision

Commands


Command: /cannons help
Permission: cannons.player.command
Description: Displays the Cannons plugin help text to the player, showing available commands and basic usage information.


Command: /cannons wiki
Permission: None
Description: Sends the player a message containing the Cannons wiki or documentation link for learning more about the plugin features and mechanics.


Command: /cannons reload
Permission: cannons.admin.reload
Description: Reloads the Cannons configuration and all related data, including projectile definitions, cannon designs, projectiles, active cannons, and language files, without requiring a server restart.


Command: /cannons save
Permission: cannons.admin.reload
Description: Saves all existing cannons to the database immediately.


Command: /cannons load
Permission: cannons.admin.reload
Description: Loads all cannons from the database and restores them into memory, making previously saved cannons active again.


Command: /cannons reset [all|all_players|PLAYER]
Permission: cannons.admin.reset
Description: Deletes cannons based on the argument provided. Use all or all_players to remove all cannons on the server, or specify a player name to remove only that player’s cannons.


Command: /cannons list [PLAYER]
Permission: cannons.admin.list
Description: Lists cannons registered on the server. When a player name is provided, only that player’s cannons are shown; otherwise, all cannons are listed with owner and location information.


Command: /cannons create [DESIGN]
Permission: cannons.admin.create
Description: Creates and previews a cannon using the specified design at the player’s current location.


Command: /cannons give [PROJECTILE] <amount>
Permission: cannons.admin.give
Description: Gives the player a specified amount of cannon projectiles. If no amount is provided, one projectile is given by default.


Command: /cannons permissions [PLAYER]
Permission: cannons.admin.permissions
Description: Displays Cannons-related permissions for a player. If no player is specified, the command shows the sender’s own permissions.


Command: /cannons build
Permission: cannons.player.command
Description: Displays help information explaining how to build cannons and the requirements needed to construct them.


Command: /cannons fire
Permission: cannons.player.command
Description: Displays help information describing how to load, aim, and fire cannons.


Command: /cannons adjust
Permission: cannons.player.command
Description: Displays help information about adjusting cannon settings such as angle, direction, and aiming behavior.


Command: /cannons commands
Permission: cannons.player.command
Description: Displays a list of all available Cannons commands the player can use.


Command: /cannons imitate [true|enable|false|disable]
Permission: cannons.player.command
Description: Enables, disables, or toggles imitated aiming for the player. When enabled, the cannon will imitate the player’s aiming direction if the feature is allowed by the configuration.


Command: /cannons buy
Permission: cannons.player.build
Description: Toggles cannon buying mode, allowing the player to select and purchase a cannon if buying is enabled on the server.


Command: /cannons rename <OLD_NAME> <NEW_NAME>
Permission: cannons.player.rename
Description: Renames an existing cannon from the old name to a new one. The cannon must exist and the player must have permission to rename it.


Command: /cannons observer [off|disable|CANNON_NAME]
Permission: cannons.player.observer
Description: Enables or disables observer mode for cannons. The player can observe a specific cannon, disable observing entirely, or toggle cannon selection mode to choose a cannon to observe.


Command: /cannons whitelist
Permission: cannons.player.whitelist
Description: Displays usage information for managing the cannon whitelist, allowing the owner to add or remove players who can interact with their cannons.


Command: /cannons whitelist add <PLAYER>
Permission: cannons.player.whitelist
Description: Adds the specified player to a cannon’s whitelist, allowing them to interact with the selected cannon.


Command: /cannons whitelist remove <PLAYER>
Permission: cannons.player.whitelist
Description: Removes the specified player from a cannon’s whitelist, preventing them from interacting with the selected cannon.


Command: /cannons target [mob|player|cannon|other] <true|false> <range>
Permission: cannons.player.target
Description: Configures automatic targeting behavior for cannons. The player can select the target type, enable or disable targeting, and optionally apply the selection to cannons within a specified range.


Command: /cannons info
Permission: cannons.player.info
Description: Enables cannon info mode, allowing the player to select a cannon and view detailed information about it.


Command: /cannons dismantle
Permission: cannons.player.dismantle or cannons.admin.dismantle
Description: Toggles dismantle mode, allowing the player to select and dismantle a cannon. Admins may dismantle cannons regardless of ownership.


Command: /cannons listme
Permission: cannons.player.list
Description: Displays a list of all cannons owned by the player, including their names, designs, and locations, and shows how many additional cannons the player is allowed to build.


Command: /cannons resetme
Permission: cannons.player.reset
Description: Deletes all cannons owned by the executing player and resets their cannon data.


Command: /cannons blockdata
Permission: cannons.player.blockdata
Description: Toggles block data mode, allowing the player to select a cannon block and view its internal block data information.


Command: /cannons claim [size]
Permission: cannons.player.claim
Description: Claims unowned cannons within the specified radius around the player and assigns ownership to the player. The default search size is 20 blocks.


Command: /cannons resetarea [size]
Permission: cannons.admin.reload
Description: Deletes all cannons within the specified radius around the player. This permanently removes nearby cannons from the database.


Command: /cannons dismantleArea [size]
Permission: cannons.admin.reload
Description: Dismantles all cannons within the specified radius around the player, returning blocks or items as if dismantled normally.


Command: /cannons scanArea [size]
Permission: cannons.admin.reload
Description: Scans the specified area around the player and reports how many cannons are found within the given radius.


Command: /cannons itemInfo
Permission: cannons.admin.reload
Description: Displays a configuration-ready string for the item held in the player’s main hand, intended for use when defining custom items in the Cannons configuration. (deprecated for now, might need fixing)


Command: /cannons version
Permission: None
Description: Displays the currently running Cannons plugin version along with the plugin authors.


Clone this wiki locally