BROKE PROTOCOL

BROKE PROTOCOL

Not enough ratings
Car Buyer
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
12.288 KB
22 May, 2022 @ 6:51am
12 Nov, 2024 @ 12:47pm
8 Change Notes ( view )

Subscribe to download
Car Buyer

Description
Car Buyer

THIS PLUGIN REQUIRES Vehicle Names!

Sell your owned cars like every honest citizen, or steal a car and find the illegal buyer.
The plugin is entirely configurable: from vehicles names to illegal selling countdown.

Set-up:
Place NPCs or any entity you want able the buy cars on your map.
in the "data" field, type "CarBuyer" (without the quotes).
If you the buyer to accept stolen vehicles, add "Illegal" after "CarBuyer" (without the quotes).

Configuration:
The configurations files are generated in Plugins/settings/CarBuyer after you started the server once. You need to restart the server for your changes to take effect.

Blacklist:
Add blacklisted vehicles in the list. These vehicles can't be sold. Don't forget the comma at the end of every line (except the last one)

Names:
Add pretty names to vehicles following the format "VehicleName": "Pretty Name". Don't forget the comma at the end of every line (except the last one)

Settings:
illegalTimespan: Countdown to sell another stolen vehicle
maxDistance: Max distance between vehicles and the buyer to list a vehicle. Distance is in meters.
priceMultiplier: How much players sells vehicles. 0.5 = 50% of the price, 1.0 = 100% of the price.
allowCriminalsLegal: Allow wanted players to sell vehicles legally.
allowCriminalsIllegal: Allow wanted players to sell vehicles illegally.

Translations:
Change only the 2nd text of each line. The first one is the identifier used by the plugin.
vehicleButton: {0} = vehicle name; {1} = selling price; {2} = distance
errorTime: {0} = minutes reaming; {1} = seconds reaming
7 Comments
TheUnishark  [author] 10 Oct, 2022 @ 8:06am 
Because its a npc (asset) and we cant publish a plugin and an asset together in the workshop, and i didnt want to publish a mod only for one npc
WOLFOXY 10 Oct, 2022 @ 7:52am 
he looks cool
WOLFOXY 10 Oct, 2022 @ 7:52am 
why is the car buyer npc isnt in the mod?
Marwan 25 May, 2022 @ 2:45am 
goooooooood
TheUnishark  [author] 23 May, 2022 @ 7:52am 
Thanks. I thinked about crimes too, but the game crimes are hardcoded for now, it's not possible to add a custom crime, and the default crimes default really fit for that.
I will maybe divide the option later.
Forgenet 23 May, 2022 @ 7:20am 
I think that you need to divide option "allowCriminals" into "allowCriminalsLegal" and "allowCriminalsIllegal" so that for example legal buyer will not interact with wanted person but illegal will, also i think that after interacting with illegal buyer player should became wanted
This is really great plugin, i really enjoy using it, thank you!
FRIENDLY MAN 23 May, 2022 @ 1:47am 
Sick.