Players can do a delivery job to earn money.
Delivery allows you players to drive with a car along a route and get money from each checkpoint they complete.
The next checkpoint will be marked on the map and you can add a effect on it.
If they complete the route they get the money back they payed for the vehicle.
It works with a custom ui wich will create a nice feeling.
The workshop mod can be found here.
Uconomy is needed and can be found here.
Join the discord to stay informed about updates and planed features.
checkPointRadius defines the max radius a player can be away to complete it.
checkPointMarkerEffectID defines the ID of the effect wich will mark the next checkPoint.
checkPointWaitTimeSec defines the time you have to wait at a checkPoint to complete it.
cancelTimeOutOfVehicleSec defines the time after wich the delivery will be canceled if you leave the vehicle.
defaultRouteMaxTimeSec defines the default max time you have to complete a route (is overwriten if you add a time in the route).
buyVehicleForJob defines if the players need to buy a vehicle for the delivery.
buyVehicleSpawnDistance defines the distance the vehicle is spawned infornt of the player.
buyRandomVehicle defines if a random vehicle should be bought for the delivery.
useSamePriceForRandomVehicles defines if all vehicles will have the same price when given randomly.
randomVehiclePrice defines the price for the random vehicles when useSamePriceForRandomVehicles is enabled.
removeVehicleAtEnd defined if the vehicle will be removed at the end of the delivery.
useForceUnlockOnVehicle defines if the vehicle will force unlocked during the delivery to avoid exploits with other plugins.
Avaliable vehicles can be defined like this:
<vehicles> <vehicle name="Orange Truck"> <id>20</id> <price>100</price> </vehicle> </vehicles>
The permission "delivery.admin" is needed to administrate the plugin.
The permission "delivery.job" is needed to use the /delivery or /job command.
First you need to add a route:
/route add route <routeName>
Then you need to add checkPoints to the route:
/route add point <routeName> <pointMoney>
pointMoney defines how much money you get from completing the checkPoint.
Then you might want to set a custom maxTime for your route:
/route set time <routeName> <timeInSec>
If you want to list the things you added use:
If you want to remove something use:
/route remove <route|point> <routeName> <pointIndex>
If you want to set a new value to something use:
/route set <route|point|time> <routeName> <newRouteName|pointIndex|timeInSec> <pointMoney>
If you want to teleport to a checkPoint use:
/route tp point <routeName> <pointIndex>
To start a delivery:
If you have set buyVehicleForJob in the config to true use this first:
Will list all avaliable vehicles.
/delivery start <vehicleID>
If you want to cancel your current delivery use:
You want a custom plugin, have questions on the product or report a bug? Feel free to contact me ;)
Game4Freak#9591 on Discord
- Marker effect not despawning after delivery is cancelled