A Godot plugin for interfacing with pycolytics, a tiny open source event logging webservice. It provides anonymized event logging with as little as a single function call.
I made pycolytics so I could collect anonymized game statistics with the least amount of hassle possible. No quotas, no monthly fees, no bloated software, no megacorporation spying on my user's data.
Requires Godot 4.2 or higher.
- Install this plugin from the asset library, or by copying the addons folder from this repository into your project root folder.
- Enable the plugin (
pycolytics-godot
) underProjectSettings/Plugins
. - Install pycolytics on a local machine, or a remote server.
- Use the
PycoLog
autoload, for examplePycoLog.log_event(...)
to log your events.
For more examples, see examples/example.gd, or open up example.tscn in Godot!
- Event properties are resources: You can export them, reuse them, set them from the editor!
- Automatic batched submission: Minimal performance impact.
- Autoload included: For convinient logging.
- Built-in startup and shutdown events. With customizable callbacks.
- Automatic user-id and session-id generation.
To log to a server on the internet, set addons/pycolytics/server_url
and addons/pycolytics/api_key
under project settings.
Open an issue if you wish to contribute, or buy me a coffee if you find my work useful.
This project is licensed under the MIT License - see the LICENSE file for details.