Install Asset
Install via Godot
To maintain one source of truth, Godot Asset Library is just a mirror of the old asset library so you can download directly on Godot via the integrated asset library browser

Quick Information

Yandex games SDK non official implementation for godot. I do it for my games, so it's not a complete SDK implementation yet. If you lack of some functions, you can do it your self and contribute or create issue on github. I will be appreciate you.RU Неофициальная реализация Yandex SDK для godot. Делаю для себя и своих игр, по этому тут реализованны не все методы и не всегда до конца (буду потихоньку доделывать). Если не хватает каких либо функций или я что-то криво сделал, можете создать ошибку (может быть я до неё дойду) или исправить и залить github, буду очень признателен.For use install plugin and add "yandex" feature to your exportRU Просто установите плагин и добавьте "yandex" к вашему экспорту
Yandex games SDK for Godot 3.x
Yandex games SDK unofficial implementation for godot. I do it for my games, so it's not a complete SDK implementation yet. If you lack of some functions, you can do it your self and contribute or create issue. I will be appreciate you.
Tested on Godot 3.5.2
Get started
Just install plugin and add "yandex" feature to your export (see below).
Methods
All methods stored in YandexSDK singleton.
Yandex SDK initialization
YandexSDK.init_game() -> void
First method you need to call. If you don't, others methods won't work. It's just implement start game method from yandex sdk documentation.
Display ad
YandexSDK.show_ad() -> void
Just show ad for user. Ad closing or cousing ad error will emmit signal ad(result), result store 'closed', 'opened', 'offline' or 'error' String
Display ad for a reward
YandexSDK.show_rewarded_ad() -> void
Show rewarded ad for user. Will emmit signal rewarded_ad(result), result store 'rewarded', 'closed', 'opened', or 'error' String
Initialization of player data
YandexSDK.init_player() -> void
Initialization of player data, required for saves and other player related stuff. Methods below won't work, without this method calling.
Saving player data
YandexSDK.save_data(data: Dictionary, flush: bool = false) -> void
Saves the user data. The maximum data size should not exceed 200 KB.
- data: Dictionary, an object containing key-value pairs.
- flush: Boolean, specifies the order data is sent in. If the value is "true", the data is immediately sent to the server. If it's "false" (default), the request to send data is queued.
Saving player numerical data
YandexSDK.save_stats(stats: Dictionary) -> void
Saves the player's numeric data. The maximum data size must not exceed 10 KB.
- stats: Object, an object that contains key-value pairs where each value is a number.
Loading player data
YandexSDK.load_data(keys: Array) -> void
Send request for get in-game player data, when done emmit signal data_loaded(data), data is loaded Dictionary
- keys: array, the list of keys to return.
Loading player numerical data
YandexSDK.load_stats(keys: Array) -> void
Send request for get player's numeric data, when done emit signal stats_loaded(data), data is loaded Dictionary
- keys: array, the list of keys to return.
Initialize Leaderboards
YandexSDK.init_leaderboard() -> void
Initializes the leaderboards for the game. This method should be called before using other leaderboard-related functions. After successful initialization, the leaderboard_initialized signal is emitted, indicating that the leaderboards are ready for use.
Save a Score to the Leaderboard
YandexSDK.save_leaderboard_score(leaderboard_name: String, score: int, extra_data: String = "") -> void
Saves a score to the specified leaderboard.
- leaderboard_name: A string representing the name of the leaderboard to which the score should be saved.
- score: An integer representing the score to be saved in the leaderboard.
- extra_data: Additional data that can be associated with this leaderboard entry (default is an empty string).
Load a Player's Entry from the Leaderboard
YandexSDK.load_leaderboard_player_entry(leaderboard_name: String) -> void
Loads a player's entry from the specified leaderboard. After loading, the leaderboard_player_entry_loaded(data) signal is emitted, where data is a Dictionary containing information about the player's entry in the leaderboard.
- leaderboard_name: A string representing the name of the leaderboard from which to load the player's entry.
Load Entries of Players
YandexSDK.load_leaderboard_entries(leaderboard_name: String, include_user: bool, quantity_around: int, quantity_top: int) -> void
Loads entries of players from the specified leaderboard with the ability to customize the number of loaded entries and include information about the authorized user. After loading, the leaderboard_entries_loaded(data) signal is emitted, where data is a Dictionary containing information about the players' entries in the leaderboard.
- leaderboard_name: A string representing the name of the leaderboard from which to load players' entries.
- include_user: A boolean value indicating whether to include information about the authorized user in the loaded results.
- quantity_around: The number of entries below and above the user in the leaderboard to load.
- quantity_top: The number of entries from the top of the leaderboard to load.
Check Player's Authorization
YandexSDK.check_is_authorized() -> void
Checks if the current player is authorized. After the check, it emits the check_auth(answer) signal, where answer is a boolean value indicating whether the player is authorized.
Open Authorization Dialog
YandexSDK.open_auth_dialog() -> void
Opens the player's authorization dialog. It performs an authorization check before opening the dialog.
For more information check official site Sorry for may bad english, If you see some mistake in readme, you can contribute to fix it. I will be appreciate you.
Yandex games SDK non official implementation for godot. I do it for my games, so it's not a complete SDK implementation yet. If you lack of some functions, you can do it your self and contribute or create issue on github. I will be appreciate you.
RU Неофициальная реализация Yandex SDK для godot. Делаю для себя и своих игр, по этому тут реализованны не все методы и не всегда до конца (буду потихоньку доделывать). Если не хватает каких либо функций или я что-то криво сделал, можете создать ошибку (может быть я до неё дойду) или исправить и залить github, буду очень признателен.
For use install plugin and add "yandex" feature to your export
RU Просто установите плагин и добавьте "yandex" к вашему экспорту
Reviews
Quick Information

Yandex games SDK non official implementation for godot. I do it for my games, so it's not a complete SDK implementation yet. If you lack of some functions, you can do it your self and contribute or create issue on github. I will be appreciate you.RU Неофициальная реализация Yandex SDK для godot. Делаю для себя и своих игр, по этому тут реализованны не все методы и не всегда до конца (буду потихоньку доделывать). Если не хватает каких либо функций или я что-то криво сделал, можете создать ошибку (может быть я до неё дойду) или исправить и залить github, буду очень признателен.For use install plugin and add "yandex" feature to your exportRU Просто установите плагин и добавьте "yandex" к вашему экспорту