CarHeist.png
(0)

Merchant: j1r4
Price: $8.00
Framework: RocketMod
By purchasing this product you agree END-USER AGREEMENT

Car Heist

Simple plugin to setup car heists! Vehicle spawns, players can locate it using /heistcar or by just finding it, break-in the car, remove tracker (optional) and deliver it to set location to get money!

Features

  • Easy setup
  • Different spawn position and delivery position for each vehicle ID
  • Different money reward for each vehicle
  • Random reward based on Minimum and Maximum reward value set in configuration
  • Optional Item rewards
  • Optimized (No FixedUpdate :p )
  • Tracking on heist vehicles for police officers
  • Police announcements
  • Manual Heist Vehicle spawning using /heistcar

Dependencies

  • You need to install RocketExtensions and UniTask on your server in order to run this plugin. Both are located in Libraries folder in .zip file

Workshop

- You need to add the CarHeist workshop ID (You can find this inside "Workshop" tab) into WorkshopDownloadConfig.json on your server to make this plugin work

Commands

  • Command: /removetracker ⇒ Removes tracker from Heist Vehicle
  • Command: /carunlock ⇒ Unlocks Heist Vehicle
  • Command: /heistcar ⇒ Locates active Heist Vehicle (Marks it on GPS) | If RandomSpawns are set to false, this command spawns Heist Vehicle for the player
  • Command: /setupcarheist ⇒ Admin command, used to setup Heist Vehicles: Syntax: /setupcarheist create/deliverypos/spawnposition/startheist

Permissions

  • Player permission ⇒ carheist.heist
  • Admin permission ⇒ carheist.admin

Contact

If you have issues with the plugin, feel free to DM me on discord: j1r4

Min / Max Respawn Interval => The time the vehicle will spawn in once someone finishes his delivery
DeliveryTime => Time to deliver the vehicle (starts after you enter unlocked vehicle)
NotifyHeistRange => Range in which you will get notified that there's heist vehicle nearby
MinPoliceOnline => Minimum police officers online for heist vehicle to spawn
MaxHeists => Maximum on-going Heists at one time (I recommend setting this to just 1)
removeTrackerChance => The chance to to remove tracker using /removetracker
unlockVehicleChance => The chance to unlock vehicle using /carunlock
DeliveryRange => Range of the delivery circle
PolicePermission => Players with this permission will receive alerts and won't be able to do car heists
HeistVehicles are setupped using commands, you can remove the example one.
UseRandomSpawns => If this is set to false, players spawn heist vehicles using /heistcar, instead of location them by the command.
CarDespawnTime => Time needed for car spawned using /heistcar to despawn
requireItemForCarSpawnCMD => If this is set to true, player has to have `SpawnCarItem` in their inventory in order to use /heistcar while `UseRandomSpawns` is set to `false`
useMoneyReward => If this is set to true, player will receive Experience for delivering the car, if it's set to false, player will receive random items from the list below this option
```
<?xml version="1.0" encoding="utf-8"?>
<Config xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <TimerUIID>36478</TimerUIID>
  <AnnouncementUIID>36479</AnnouncementUIID>
  <DeliveryCircleID>36477</DeliveryCircleID>
  <RemoveTrackerUIID>36476</RemoveTrackerUIID>
  <UnlockCarUIID>36475</UnlockCarUIID>
  <UseRandomSpawns>true</UseRandomSpawns>
  <MinRespawnInterval>300</MinRespawnInterval>
  <MaxRespawnInterval>600</MaxRespawnInterval>
  <requireItemForCarSpawnCMD>true</requireItemForCarSpawnCMD>
  <SpawnCarItem>1176</SpawnCarItem>
  <CarDespawnTime>600</CarDespawnTime>
  <DeliveryTime>600</DeliveryTime>
  <NotifyHeistRange>30</NotifyHeistRange>
  <MinPoliceOnline>1</MinPoliceOnline>
  <MaxHeists>1</MaxHeists>
  <removeTrackerChance>30</removeTrackerChance>
  <unlockVehicleChance>75</unlockVehicleChance>
  <DeliveryRange>7</DeliveryRange>
  <CommandRange>10</CommandRange>
  <PolicePermission>carheist.police</PolicePermission>
  <HeistVehicles>
    <ConfigVehicle>
      <Name>example</Name>
      <VehicleID>1</VehicleID>
      <useMoneyReward>true</useMoneyReward>
      <MinReward>150</MinReward>
      <MaxReward>300</MaxReward>
      <MinItemRewards>2</MinItemRewards>
      <MaxItemRewards>4</MaxItemRewards>
      <ItemRewards>
        <RewardItem>
          <id>363</id>
          <Weight>1</Weight>
        </RewardItem>
        <RewardItem>
          <id>15</id>
          <Weight>3</Weight>
        </RewardItem>
      </ItemRewards>
      <Spawnposition>
        <x>0</x>
        <y>0</y>
        <z>0</z>
      </Spawnposition>
      <DeliveryPosition>
        <x>0</x>
        <y>0</y>
        <z>0</z>
      </DeliveryPosition>
      <rotation>
        <x>0</x>
        <y>0</y>
        <z>0</z>
        <w>1</w>
        <eulerAngles>
          <x>-0</x>
          <y>0</y>
          <z>0</z>
        </eulerAngles>
      </rotation>
    </ConfigVehicle>
  </HeistVehicles>
</Config>
```
<?xml version="1.0" encoding="utf-8"?>
<Translations xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Translation Id="plugin_reload" Value="<color=#FF2400>[CarHeist]</color> <color=#E4D00A>Plugin has been reloaded! Your car heist was cancelled!" />
  <Translation Id="vehicle_despawned" Value="<color=#FF2400>[CarHeist]</color> <color=#D22B2B>Timer ran out! Vehicle despawned!" />
  <Translation Id="timer_started" Value="<color=#FF2400>[CarHeist]</color> <color=#E4D00A>Car Heist started! You have {0} seconds to deliver the vehicle to marked position on GPS!" />
  <Translation Id="tracker_info" Value="<color=#FF2400>[CarHeist]</color> <color=#E4D00A>This vehicle has tracker! You can remove it using /removetracker !" />
  <Translation Id="exit_heist_veh" Value="<color=#FF2400>[CarHeist]</color> <color=#D22B2B>You exited heist vehicle!" />
  <Translation Id="timer_running" Value="<color=#FF2400>[CarHeist]</color> <color=#E4D00A>Timer is already running on this vehicle! Deliver vehicle to marked position on GPS!" />
  <Translation Id="no_car" Value="<color=#FF2400>[CarHeist]</color> <color=#D22B2B>You are not looking on Heist Car!" />
  <Translation Id="no_car_tracker" Value="<color=#FF2400>[CarHeist]</color> <color=#D22B2B>This car does not have tracker!" />
  <Translation Id="no_car_unlock" Value="<color=#FF2400>[CarHeist]</color> <color=#D22B2B>This car doesn't need unlocking!" />
  <Translation Id="already_removing" Value="<color=#FF2400>[CarHeist]</color> <color=#D22B2B>You are already doing something!" />
  <Translation Id="remove_tracker" Value="<color=#FF2400>[CarHeist]</color> <color=#50C878>Successfully removed vehicle tracker!" />
  <Translation Id="unlock_car" Value="<color=#FF2400>[CarHeist]</color> <color=#50C878>Successfully unlocked vehicle!" />
  <Translation Id="fail_unlock_car" Value="<color=#FF2400>[CarHeist]</color> <color=#D22B2B>Failed to unlock vehicle!" />
  <Translation Id="fail_remove_tracker" Value="<color=#FF2400>[CarHeist]</color> <color=#D22B2B>Failed to remove vehicle tracker!" />
  <Translation Id="deliver_success" Value="<color=#FF2400>[CarHeist]</color> <color=#50C878>Successfully delivered vehicle! You got {0} money!" />
  <Translation Id="deliver_success_items" Value="<color=#FF2400>[CarHeist]</color> <color=#50C878>Successfully delivered vehicle! You got {0} item(s) as a reward!" />
  <Translation Id="heistcar_not_found" Value="<color=#FF2400>[CarHeist]</color> <color=#D22B2B>Could not find any available Heist Car!" />
  <Translation Id="heistcar_found" Value="<color=#FF2400>[CarHeist]</color> <color=#50C878>Found available Heist Car! Location of the car is marked on your GPS!" />
  <Translation Id="police_announcement" Value="Someone is stealing a vehicle with tracker!
 Vehicle name: {0}!" />
  <Translation Id="close_to_vehicle" Value="You are close to Heist Car! 
