Use this tutorial with community.examples.public-event-logger.
Goal#
Subscribe to public gameplay events, record a small mod-scoped counter, and avoid private event namespaces.
Steps#
- Review
RegisterEventListener,ReadModStorage, andWriteModStorageinV2/docs/modding/generated/mod-api-reference.md. - Open
V2/ue/Content/V2/Modding/Examples/PublicEventLogger.mayamod/scripts/event_logger.lua. - Confirm the listener uses
Gameplay.Public.RoundStart. - Confirm storage reads and writes remain mod-scoped.
- Package the example locally and serve it through the toolkit server.
Expected Result#
The example listens to allowed public events, persists only a small local count, and keeps network access denied in the manifest.