Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ This plugin will currently make the following data available to your COGS show:
- Player 8 Name
- Player 9 Name
- Game Master Name
- Room Name

Want more information from Buzzshot to use in COGS? Let us know!

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cogs-plugin-buzzshot",
"version": "0.1.6",
"version": "0.1.7",
"private": true,
"dependencies": {
"@buzzshot/api": "^0.1.6",
Expand Down
2 changes: 2 additions & 0 deletions src/BuzzshotCogsPlugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ interface CogsConnectionParams {
"Player 8 Name": string;
"Player 9 Name": string;
"Game Master Name": string;
"Room Name": string;
};
outputEvents: {
"Game Selected": string;
Expand Down Expand Up @@ -173,6 +174,7 @@ export class BuzzshotCogsPlugin extends TypedEventTarget<Events> {
"Player 8 Name": this.game?.group.players[7]?.first_name ?? "",
"Player 9 Name": this.game?.group.players[8]?.first_name ?? "",
"Game Master Name": this.game?.game_master?.name ?? "",
"Room Name": this.game?.room?.name ?? "",
}
this.connection.setOutputPortValues(values);
}
Expand Down