Skip to main content

Introduction to Extend Event Handler

Last updated on October 24, 2024

Overview

The Event Handler is an Extend feature designed to streamline the process of executing custom logic in response to specific events within AccelByte Gaming Services (AGS). By leveraging this capability, game developers can effortlessly enhance gameplay experiences and eliminate the need for frequent game client updates and execute server authoritative action.

An Extend Event Handler app is a gRPC server that receives AGS events through Kafka Connect and performs actions based on custom logic.

Extend Event Handler Diagram

Benefits

  1. Seamless Custom Logic Execution: With the Event Handler, game developers gain the ability to execute custom logic based on predetermined events occurring within the backend system. By offloading this responsibility to the backend, developers can focus on crafting engaging gameplay mechanics without burdening the game client. This approach enhances overall performance and improves the gaming experience.

  2. Elimination of Game Client Updates: Implementing custom logic changes traditionally required updating the game client, resulting in time-consuming development cycles and potential disruptions for players. However, by utilizing the Event Handler, developers can introduce custom logic modifications directly within the backend system. This eliminates the need for game client updates, allowing for agile and efficient development processes.

API Events

You can find all events that can be listened to under the section on API Events.

Event Descriptor

You can find the a Protocol Buffers (protobuf) file that serves as an event descriptor in the GitHub repo.

You can also find proto file link in each event listed on API Events.