Gives vehicles as item to players

Supported Games

Permissions

  • portablevehicles.use - to chat command
  • portablevehicles.admin - to admin command
  • portablevehicles.pickup - to pickup vehicles with hammer hit

Commands

  • /pv 'vehicle name' - get the vehicle (need use permissions)
  • /pv 'steamID/player name' 'vehicle name' - give vehicle to player (need admin permissions)

Console Commands

  • portablevehicles.give 'steamID/player name' 'vehicle name' - give vehicle to player (need admin permissions)

Configuration

{
  "Chat Icon": 0,
  "Hits count to pickup vehicle": 5,
  "Automatically mount players": false,
  "Item shortname for water entity": "innertube",
  "Item shortname for ground entity": "box.wooden.large",
  "Blacklist pickupable vehicles shortname": [
    "rhib",
    "rowboat",
    "minicopter.entity",
    "sedantest.entity",
    "ch47.entity",
    "hotairballoon",
    "testridablehorse",
    "scraptransporthelicopter",
    "2module_car_spawned.entity",
    "3module_car_spawned.entity",
    "4module_car_spawned.entity",
    "submarinesolo.entity",
    "submarineduo.entity",
    "snowmobile"
  ],
  "version": {
    "Major": 1,
    "Minor": 1,
    "Patch": 2
  }
}

Available Vehicles

  • rhib
  • car (sedan)
  • boat
  • ch47
  • minicopter
  • horse
  • balloon
  • scraphelicopter
  • car2, car3, car4 for 2-3-4 module cars
  • submarinesolo
  • submarineduo
  • snowmobile

Demonstration

Youtube Video

Localization

{
  "Usage": "Usage: portablevehicles.give 'steamID/player name' 'vehicle name'\n",
  "Invalid Syntax": "Invalid Syntax!\n/pv 'vehicle name'\n/pv 'steamID/player name' 'vehicle name'",
  "Permission": "You don't have permission to use that!",
  "Received": "You received '{0}'!",
  "No Player": "There are no players with that Name or steamID!",
  "Multiple Players": "There are many players with that Name:\n{0}",
  "Pickup Ownership": "Only owner can pickup vehicles!",
  "Fuel": "You need to remove fuel from vehicle first!",
  "Recently Attacked": "Vehicle was recently attacked! {0}s left",
  "Durability": "You need to repair vehicles fully!",
  "Not Empty": "Vehicle is not empty! Check fuel or storages!",
  "Hits": "You need to do more {0} hits!",
  "Cupboard": "You need to have building privilege to do that!",
  "BigModel": "That vehicle have big model and can kill you. Run away! It will be spawned in 5 seconds",
  "Pickupable": "This vehicle cannot be picked up",
  "Invalid Vehicle": "Vehicle name is invalid!"
}

Credits

  • Orange, the original developer of this plugin
MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.