Inactivity shutdown policy

更新时间:
复制 MD 格式

An inactivity shutdown policy lets you automatically shut down a game or send a reminder to the client after a specified period of user inactivity. If you do not configure a policy, the game shuts down by default after 10 minutes of inactivity.

Create an inactivity shutdown policy

1. To configure a uniform policy for all games in a project, click Create Project Inactivity Policy.

2. To configure a separate policy for a specific game, click Create Game Inactivity Policy.

3. Create a page.

  • Project ID/Name: Select or search for a project.

  • Inactivity Shutdown Time: Set a time between 30 seconds and 24 hours. If a user provides no input during this period, the game automatically shuts down. A drift of a few seconds may occur because of the heartbeat monitoring frequency.

  • Inactivity Reminder Time: Set a time shorter than the inactivity shutdown time. If a user provides no input during this period, the SDK sends a message to the client.

4. If you configure both a project-level policy and a game-level policy, the game-level policy takes precedence.

Publish and unpublish an inactivity shutdown policy

1. To publish a policy, click Publish. The policy then takes effect.

2. To unpublish a policy, click Unpublish. The policy is deactivated. The default policy is then used, which shuts down the game after 10 minutes of inactivity.

Edit an inactivity shutdown policy

  • Click Edit to configure the policy duration.