Guides
Adding items as reward
This is valid for both free and premium battle pass
Item options: table
name:
stringName of item
label:
stringLabel of item
img?:
stringIf no image is provided, the item image will automatically be based on the item name. Alternatively, you can specify a custom image
requirements:
tabletier:
numberRequired tier to collect item
xp:
numberRequired XP to collect item
amount:
numberAmount of item that will be received
metadata?:
tableOptionally, 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:
stringName of vehicle (spawn code)
label:
stringLabel of vehicle
img:
stringURL of image, otherwise it will look for image in
web/imgfolder
requirements:
tabletier:
numberRequired tier to collect item
xp:
numberRequired XP to collect item
vehicle:
tabletype:
stringcar, boat, helicopter, whatever you need
stored:
stringorbooleanUsually for stored status is 1 or true
garage:
stringgarage where vehicle will be stored
properties:
tablehere 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:
stringName of item
label:
stringLabel of item
img?:
stringIf no image is provided, the item image will automatically be based on the item name. Alternatively, you can specify a custom image
currency:
stringItem that will be currency for that item/vehicle
price:
numberPrice for item/vehicle
amount:
numberAmount of item that will be received
metadata?:
tableOptionally, 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:
stringName of vehicle (spawn code)
label:
stringLabel of vehicle
img:
stringURL of image, otherwise it will look for image in
web/imgfolder
currency:
stringItem that will be currency for that item/vehicle
price:
numberPrice for item/vehicle
vehicle:
tabletype:
stringcar, boat, helicopter, whatever you need
stored:
stringorbooleanUsually for stored status is 1 or true
garage:
stringgarage where vehicle will be stored
properties:
tablehere you can pre-configure properties that vehicle will have (colour, tyre smoke, engine etc)
Example (vehicles in battle pass shop)
Last updated