> For the complete documentation index, see [llms.txt](/llms.txt)

# GS2-Mission API Reference

Mission and achievement feature




This service provides a mission function.

The mission function allows users to set conditions such as "complete n quests" or "obtain n characters" and receive rewards for achieving these conditions.
To achieve this, a mechanism called "setting mission conditions," "subscribing to a counter," and "raising the counter" is used.

Setting a condition for a mission is to set a counter threshold at which the mission will have been accomplished.

Subscribing to a counter is the setting of the counter to which the mission is subject.
One counter can be subscribed to from multiple missions, and different reset timings can be set for each mission.
For example, if you want to create a mission that says "completed a total of 1000 quests" and a daily mission that says "completed 10 quests today
Subscribe to one counter from both missions that counts up each time a quest is completed, `no reset` for the former and By setting a `daily` reset timing, you can handle missions with multiple conditions with a single counter operation.

Raise Counter is an operation that literally raises the counter, for example, when a quest is completed, the counter rise in the number of times the quest is completed is included in the reward.

Two durations can be set for a mission.
The first is the period during which the counter can be manipulated, and is used in cases where raising the counter is limited to the event period.
The second is the period during which mission rewards can be received, and can be used to set two separate periods when you want to receive only mission rewards for a while after the event is over.
To specify the time period, associate the event with the GS2-Schedule event.

[Introduction to Microservices / GS2-Mission](../../microservices/mission)



- [GS2-Mission Buff Reference](/api_reference/mission/buff/)
  
- [GS2-Mission Deploy/CDK Reference](/api_reference/mission/deploy/)
  
- [GS2-Mission Master Data Reference](/api_reference/mission/master_data/)
  
- [GS2-Mission Script Trigger Reference](/api_reference/mission/script/)
  
- [GS2-Mission SDK API Reference](/api_reference/mission/sdk/)
  
- [GS2-Mission SDK for Game Engine API Reference](/api_reference/mission/game_engine/)
  
- [GS2-Mission Transaction Actions](/api_reference/mission/stamp_sheet/)
  
