BoatCommander

BoatCommander 0.1.51

Features:
- Adjustable acceleration and top speed
- Lockable storage container with adjustable size
- Ignition keys and vehicle hotwire system
- Makes use of Rusts default boat spawns, or customize spawns using your own spawn file
- Players can spawn boats using the provided chat commands with cooldown options
- Adjustable fuel system, change consumption rate, whether vehicles spawn with fuel and whether they even need fuel to run
- Cusomizable repair system
- Customizable decay system
- Collision detection system
- Custom death sequence - Engine explodes causing damage to nearby players and boat sinks leaving the fuel/storage containers floating on the water
- Friends/Clans support for passengers
- UI health and fuel gauges
- Build boats via command using resources


Permissions
boatcommander.use - Required to drive these boats
boatcommander.canspawn - Allows players to use the chat command to spawn boats (/spawnboat)
boatcommander.canspawn.rhib - Allows players to use the chat command to spawn the RHIB (/spawnrhib)
boatcommander.admin - Required to manually spawn boats in via chat or console command (/adminboat)
boatcommander.ignorecooldown - Players with this permission will not be affected by chat command spawn cooldowns
boatcommander.ignorecooldown.rhib - Players with this permission will not be affected by chat command spawn cooldowns
boatcommander.canbuild - Required to use the build command for rowboats
boatcommander.canbuild.rhib - Required to use the build command for RHIBs

Chat Commands
/spawnboat - Spawns a boat on your position. This command uses the spawn cooldown system and all boats spawned via this command are saved. (Requires permission ' boatcommander.canspawn ')

/spawnrhib - Spawns a RHIB on your position. This command uses the spawn cooldown system and all boats spawned via this command are saved. (Requires permission ' boatcommander.canspawn.rhib ')

/buildboat <rowboat/rhib> - Allows you to build a boat using resources specified in the config (Requires permission ' boatcommander.canbuild ' / ' boatcommander.canbuild.rhib ')

/adminboat - Spawns a boat on your position. This command does not use the cooldown system and by default these boats are not saved. You can opt to save these boats by adding the argument 'save' after the command. (Requires permission ' boatcommander.admin ')

/adminrhib - Spawns a RHIB on your position. This command does not use the cooldown system and by default these boats are not saved. You can opt to save these boats by adding the argument 'save' after the command. (Requires permission ' boatcommander.admin ')

/clearboats - Remove all boats spawned via this plugin

/copyboatkey - Allows the key holder to make a copy of the ignition key (if applicable)

/hotwireboat - Allows player to attempt to hot wire a vehicle (if applicable)
* Once a vehicle had been hot wired it will never need a key to start

/flipboat - Allows players to flip upside down boats (if enabled in the config)

Console Commands
spawnboat <playerId> - Spawn a boat in front of the player with the specified ID
spawnboat <x> <y> <z> <opt:save> <opt:rotation> - Spawn a boat at the co-ordinates provided, with option to save the boat and set its rotation
spawnrhib<playerId> - Spawn a RHIB in front of the player with the specified ID
spawnrhib <x> <y> <z> <opt:save> <opt:rotation> - Spawn a RHIB at the co-ordinates provided, with option to save the boat and set its rotation
clearboats - Remove all saved boats

*Note: Boats spawned via the admin chat or console command are not saved through restarts. If you would like to save these vehicles then add "save" to the end of the command
ex. "/adminboat save" - Chat
ex. "spawnboat 7420........ save" - Console player spawn
ex. "spawnboat 100 0 100 save" - Console position spawn


Config Options

Fuel Options - Toggle the requirement of fuel to run the boat.
Fuel consumption rate is the amount of fuel the boat uses per second (this can be a decimal value ex 0.1)

Inventory Options - Various options regarding the vehicle inventory. This can be completely disabled if you so choose restoring the standard storage container the boat has.

Passenger Options - Allows you to toggle Friends/Clans support for passengers of the vehicle, or disable the system entirely

Spawnable Options - Allows you to convert auto-spawned vehicles by Rust directly to BoatCommander boats. Alternatively you can create a custom spawnfile and have the boats auto-spawn using it.

Security Options - Various options regarding vehicle security. Create ignition keys, allow hotwiring etc

Collision Options - Enable collision damage to vehicles, adjustable with a damage multiplier

Other Info
Friends/Clans support of passengers only applies when a player is driving the vehicle. Players can steal vehicles from other players if there is no one driving it

