Join the Game4Freak Discord Get exclusive plugin sneak peeks, talk directly with VisEntities, never miss important updates, and unlock special discount codes!
Cannon Rockets

Cannon Rockets 1.0.0

Allows cannons to fire rockets instead of cannonballs
Works With


Transforms cannons into rocket launchers by replacing cannonball ammunition with rockets. Players with the appropriate permission can load their cannons with rocket ammo instead of standard cannonballs. The plugin supports multiple permission-based profiles, allowing different player groups to fire rockets with varying speeds, spread patterns, and volley sizes.

Cannons automatically detect available ammunition — if a player has cannonballs, the cannon functions normally. If they have rockets (and the required permission), the cannon switches to rocket mode. The plugin integrates with Cannon Storage to pull ammunition from attached storage containers.

Features

  • Permission-based profiles - Configure different rocket behaviors for different player groups (VIP, donor tiers, etc.)
  • Multi-rocket volleys - Fire multiple rockets per shot with configurable spread patterns
  • Customizable rocket types - Support for any rocket prefab in the game
  • Speed control - Adjust rocket velocity independently from default ballistics
  • Storage integration - Pulls ammo from Cannon Storage containers if installed
  • Automatic ammo detection - Seamlessly switches between cannonballs and rockets based on inventory

Permissions

  • cannonrockets.default -- Basic rocket firing capability with default profile settings
  • cannonrockets.vip -- VIP profile with enhanced rocket speed and multi-shot capability
Note: Permission profiles are fully configurable. You can create additional permission tiers by adding new profiles to the configuration file. The highest priority permission the player has will be used.

Configuration

JSON:
{
  "Version": "1.0.0",
  "Permission Profiles": [
    {
      "Permission": "cannonrockets.default",
      "Priority (Higher Overrides Lower)": 0,
      "Rocket Prefab (Full Asset Path)": "assets/prefabs/ammo/rocket/rocket_basic.prefab",
      "Rocket Speed": 50.0,
      "Rockets Per Shot": 1,
      "Spread Angle (Degrees)": 4.0,
      "Ammo Short Name": "ammo.rocket.basic"
    },
    {
      "Permission": "cannonrockets.vip",
      "Priority (Higher Overrides Lower)": 1,
      "Rocket Prefab (Full Asset Path)": "assets/prefabs/ammo/rocket/rocket_basic.prefab",
      "Rocket Speed": 75.0,
      "Rockets Per Shot": 3,
      "Spread Angle (Degrees)": 4.0,
      "Ammo Short Name": "ammo.rocket.basic"
    }
  ]
}

Profile Settings

  • `Permission -- The permission string players need to use this profile
  • Priority -- Priority value when a player has multiple profile permissions. Higher numbers take precedence
  • Rocket Prefab -- Full asset path to the rocket entity. See Available Rocket Types below
  • Rocket Speed -- Velocity multiplier for fired rockets. Default cannon projectile speed is around 50
  • Rockets Per Shot -- Number of rockets fired in a single volley. Requires this many rockets in inventory/storage
  • Spread Angle -- Angular spread between rockets when firing multiple per shot. Only applies when Rockets Per Shot > 1
  • Ammo Short Name -- Item short name required to fire. Must match a valid rocket ammunition item

Available Rocket Types

Common rocket prefabs you can use:
  • assets/prefabs/ammo/rocket/rocket_basic.prefab -- Standard rocket (most common)
  • assets/prefabs/ammo/rocket/rocket_hv.prefab -- High velocity rocket
  • assets/prefabs/ammo/rocket/rocket_fire.prefab -- Incendiary rocket
Corresponding ammo short names:
  • ammo.rocket.basic -- Standard rocket ammo
  • ammo.rocket.hv -- High velocity rocket ammo
  • ammo.rocket.fire -- Incendiary rocket ammo

Ammunition Storage

This plugin works with Cannon Storage to let cannons pull rockets from attached storage containers.
When Cannon Storage is installed:
  • Rockets are checked in both player inventory and attached storage
  • Player inventory is consumed first, then storage ammo if needed
  • No configuration required — detection is automatic
Without Cannon Storage, players can only use rockets from their personal inventory.
Author
VisEntities
License duration
Unlimited
Price
7.99 USD
First release
Last update

Ratings

0.00 star(s) 0 reviews

Also by VisEntities

  • Server Password
    Server Password
    Blocks gameplay with a keypad ui until the correct password is entered
  • Custom Commands
    Custom Commands
    Create custom chat and console commands with cooldowns, costs, and conditional requirements
  • One Hit Repair
    One Hit Repair
    One tap to repair or demolish, no more spamming the hammer
Back
Top
Chat commands start with a /, while console commands can be entered directly in the F1 console or server console. Use find <keyword> in console to search for available commands related to the plugin. Parameters in < > are required, while [ ] are optional.
This plugin uses Oxide's permission system. Grant or revoke permissions using oxide.grant and oxide.revoke. You can assign them to individual players or groups using their Steam id or group name.
Settings are stored in the config file found under the config/ directory. You can edit this file manually, then reload the plugin to apply your changes.
Persistent data is saved in the data/ directory. This includes things like saved settings, usage stats, or player progress depending on the plugin. Deleting a data file will reset stored progress or customizations.
Language files are located in the lang/ folder. To translate messages, copy the en.json file into your target language folder (e.g. fr, de) and edit the values. Reload the plugin after changes to apply new messages.
This section lists public methods exposed by the plugin for use in other plugins. You can call these via the CallHook method. Ensure the plugin is loaded before calling its API to avoid null reference errors.
These are custom hooks that other plugins can listen for. Simply define a method with the same name and expected parameters in your plugin to handle the event. Hooks are triggered at key moments and are useful for extending or reacting to plugin behavior.
These hooks are injected into the game's code using Harmony. They let the plugin run code at key points in the game's internal logic. You can return values to block or modify behavior. Use with caution — these are powerful and can affect core mechanics.
Cart