TB Car Dealer
Description
A car dealer script to buy cars and premium cars
Shop Link
https://www.themodbase.com/mods/TBCarDealer
Support
If you need any support, please open a ticket here: https://discord.gg/kGjN6gJy3m
Youtube
https://www.youtube.com/watch?v=Yq5ngJGqJAg
Features
- Creates a showroom for every single player, where they can test the cars
- works with DayZLife Car ownership
- 4 different action objects to open the dealer menu
- Player can
- buy cars
- sell cars,
- items in car inventory will drop to the ground
- items in car slots will be sold with the car
- can buy additional items for the car
- If spawn location for Vehicle is blocked, the car will be spawned at the next free location
- Premium Features
- You can set Cars to Premium Cars, so only Players with Premium Status can buy them
- You can set Items to Premium Items
- 4 different Premium Coins
- One Time Coin for Car Trader, player is able to buy one premium car with it
- 30 Days Premium in Daily Reward
- 7 Days Premium in Daily Reward
- 1 Day Premium in Daily Reward
- Admin
- can reload configs and user data in game, that helps to support config changes without server restart
- can add multiple independent dealer points
- can add car variations to car position, for example different colors or equipment
- can mark cars as premium cars so only premium users can buy them
- can add additional items to the car that increase the price of the car
- can log all transactions
- can disable buy, sell and showroom for locations
- Config Editor available Download
How to install
See also here
- Take the Server PBO and bring it into your own server side pack
- Take the Client PBO and the TBLib PBO and bring it into your own client pack. Publish this Pack on steam.
- Start your server, the server will now detect all vehicles and items that can used for the vehicle slots and create all config with default values.
- Configure now your needs, for example pricing. You can also use our Config Editor Download
- Configure yourself as an admin in the AdminConfig.json
How to use the test drive
- add your test drive positions to the DealerPointConfig
- set the vehicle to
canUsedForTestDrive
and set themaxDistanceToTestDriveSpawnPosition
andmaxTimeInSecondsForTestDrive
to your needs in CarConfig - reload the configs
- Go to show room
- select a vehicle with enabled option
- get into vehicle and use "test drive" mouse action
- you can get back from test drive with another action when you are at test drive OR you just leave the vehicle OR time is over OR max distance is reached
Configurations
Config Editor Download
- AdminConfig.json Admins can currently make a hot reload of configs and player data. Only they see the button in the menu.
- CurrencyConfig.json
- CarConfigs.md
- DealerPointConfig.md
- DealerPointsConfig.md
- Logger.md
- PriceItems.md