Full-featured Yandex Games SDK for Godot 4: ads, purchases, leaderboards, cloud saves, reviews, home-screen shortcut. The same code runs on VK Games and OK Games — no second build. Verified on Godot 4.3+, including 4.6.2 and 4.7.2.
UniSDK
UniSDK is an editor plugin that adds a single, platform-agnostic API for the Russian web game platforms to your Godot 4 project: Yandex Games, VK Games and OK Games. You write one build and one code path; the adapter is picked at runtime from the JS environment.
Features
- One API for every platform —
UniSDK.ads.show_rewarded()behaves the same in Yandex Games and VK Games. - Automatic platform detection — a single Web build runs everywhere, no per-store code branches.
- Capability checks —
can_show_rewarded(),can_purchase(),can_set_score(),is_review_supported()and friends let you hide features a platform does not support. - Ads — rewarded video, interstitial with cooldown, banners, format state tracking (
supported/unknown/disabled), waiting limits and areasonin every result. - Purchases — catalog, purchase flow and unconsumed-payment recovery.
- Leaderboards — set scores and read entries, including full-board access where the platform allows it.
- Cloud saves — Yandex Player Data and VK Storage with a local cache, diff-based writes, conflict-safe reads and pause/resume on page visibility changes.
- Feedback and growth — review prompts and add-to-favourites shortcut.
- Editor Mock Mode — a mock JS bridge stores data in
user://unisdk_mock_data.json, so the game runs, saves and "shows ads" inside the editor with no platform account. - Export tooling — an editor dialog creates web export presets for the enabled platforms, injects the required HTML shells (Yandex SDK / VK Bridge), patches the Emscripten browser check and adds cache-busting; optionally zips the build and writes a VK hosting config.
- Diagnostics —
diagnose(),get_telemetry_report()anddump_telemetry()for chasing platform-specific ad and storage issues.
Requirements
- Godot 4.3 or newer.
- Web export (HTML5). Desktop and mobile builds fall back to the mock bridge, which is what makes editor testing possible.
- Platform credentials and a published game are required by Yandex Games / VK Games themselves for ads, purchases and cloud saves to work in production.
Installation
- Download the addon and copy the
addons/uni_sdkfolder into your project (the Asset Store does this for you). - Open Project → Project Settings → Plugins and enable UniSDK.
- The
UniSDKautoload is registered automatically and default platform profiles are created on first run. - Use the UniSDK menu in the editor toolbar to configure platforms, create export presets or export the enabled builds.
Quick start
func _ready() -> void:
await UniSDK.ensure_initialized()
var result: Dictionary = await UniSDK.ads.show_rewarded()
if result.get("rewarded", false):
grant_coins()
Links
- Source code and issue tracker: https://github.com/SergeLeon/unisdk-godot-yandex-vk
- Full reference (Russian): https://github.com/SergeLeon/unisdk-godot-yandex-vk/blob/master/addons/uni_sdk/DOCUMENTATION.md — every module, project setting, platform difference and known limitation. It ships inside the addon as
addons/uni_sdk/DOCUMENTATION.md. - Landing page: https://sergeleon.github.io/unisdk-godot-yandex-vk/
Also known as
Yandex Games SDK for Godot 4 · YaGames SDK · Yandex Player Data · VK Games SDK · VK Bridge for Godot · VK Storage · OK Games (Одноклассники) · SDK для Яндекс.Игр · SDK для ВК Игр.
Landing page with the same documentation: https://sergeleon.github.io/unisdk-godot-yandex-vk/
SDK для Яндекс.Игр и ВК Игр на Godot 4
UniSDK — плагин для Godot 4 с единым GDScript API для Яндекс.Игр, ВК Игр и Одноклассников: реклама (rewarded, interstitial, баннеры), покупки, лидерборды, облачные сохранения через Yandex Player Data и VK Storage, запрос отзыва и добавление игры в избранное. Собирается одна HTML5-сборка, адаптер платформы определяется при запуске; в редакторе работает mock-режим, а диалог экспорта создаёт готовые Web-пресеты с нужными HTML-оболочками Яндекса и VK.
License
MIT. See LICENSE.md in the addon folder.
If it saves you time, a star on GitHub helps other Godot developers find it: https://github.com/SergeLeon/unisdk-godot-yandex-vk
Если UniSDK сэкономил вам время — поставьте звезду репозиторию: это помогает другим разработчикам Godot его находить. https://github.com/SergeLeon/unisdk-godot-yandex-vk
Changelog for version 1.3.1
2026-10-18 19:44:30
No changelog provided for this version.