Skip to contentGo to cookie choices
Skip to docs navigation

Player features that affect your game

https://docs.zokogames.com/guides/player-features

This guide lists the portal features that change what your game sees or what players can do around it, and what your game should do about each. None needs special code, but each case must be handled. Examples assume const SDK = window.ZokoGames.SDK; and await SDK.init(); as in the SDK introduction; unfamiliar terms are in the glossary. None of these features exist in local mode (your own localhost page): there the SDK behaves like a normal, signed-in, ad-showing player, so test them on the live portal or the Preview tool.

Ad-free members#

Players will be able to become ad-free members, or receive a time-boxed ad-free pass from the portal team. The membership is planned (see feature status): it is built but switched off, so today no player is ad-free and passes have no effect. Once it is on, while a player is ad-free the portal frame changes what the SDK returns:

Call What your game gets
requestAd("midgame") adStarted and then adFinished fire straight away, with no ad shown and no error. It does not look like an ad blocker and never returns adblock. Resume the game exactly as after a normal ad.
requestAd("rewarded") Plays normally. The player asks for it, so it stays available, and the reward rules are unchanged.
Prerolls Not shown.
SDK.banner.requestBanner Fails with bannersDisabled, as when banners are off for the game.

Do not assume a finished midgame ad means time passed or an ad was seen, and never gate content on a midgame ad. The same code handles both cases:

JavaScript
await SDK.ad.requestAd("midgame", {
  adStarted: pauseAll,
  adFinished: () => {},   // fires at once for an ad-free member
  adError: () => {},
});
resumeAll();

Ad-free breaks are not counted as ad requests. The player also never sees a pitch for membership in kids mode.

Because ad-free players earn no ad revenue for the game they play, the portal plans a membership pool to compensate studios. See revenue share.

Kids mode and kids games#

Kids mode is a switch a parent turns on (turning it off needs an arithmetic parent gate). A game flagged as a kids game behaves the same way inside the player frame. Kids mode itself also keeps the whole visit inside the kids area: other portal pages redirect to it, and saving for offline is limited to kids games. In both cases, inside the frame:

  • No sharing, invites, multiplayer rooms, leaderboards, sign-in or account-link prompts. showAuthPrompt ends as cancelled by the user and showAccountLinkPrompt reports no signed-in user.
  • For a kids game, SDK.game.settings.disableChat is true from the start. Respect it.
  • Players can report a problem only with preset reasons, never free text, and "contact the developer" is closed.
  • Optional cookie categories are off: no analytics-only events and no personalised ads. Plays and anonymous counts still work. Push notifications are never sent.
  • hasAdblock returns false, and no ad network script is loaded. Games the portal marks as kids games never serve ads; see advertisement rules.
  • Embedding on partner sites is never available for kids games.

Device notices#

On the technical step of the submission you declare Works on mobile, Works on iOS and Works in Safari. They drive what players see:

  • If a visitor is on iOS or iPadOS and you did not tick iOS, a dismissible notice appears above the player saying the studio has not confirmed it works on iPhone or iPad. If they are on desktop Safari and you did not tick Safari, a similar notice names the browser. Chrome, Firefox, Edge and Opera on desktop never see it.
  • The notice offers Play anyway and Dismiss; the choice is remembered per game on that device. It disappears once Play was pressed.
  • A game not marked as working on mobile is labelled desktop-only, and the page offers phone visitors a code to save it for later at a keyboard. The "works on iOS" fact on the game page needs both Works on mobile and Works on iOS.

Tick a box only after testing. A notice costs plays; a broken experience costs more. See mobile.

Contact the developer#

A signed-in player can write to your studio from a game's page. The message lands in that game's Feedback inbox in the console and notifies your owner and admins (see notifications).

  • Players pick a subject (bug, suggestion, business, other) and write 5 to 2,000 characters. Each player may send 5 messages per hour.
  • It is not available in kids mode, for kids games, or for accounts whose birthday does not show they are at least 13.
  • The studio's email address is never sent to the player's browser, and the reply address is read from the player's account when you reply, never from the request.
  • Replying. You can reply in the inbox and optionally mark the item resolved. Email goes out only when the message was written by a signed-in account with a verified email; the reply is mailed to that verified address. Anonymous reports, reports from unverified accounts and old typed addresses can be answered in the console but cannot be emailed (no_reply_possible). A typed address is never used as a mail target.
  • A studio can send up to 200 replies per game per day. Every new player message fires the feedback.received webhook. Replying fires the feedback.replied webhook.

Players can also send a game report with preset subjects from the player; those arrive in the same inbox and cannot be replied to by email.

The optional guide link on your listing shows an "open guide" button on the game page that opens your wiki or guide in a new tab. It must be https, at most 300 characters, contain no user name or password and have a real host name; an empty value removes it. The link opens in a new tab and is marked nofollow. Link to something that helps a player.

Moderated chat and instant join#

Two declarations on the listing help reviewers and keep the integration honest:

  • Moderated chat: tick it only if your game has its own chat and you moderate it. Reviewers see the flag with your submission. Your game must still honour disableChat.
  • Instant join: tick it if a player can join a room straight from an invite link. Reviewers see the flag. When a page is opened with instantJoin=true, SDK.game.isInstantMultiplayer is true and your game should skip its menu; see multiplayer and invites.

These flags are declarations. The portal does not moderate your chat or test your join flow for you.

For what changes for children, see kids mode.

Next steps#

Something unclear, wrong or missing on this page? Tell us through support · Test your game in the preview tool