Skip to content

Built-In Events

These are the built-in events which are automatically generated by Megamify APIs. The JSON payload each event provides are linked to within the event.

Note

All events are prefixed with com.megamify. so the Player created event would be com.megamify.player_created.

Game

Event Trigger
game_created When a game is created.
game_updated When a game is updated.
game_deleted When a game is deleted.
game_secret_key_created When a secret key is created.
game_secret_key_updated When a secret key is updated.
game_secret_key_deleted When a secret key is deleted.
game_api_access_updated When an API Access setting is updated for a game.
game_config_data_created When a game config data is created.
game_config_data_updated When a game config data is updated.
game_config_data_deleted When a game config data is deleted.
game_badge_created When a game Achievement is created.
game_badge_updated When a game Achievement is updated.
game_badge_deleted When a game Achievement is deleted.
game_currency_created When a game currency is created.
game_currency_updated When a game currency is updated.
game_currency_deleted When a game currency is deleted.
game_rank_created When a game rank is created.
game_rank_updated When a game rank is updated.
game_rank_deleted When a game rank is deleted.
game_statistic_created When a game statistic is created.
game_statistic_updated When a game statistic is updated.
game_statistic_deleted When a game statistic is deleted.
game_leaderboard_created When a game leaderboard is created.
game_leaderboard_updated When a game leaderboard is updated.
game_leaderboard_deleted When a game leaderboard is deleted.
game_checkin_created When a game checkin is created.
game_checkin_updated When a game checkin is updated.
game_checkin_deleted When a game checkin is deleted.

Player

Event Trigger
player_created When a player is created.
player_deleted When a player is deleted.
player_displayname_updated When a player display name is updated.
player_avatar_updated When a player avatar URL is updated.
player_email_updated When a player updates a contact email on their profile.
player_linked_account When a new authentication method is linked to a player account.
player_unlinked_account When an authentication method is unlinked from a player account.
player_logged_in When a player logs in (any method).
player_data_created When a player data is created.
player_data_updated When a player data is updated.
player_data_deleted When a player data is deleted.
player_statistic_created When a player statistic is created.
player_statistic_updated When a player statistic is updated.
player_statistic_deleted When a player statistic is deleted.
player_currency_created When a player currency is created.
player_currency_updated When a player currency changes.
player_currency_deleted When a player currency is deleted.
player_badge_created When a player achievement is created.
player_badge_updated Currently not supported as player achievements cannot be modified.
player_badge_deleted When a player achievement is deleted.
player_rank_created When a player rank is created.
player_rank_updated When a player rank is updated.
player_rank_deleted When a player rank is deleted.
player_checkin_created When a player checkin is created.
player_checkin_updated Currently not supported as player checkins cannot be modified.
player_checkin_deleted When a player checkin is deleted.