How Dokkaebi Tavern turns the time the app was closed into coins. The 4-hour cap, what happens if the clock goes backwards, why helpers matter, and every way to stretch the cap, with the in-game names.
The best moment in an idle game is coming back after a long break and finding coins waiting. Dokkaebi Tavern shows a small window for it, titled "While you were away". There is no server behind that window. It is two clock readings and one calculation.
This article is based on the game's code (offline.ts and the catchUp routine) and its on-screen text, and it describes the version that is live today. Once you know how the number is made, it is easier to decide when to close the game and when to come back.

The whole rule is a clock difference
The game saves every 10 seconds and also whenever the page is hidden. Each save carries the time it was written. When you open the game again, it subtracts that time from the current time. That is your time away.
There are three cases.
| Situation | Result |
|---|---|
| Time away is shorter than the cap | You are paid for all of it |
| Time away is longer than the cap | You are paid the cap, and the window says "Builds up for up to N h" |
| The clock went backwards, or there is no saved time | Zero |
The default cap is 4 hours. Sleep for eight hours and you still collect four. Setting the device clock forward does not help much either, because of the cap. With no server, the game cannot fully stop clock tricks, so these two rules are the whole defense.
The same calculation runs even if you never fully close the game. If a browser tab or the app is hidden and then comes back, or if the game's timers froze and then resumed, the same function measures the gap. While a rewarded ad is playing the game is paused, and right after an ad it pays quietly, without the window.
Time is not replayed step by step
Four hours is 14,400 seconds, but the game does not loop through them. Every stall has a fixed "time per batch", so the payout is a single division.
- Divide the time away by the time one batch takes.
- The whole-number part is the number of finished batches. All of them are paid at once.
- The fraction stays on the progress bar. That is why a bar can resume halfway after you return.
Four hours or thirty-two hours cost the same to compute. Helper experience grows by the seconds away in the same way.
One practical tip follows from this: only stalls with a helper keep cooking. A stall you started by hand finishes one batch and stops. If you plan to be away for a long time, hiring helpers makes the biggest difference. Night orders also do not arrive while you are away. The yokai guests only visit while the game is running.
After a move, there is a floor
A move resets your stalls, so your income drops sharply. If you moved and then went to sleep, the morning payout would be tiny. To soften that, the new run is guaranteed a minimum rate of 5% of the previous run's income per second.
- It only applies while the new run's automatic income is lower than that value.
- Once your income passes it, the floor becomes zero and changes nothing.
- The game also says "After a move, your away earnings start building again" in its move text.
What appears in the window
If you were gone less than 60 seconds, or there is nothing to collect, the coins are added quietly with no window. Otherwise the "While you were away" window opens, with a line like "N h earned X" and two buttons.
| Button | What it does |
|---|---|
| Watch an ad: ×2 | Finish the ad and you get the same amount again |
| Collect | Take it as is |
In places where no ad is available, the ×2 button is hidden. The rewarded ad is only a bonus, so skipping it costs you nothing.
There is one early-game exception. If you are away for 300 seconds (5 minutes) or more during the first-time tutorial flow, that flow is treated as finished.
Every way to raise the cap
The 4-hour base grows with the following. The names are the ones the game shows.
| Source | Where | Extra time |
|---|---|---|
| Peddler's Ledger | Rumor Shop (Rumor 200) | +2 hours |
| Thick Ledger | Rumor Shop (Rumor 30,000) | +4 hours |
| Egg Ghost | Regulars, visits after your first move | +1 hour |
| Neighborhood Favorite | Pick it as this run's specialty | +4 hours (and all income ×1.5) |
| Cat | Mascots, unlocked at 1e15 lifetime coins | Hours equal to half the level, rounded up; +5 at max level 10 |
| Long Dream | Glutton tab, bought with Fortune | +30 min per level, up to 16 levels = +8 hours |
| Long Ledger | Optional item in the Shop | 4 h → 8 h |
Add everything up and the theoretical top is 4 + 2 + 4 + 1 + 4 + 5 + 8 + 4 = 32 hours. Nobody has all of it at once, and you do not need all of it. A sensible order:
- Right after your first move: buy Peddler's Ledger (200 Rumor) first. It is a much closer goal than Thick Ledger at 30,000.
- If you open the game every morning: 4 hours is mostly enough. It only falls short when you close it in the evening and reopen it the next morning.
- If you visit once or twice a day: the Neighborhood Favorite specialty or Long Dream gives the most.

A reminder when the ledger is full
On the Google Play version, if you have notifications turned on, you get one reminder at the moment your ledger fills up. The time is worked out from your real cap, not the default. If the cap is shorter than 30 minutes, no reminder is sent. The same rules apply as for all reminders: at most one a day, none during quiet night hours, and none after you have been away for more than a week.
Summary
- The payout is "now minus last saved time". There is no server.
- The base cap is 4 hours. A clock that moved backwards pays 0.
- Only stalls with helpers keep cooking. A hand-started stall finishes once and stops.
- Night orders do not arrive while you are away.
- After a move, the game guarantees 5% of the previous run's income per second as a floor.
- You can raise the cap with the Rumor Shop, Egg Ghost, Neighborhood Favorite, the Cat, Long Dream and Long Ledger. You can read more about the game on its JWorld page.
Written by the JWorld team from our game design documents and measured play data, with AI tools helping with the writing.