Links

Missions

Add and edit your quests and races. Set rewards and other details to make them fun, challenging, and unique.
Missions allow you to create time-based goals for your players based on data from your game. They are closely tied together with Maps, as a map is a requirement for creating a mission.
A mission can contain the following information;
Property
Description
Required
name
A name for the mission
Yes
game_id
The ID of the game to which this mission shall belong
Yes
type
An integer representing the type of mission you're creating
Yes
map_id
An integer representing the ID of the map this mission belongs to
Yes
asset_id
A reference to an asset you've created that you want to attach this mission to, if not supplied, one will be created automatically
No
poster_path
A string representing a path to a poster to display for this mission.
No
rounds
An integer representing the number of rounds in the mission
No
round_length
A string formatted as "00:00:000" for representing minutes, seconds and milliseconds
No
completion_bonus
A point based bonus for completing the mission, represented as an integer
No
difficulty_name
A string for representing the difficulty of the mission
No
difficulty_multiplier
A decimal number that will be multiplied with the point_reward from the medal field and completion_bonus from the mission
No
time_score_multiplier
An integer that will be multiplied with the amount of seconds that a player is faster than the round_length for mission of type 3
No
goals
Array of objects, see Goals below
No
checkpoints
Array of objects, see Checkpoints below
No
filters
Array of objects, see Filters
No
Missions are meant to be used together with content from your game.
Creating a mission is done by using our Admin API.
When creating a mission, you send a POST request with the payload data. This will create the mission and an asset for the mission, which you can later update with the update method.
You can send the request with something like https://www.postman.com/ or by calling the Admin API from a tool that you've created or with a custom editor-script in your game engine.

Do not include any Admin API functionality or information in a public build

If you make a tool or create a way to use the Admin API inside of the game engine you are using, make sure that it is not included in a public build. Leaking the Admin API information can have devastating consequences for your game as it allow players to login and change anything in the LootLocker web console.
You can read more about missions in our Admin API documentation.