Enter the vehicle to start Heist!" />
  <Translation Id="not_unlocked" Value="<color=#FF2400>[CarHeist]</color> <color=#D22B2B>Use /carunlock to break-in the vehicle first!" />
  <Translation Id="vehicle_explode" Value="<color=#FF2400>[CarHeist]</color> <color=#D22B2B>Heist vehicle exploded, heist ended!" />
  <Translation Id="police_permission" Value="<color=#FF2400>[CarHeist]</color> <color=#D22B2B>You are forbidden from doing this because you are police!" />
  <Translation Id="not_in_range" Value="<color=#FF2400>[CarHeist]</color> <color=#D22B2B>You are too far away from the vehicle!" />
  <Translation Id="no_spawn_item" Value="<color=#FF2400>[CarHeist]</color> <color=#D22B2B>You do not have {0} !" />
  <Translation Id="veh_not_spawned" Value="<color=#FF2400>[CarHeist]</color> <color=#D22B2B>This heist vehicle wasn't spawned by you! Use /heistcar !" />
  <Translation Id="maximum_heists_active" Value="<color=#FF2400>[CarHeist]</color> <color=#D22B2B>Maximum number of heists! Please, wait a while before creating a new heist!" />
  <Translation Id="heist_already_active" Value="<color=#FF2400>[CarHeist]</color> <color=#D22B2B>You already have active heist car! Heist car location was marked on your GPS" />
  <Translation Id="not_enough_police" Value="<color=#FF2400>[CarHeist]</color> <color=#D22B2B>There aren't enough police officers on the server!" />
  <Translation Id="start_heistcar" Value="<color=#FF2400>[CarHeist]</color> <color=#50C878>Started heistcar! Heistcar position was marked on your GPS" />
  <Translation Id="no_available_spawns" Value="<color=#FF2400>[CarHeist]</color> <color=#D22B2B>There aren't any available heist cars!" />
  <Translation Id="car_despawned" Value="<color=#FF2400>[CarHeist]</color> <color=#D22B2B>You took to long to get to the Heist Car! Heist Car de-spawned!" />
</Translations>

Not found

No reviews were found.