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

# Idle Rewards

Accrues and grants rewards that build up while the player is away.




**이 데모에 대하여**

데모는 익명 계정으로 자동 로그인합니다. 이 계정은 쇼룸의 모든 데모에서 공유되므로 한 데모에서 얻은 아이템이나 재화가 다른 데모에도 반영됩니다. 로딩에 약간 시간이 걸립니다. 화면이 작다면 새 탭에서 열어 사용해 보세요.

## 개요

This demo uses GS2-Idle to work out and grant the rewards that build up while the player is away. Every 5 minutes away is worth 5 coins, every 12th interval (once an hour) is worth 50 instead, and the count stops at 8 hours. Buttons move your clock forward so hours away happen at once, and the coins you receive land in a GS2-Money2 wallet.

## 체험 방법

1. Read the **Rule** under **Idle rewards**. **Idle time** shows how long you have been away out of the 8-hour cap, **To receive** shows the coins you could take now, and **Next reward** counts down to the next payout.
1. Press **Advance one hour** to move your clock on GS2 forward one hour. **Demo clock** moves ahead, and **To receive** gains an hour's worth: 11 intervals of 5 coins plus 50, for 105 coins.
1. Press **Receive**; the coins go into **Free balance** under **Where the coins land**, and the idle count starts again from zero. Minutes short of a full 5-minute interval are dropped.
1. Press **Advance eight hours** to reach the 8-hour cap; **Idle time** reads **(full: receive to start counting again)**, and moving the clock further does not add to **To receive**.

The advance buttons change your account's time offset. The account is shared by every showroom demo in the same browser, so the moved clock carries over to the other demos too.

## 사용하는 GS2 서비스

- [GS2-Idle](/ko/microservices/idle/): A GS2-Idle category defines the 5-minute interval, the 480-minute cap and the twelve interval rewards, and works out and grants what each player's time away has earned.
- [GS2-Money2](/ko/microservices/money2/): Receiving the idle reward deposits free currency into a GS2-Money2 wallet (slot 0), which is shown as **Free balance**.

## GS2 Studio에서 사용하기

GS2 Studio의 Simple 모드에서 **Add features** 를 열고 **Idle Rewards** 의 **Add** 를 누르면 이 기능을 자신의 프로젝트에 가져올 수 있습니다. 패키지를 직접 지정하려면 **Add from GitHub** 를 선택하고 아래 패키지를 입력합니다.

```text
https://github.com/gs2io/gs2-studio-package/tree/main/foundation-economy-idle/packages/foundation-economy-idle
```

- Owner: `gs2io`
- Repository: `gs2-studio-package`
- Subdirectory: `foundation-economy-idle/packages/foundation-economy-idle`

## 소스 코드

- 데모 프로젝트: <https://github.com/gs2io/gs2-studio-package/tree/main/foundation-economy-idle/live-demo>
- 기능 패키지: <https://github.com/gs2io/gs2-studio-package/tree/main/foundation-economy-idle>



