Documentation index for AI agents

GS2-Idle API Reference

Idle reward feature

This service provides idle rewards. It implements a mechanism to earn rewards based on the time spent not playing the game.

Multiple idle rewards can be provided. Players can have one waiting time per category.

Categories can be used as independent idle-reward units, such as “automatic recovery of a character’s stamina”, “automatic mining at a mining site”, or “automatic generation of materials”.

For each category, you can set how many minutes of idle time grants a reward and the initial value of the maximum idle time. The maximum idle time can be raised per player. Whether to reset unused idle time after receiving rewards or carry it over to the next time can be selected via rewardResetMode.

Define the list of items obtainable after a set idle time has elapsed for idle rewards. Multiple rewards (up to 10) can be set up, such as “experience + items”.

Sometimes you want more randomness in the reward contents. In such cases, set up GS2-Lottery’s lottery process for the rewards.

Each category can be associated with a GS2-Schedule event so that idle rewards linked to the event can be implemented.

By using GS2-Buff, you can correct the category model’s acquireActions or the per-player maximumIdleMinutes with buffs, dynamically adjusting the contents of idle rewards and the maximum idle time according to events and campaigns.

For example, operations such as “idle rewards are 1.5x on weekends” or “players holding a specific title get +60 minutes of maximum idle time” are possible.


GS2-Idle SDK for Game Engine API Reference

Specifications of models and API references for GS2-Idle SDK for Game Engine

GS2-Idle SDK API Reference

Specification of models and API references for GS2-Idle SDK for various programming languages

GS2-Idle Script Trigger Reference

Reference for event triggers that call extended scripts

GS2-Idle Deploy/CDK Reference

The template format used when creating stacks with GS2-Deploy, and implementation examples of template output in various languages using CDK

GS2-Idle Master Data Reference

Reference for the master data format and the models to be imported

GS2-Idle Transaction Actions

Specification of verify/consume/acquire transaction actions

GS2-Idle Buff Reference

Describes the fields within models/actions whose parameters can be adjusted when applying buffs with GS2-Buff, and how to configure the scope in which those buffs are applied.