Fuel consumption is divided by 3 when the vehicle is idling. So if you have it set to 1 fuel per second then it will last for 3 seconds when idling

Config
C#:
{
  "RHIB Settings": {
    "Movement Settings": {
      "Engine - Acceleration torque": 600.0,
      "Engine - Maximum speed": 90.0
    },
    "Passenger Options": {
      "Allow passengers": true,
      "Require passenger to be a friend (FriendsAPI)": true,
      "Require passenger to be a clan mate (Clans)": true
    },
    "Inventory Options": {
      "Enable inventory system": false,
      "Drop inventory on death": false,
      "Inventory size (max 36)": 0
    },
    "Spawnable Options": {
      "Convert game spawned boats to BoatCommander boats": false,
      "Spawn BoatCommander boats on custom spawn file": false,
      "Spawnfile name": "",
      "Maximum spawned vehicles at any time": 5,
      "Time between autospawns (seconds)": 1800,
      "Cooldown time for player spawned vehicles via chat command (seconds)": 86400
    },
    "Fuel Options": {
      "Requires fuel": true,
      "Fuel consumption rate (seconds per litre)": 0.5,
      "Spawn vehicles with fuel": true,
      "Amount of fuel to give spawned vehicles (minimum)": 10,
      "Amount of fuel to give spawned vehicles (maximum)": 50
    },
    "Repair Options": {
      "Custom repair system enabled": true,
      "Shortname of item required to repair": "scrap",
      "Amount of item required to repair": 10,
      "Amount of damage repaired per hit": 30,
      "Allow players to flip boats that are upside down": true
    },
    "Death Options": {
      "Enable explosion damage on death": true,
      "Damage radius": 3.0,
      "Damage Amount": 40.0
    },
    "Active Item Options": {
      "Driver - Disable all held items": true,
      "Passenger - Disable all held items": false
    },
    "Security Options": {
      "Enable ignition systems": true,
      "Ignition options": {
        "Allow players to copy a ignition key": true,
        "Give the first player to enter the vehicle a key": true,
        "Chance of getting a key on entrance (1 in X)": 1
      },
      "Hotwire options": {
        "Allow players to hotwire vehicles": true,
        "Deal shock damage on failed hotwire attempts": true,
        "Amount of time it takes per hotwire attempt (seconds)": 45,
        "Chance of successfully hotwiring a vehicle (1 in X chance)": 5
      },
      "Trunk lock options": {
        "Allow locks to be placed on the trunk": true,
        "Only allow locks to be placed if the player has the ignition key": true
      }
    },
    "Collision Options": {
      "Enable collision damage system": true,
      "Collision damage multiplier": 1.0
    },
    "Decay Options": {
      "Enable decay system": true,
      "Amount of decay per decay tick (percentage of maximum health)": 5.0,
      "Time between decay ticks (seconds)": 3600
    },
    "Build Options": {
      "Allow users to build this boat": true,
      "Use cooldown timers": true,
      "Build Costs": [
        {
          "Item shortname": "metal.refined",
          "Amount": 500
        },
        {
          "Item shortname": "techparts",
          "Amount": 100
        }
      ]
    }

  },
  "Motorboat Settings": {
    "Movement Settings": {
      "Engine - Acceleration torque": 600.0,
      "Engine - Maximum speed": 90.0
    },
    "Passenger Options": {
      "Allow passengers": true,
      "Require passenger to be a friend (FriendsAPI)": true,
      "Require passenger to be a clan mate (Clans)": true
    },
    "Inventory Options": {
      "Enable inventory system": true,
      "Drop inventory on death": true,
      "Inventory size (max 36)": 36
    },
    "Spawnable Options": {
      "Convert game spawned boats to BoatCommander boats": false,
      "Spawn BoatCommander boats on custom spawn file": false,
      "Spawnfile name": "",
      "Maximum spawned vehicles at any time": 5,
      "Time between autospawns (seconds)": 1800,
      "Cooldown time for player spawned vehicles via chat command (seconds)": 86400
    },
    "Fuel Options": {
      "Requires fuel": true,
      "Fuel consumption rate (seconds per litre)": 0.5,
      "Spawn vehicles with fuel": true,
      "Amount of fuel to give spawned vehicles (minimum)": 10,
      "Amount of fuel to give spawned vehicles (maximum)": 50
    },
    "Repair Options": {
      "Custom repair system enabled": true,
      "Shortname of item required to repair": "scrap",
      "Amount of item required to repair": 10,
      "Amount of damage repaired per hit": 30,
      "Allow players to flip boats that are upside down": true
    },
    "Death Options": {
      "Enable explosion damage on death": true,
      "Damage radius": 3.0,
      "Damage Amount": 40.0
    },
    "Active Item Options": {
      "Driver - Disable all held items": true,
      "Passenger - Disable all held items": false
    },
    "Security Options": {
      "Enable ignition systems": true,
      "Ignition options": {
        "Allow players to copy a ignition key": true,
        "Give the first player to enter the vehicle a key": true,
        "Chance of getting a key on entrance (1 in X)": 1
      },
      "Hotwire options": {
        "Allow players to hotwire vehicles": true,
        "Deal shock damage on failed hotwire attempts": true,
        "Amount of time it takes per hotwire attempt (seconds)": 45,
        "Chance of successfully hotwiring a vehicle (1 in X chance)": 5
      },
      "Trunk lock options": {
        "Allow locks to be placed on the trunk": true,
        "Only allow locks to be placed if the player has the ignition key": true
      }
    },
    "Collision Options": {
      "Enable collision damage system": true,
      "Collision damage multiplier": 1.0
    },
    "Decay Options": {
      "Enable decay system": true,
      "Amount of decay per decay tick (percentage of maximum health)": 5.0,
      "Time between decay ticks (seconds)": 3600
    },
    "Build Options": {
      "Allow users to build this boat": true,
      "Use cooldown timers": true,
      "Build Costs": [
        {
          "Item shortname": "metal.refined",
          "Amount": 100
        },
        {
          "Item shortname": "wood",
          "Amount": 500
        }
      ]
    }
  },
  "UI Options": {
    "Health settings": {
      "Display to player": true,
      "Position - X minimum": 0.69,
      "Position - X maximum": 0.83,
      "Position - Y minimum": 0.1,
      "Position - Y maximum": 0.135,
      "Background color (hex)": "#F2F2F2",
      "Background alpha": 0.05,
      "Status color (hex)": "#ce422b",
      "Status alpha": 0.6
    },
    "Fuel settings": {
      "Display to player": true,
      "Position - X minimum": 0.69,
      "Position - X maximum": 0.83,
      "Position - Y minimum": 0.06,
      "Position - Y maximum": 0.096,
      "Background color (hex)": "#F2F2F2",
      "Background alpha": 0.05,
      "Status color (hex)": "#ce422b",
      "Status alpha": 1.0
    }
  },
  "Version": {
    "Major": 0,
    "Minor": 1,
    "Patch": 11
  }
}

