Skip to content

Submitting your Effect Pack ​

Crowd Control needs to know which effects your game offers. You upload them as an effect pack in the developer portal; the plugin builds that pack from your CCEffectEntries resource.

Export the Effect Pack ​

  1. Select your CCEffectEntries resource in the FileSystem dock.
  2. At the bottom of the Inspector, click Export Effect Pack....
  3. Save the file as a .zip.

The zip holds everything the portal expects:

FileContent
menu.jsonYour effects: names, descriptions, prices, durations, parameters.
assets/icons/<effect id>.pngThe icon of each effect that has one, scaled down to 512 x 512 if it is larger.

Choose the Menu JSON only file type in the same dialog to save just menu.json. JSON Manifest shows it and copies it to the clipboard.

You can also export from a script, for example in a build step:

gdscript
var entries: CCEffectEntries = load("res://effects.tres")
entries.save_pack_zip("res://effect_pack.zip")

What Is Left Out ​

The editor prints an error and leaves an effect out of the pack if it has no ID, an invalid ID, or the same ID as an earlier effect. Effects marked as custom are also left out, see Custom Effects.

visible and sellable are not part of the pack. They are reported when a session starts, see Controlling the Effect Menu.

Translations ​

To translate effect names and descriptions, add a locales/ folder to the zip with one file per language, such as locales/es-ES.json. The plugin does not generate these.

Review the Pack ​

Before uploading it, confirm:

  • every ID is unique and only uses letters, numbers, and underscores,
  • names and descriptions are written for viewers,
  • default prices are intentional,
  • categories are consistent,
  • timed effects have the expected duration,
  • parameter options and quantity bounds are complete,
  • obsolete effects have been removed.

The portal checks the pack when you upload it and lists everything that needs fixing at once. Its limits:

LimitValue
Zip size50 MB
Effects500
IconsPNG, WebP, or JPG; up to 512 x 512 and 256 KB each
Description512 characters
Parameter name32 characters
Option name48 characters
Duration1 to 600 seconds

Upload and Release ​

In the portal, open your game and the game pack you are submitting to, then:

  1. Upload the zip under Pack Submissions. Give it a version, such as 1.0.0, and the minimum game version it is for.
  2. Start Testing. Your team can now start sessions with this version from the game. See Starting a Session & Testing.
  3. Submit for Review. Add a note for the reviewers if they need anything to try the game: where to get a build, a test save, how to reach each effect.
  4. Crowd Control staff review the pack and approve it, or deny it with a reason. To fix a denied version, upload the zip again with the same version number and resubmit.
  5. Release. The version becomes public right away: streamers can find your game and start sessions with it.

Each version also has a store listing (name, description, platforms, box art) that is reviewed with it.

Upload a new version whenever you add or remove effects, or change their names, descriptions, icons, or parameters.

Changes Without a New Version ​

Prices, durations, cooldowns, categories, groups, and whether an effect is inactive can be edited per effect in the portal. Those edits go live right away, without review. Each effect also has a switch to disable it everywhere, in case one misbehaves after release.

Game Versions ​

The plugin sends the version of your game when a session starts, and Crowd Control loads the pack version made for that build: the one with the highest minimum game version that is not above it.

The version comes from crowd_control/common/game_version, or from application/config/version if that is empty. It has to look like 1.0, 1.2.3, or 1.2.3-beta; anything else is not sent, and the newest pack version is used.

This lets you release a pack with new effects before every player has the update: players on older builds keep the pack that matches their game.

Custom Effects ​

While developing, a game can also upload effects itself at runtime. Applications created in the portal have the custom-effects:write scope this needs; the Game Pack additionally has to allow custom effects.

Mark the effects as custom on their resource. Custom effects are left out of the exported pack.

gdscript
CrowdControl.custom_effects_updated.connect(func(success: bool, message: String):
	print("Custom effects updated: %s %s" % [success, message]))

if CrowdControl.can_upload_custom_effects():
	CrowdControl.upload_custom_effects(CrowdControl.CUSTOM_EFFECTS_MERGE)
ModeResult
CUSTOM_EFFECTS_MERGEMerge the uploaded effects with the existing ones.
CUSTOM_EFFECTS_REPLACE_ALLReplace all existing effects with the uploaded ones.
CUSTOM_EFFECTS_REPLACE_PARTIALReplace only the uploaded effects.

delete_custom_effects(ids) and delete_all_custom_effects() remove them again. See Custom Effects for what happens on the service.

Getting Help ​

Join our Discord, select the #❓cc-help-n-questions channel, and open a private ticket, or email support@crowdcontrol.live.