-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
49 additions
and
1 deletion.
There are no files selected for viewing
File renamed without changes.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
Event | ||
===== | ||
|
||
Fields: | ||
| Type | Name | Description | | ||
|------|------|-------------| | ||
| String | constantName | The name of the constant event to reference. If this is set then all the other fields in this event are ignored | | ||
| Array | conditions | List of conditions required to trigger the event | | ||
| Array | outcomes | List of outcomes to trigger if the event meets the conditions | | ||
| Boolean | triggersFromAnyConditionMet | Does this event trigger from any condition that is met? | | ||
| Boolean | allowsOtherEventsToTrigger | Does triggering this event still allow other events to trigger? | | ||
| Boolean | singleOutcomeOnly | If there are multiple outcomes for the event, only the first outcome that succeeds? | | ||
| Integer | playTime | How long to play the event, in ticks. Only if the event type has been registered a queue. Set to -1 to skip the queue. | ||
| Integer | delay | How long of a delay, in ticks, before playing the event | | ||
| Integer | cooldown | How often this event can be triggered, in ticks | | ||
|
||
Removing unnecessary fields or setting them to null is allowed/recommended to minimise file size. Booleans will default to false, numbers will default to 0. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
Event Configuration & Configuration | ||
=================================== | ||
|
||
## Event Configuration | ||
|
||
Event Configuration stores configurations for events. | ||
|
||
Fields: | ||
| Type | Name | Description | | ||
|------|------|-------------| | ||
| Array | configs | An array of `Configuration` type objects | | ||
| Array | init | An array of `Event` type objects. These events are tested with the current global variables when the `EventConfiguration` is loaded | | ||
| String | type | _Online Source Only:_ The type that this `EventConfiguration` is for. EG: `streamlabs/streamelements/chat`. Ignored if file is loaded from a local source. | | ||
| String | from | _Online Source Only:_ The online source of this `EventConfiguration`. Ignored if file is loaded from a local source. | | ||
|
||
|
||
## Configuration | ||
|
||
Configuration filters by account type and event type. Also defines queues for types. | ||
|
||
Fields: | ||
| Type | Name | Description | | ||
|------|------|-------------| | ||
| Map | types | Key-Value pair of the stream event type and an array of events to try it against | | ||
| Array | queue | Array of types of events to queue. More than one event type can be put in a single queue. EG: `bits+donations` will put events of type `bits` and `donations` in the same queue. Events will only be queued if the `playTime` field is larger than or equal to 0 | | ||
| String | for | The account type that this configuration is for. EG: `mixer/twitch` for chat events. Leave this as null for it to apply to all account types | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters