Oxide Policev1.14.0
MinorAdded
- Destroyed vehicle recovery is simpler. A new setting,
/police settings→ Fleet → Destroyed vehicle recovery (Config.DestroyedVehicleRecovery), decides what happens when a fleet vehicle is wrecked or sunk:- Paid from treasury (default): it stays out of service until a boss presses Replace on the boss menu's Fleet screen. The boss picks how many to bring back and the treasury pays each one's replacement cost. If the treasury can't cover it, nothing is charged and the boss is told the cost and the balance.
- Free: it is back in its garage straight away. Switching to Free also brings back every vehicle already destroyed.
- Either way, nothing is ever charged automatically and no debt builds up. The vehicle comes back with the same plate, repaired and with a full tank.
- Officers can have more than one vehicle out at a time, as long as the garage has a free vehicle and a free bay. Each one has its own keys and map marker, and is returned, towed or written off on its own.
Changed
- Recover and Replace are now one Replace button, shown only with Paid recovery. The free Recover button is gone.
/police writeoff <plate>follows the recovery setting. With Free, the vehicle is back in its garage at once.
Fixed
- Vehicles left out in the field are no longer deleted as wrecked about 30 seconds after a server restart when no player is near them.
- Blown-up cars and helicopters, and helicopters that crash, are now written off within seconds. Before, they could stay listed as out on the Fleet screen.
When you update
- Destroyed vehicles now cost their replacement cost to bring back. To keep them free, set Destroyed vehicle recovery to Free: every vehicle already destroyed comes back at once. On Paid, they stay lost until a boss replaces them.
- There's no database migration in this version. The new setting is added as Paid from treasury and your other settings are kept. Restart the whole server after updating; new files are added.