Godot Crowd Control Documentation
The Crowd Control Godot Plugin allows game developers to implement Crowd Control functionality into their Godot games. The plugin handles the WebSocket connection, login, game sessions, and effect lifecycle for you - you define effects as resources and write a small script for what each one does. If you are just starting out, please read the Tutorial first.
For modding games, please refer to the homepage.
Requirements
- Godot 4.5 or newer
- Windows (x86_64), Linux (x86_64, arm64, rv64), or macOS
The plugin is a GDExtension. Effects are written in GDScript; C# support is partial.
Features
- Application (appID) login - set your Application ID and the streamer authorizes the game in their browser. The login uses PKCE, so no secret ships with your game.
- Effects as resources - every effect is a
CCEffectresource holding its menu data (name, price, description, categories) with a script that implements what it does. The plugin answers Crowd Control for you based on what the script returns. - Timed effects -
CCEffectTimedtracks the duration, pause and resume, and reports each step to Crowd Control. - Parameter effects -
CCEffectParameterslets viewers pick options or a quantity. - Menu control - show, hide, enable, and disable effects based on game state.
- Game events and pack metadata - report what happens in the game back to Crowd Control.
- Session control - start and stop game sessions automatically or by hand.
- Effect pack export - generate the zip the developer portal expects, icons included, from the editor.
- Custom effects - upload and delete custom effects at runtime while developing.
Getting the Plugin
- Plugin and demo project: https://github.com/WarpWorld/GodotCrowdControl
The repository contains the addon (project/addons/godotcrowdcontrol) and a small demo game that uses every effect type.
Getting Your IDs
Register your game in the Crowd Control developer portal:
- Log in with your Crowd Control account and choose Create Game.
- The page of the game shows its Application ID and, under Game Packs, the Game Pack ID.
You need both before the game can log in and start a session. The portal is also where you upload your effects, test them, and release them, see Submitting your Effect Pack.
