Guides
Adding items as reward
This is valid for both free and premium battle pass
Item options: table
name:
string
Name of item
label:
string
Label of item
img?:
string
If no image is provided, the item image will automatically be based on the item name. Alternatively, you can specify a custom image
requirements:
table
tier:
number
Required tier to collect item
xp:
number
Required XP to collect item
amount:
number
Amount of item that will be received
metadata?:
table
Optionally, you can add metadata to the item here if needed
Example (items as rewards)
Adding vehicles as reward
This is valid for both free and premium battle pass
Vehicle options: table
name:
string
Name of vehicle (spawn code)
label:
string
Label of vehicle
img:
string
URL of image, otherwise it will look for image in
web/img
folder
requirements:
table
tier:
number
Required tier to collect item
xp:
number
Required XP to collect item
vehicle:
table
type:
string
car, boat, helicopter, whatever you need
stored:
string
orboolean
Usually for stored status is 1 or true
garage:
string
garage where vehicle will be stored
properties:
table
here you can pre-configure properties that vehicle will have (colour, tyre smoke, engine etc)
Example (vehicles as rewards)
Adding items to battle pass shop
Item options: table
name:
string
Name of item
label:
string
Label of item
img?:
string
If no image is provided, the item image will automatically be based on the item name. Alternatively, you can specify a custom image
currency:
string
Item that will be currency for that item/vehicle
price:
number
Price for item/vehicle
amount:
number
Amount of item that will be received
metadata?:
table
Optionally, you can add metadata to the item here if needed
Example (items in battle pass shop)
Adding vehicles in battle pass shop
Vehicle options: table
name:
string
Name of vehicle (spawn code)
label:
string
Label of vehicle
img:
string
URL of image, otherwise it will look for image in
web/img
folder
currency:
string
Item that will be currency for that item/vehicle
price:
number
Price for item/vehicle
vehicle:
table
type:
string
car, boat, helicopter, whatever you need
stored:
string
orboolean
Usually for stored status is 1 or true
garage:
string
garage where vehicle will be stored
properties:
table
here you can pre-configure properties that vehicle will have (colour, tyre smoke, engine etc)
Example (vehicles in battle pass shop)
Last updated