Information

Author
k1lly0u
First release
Last update
Rating
4.25 star(s) 4 ratings

Latest Release v0.1.51

Released
Oct 4, 2024 at 12:01 AM
Rating
0.00 star(s) 0 ratings


More resources from k1lly0u

  • TeleportGUI
    TeleportGUI
    Teleport, home and warp with a easy to use UI
  • DiscordRewards
    DiscordRewards
    Reward players with items, kits and commands for being a member of your Discord
  • Discord Clans
    Discord Clans
    Log events and team chat from Clans Reborn to Discord
  • NPC Taxi
    NPC Taxi
    Allow players to call NPC driven taxi's to drive them around
  • BuildingRestrictor
    BuildingRestrictor
    Limit the amount of building blocks allowed per base

BoatCommander by k1lly0u
© chaoscode.io Apr 22, 2018

Latest reviews

Great Concept. Your primary problem is that after spawning the boats, if you leave, you cannot restart them.
Each time you get into the boat an new key is generated, which is appearing to prevent the boats from starting.

As a few ideas that would improve this plugin and make it worth the 15.00 fee I highly suggest the following:

1. Fix the ignition issue with the boats not starting after you leave them. (Keys enabled or not)
2. Provide an option to unspawn the boats.
SpawnMini is one that comes to mind, where you type /nomini to remove your mini copter.
You could implement this as /noboat or /norhib to remove your boats.

While I certainly appreciate the work done here, this is not worth 15.00 at this point. Please provide an update and correction to the issues I mentioned, along with adding the /noboat /norhib, and I am sure you could get 25.00 from this.

Thank you.
Simply Flawless Execution of another Excellent addition to Rust Servers
Great plugin.