diff --git a/streamerbot/3.api/2.triggers/core/system/clipboard-changed.md b/streamerbot/3.api/2.triggers/core/system/clipboard-changed.md new file mode 100644 index 00000000..82b7b973 --- /dev/null +++ b/streamerbot/3.api/2.triggers/core/system/clipboard-changed.md @@ -0,0 +1,50 @@ +--- +title: Clipboard Changed +description: Trigger for clipboard changed +version: +variables: + - name: formats.count + type: Int32 + description: + value: 5 + - name: formats.0 + type: String + description: + value: Text + - name: formats.1 + type: String + description: + value: UnicodeText + - name: formats.2 + type: String + description: + value: System.String + - name: formats.3 + type: String + description: + value: Locale + - name: formats.4 + type: String + description: + value: OEMText + - name: containsText + type: Boolean + description: + value: True + - name: containsImage + type: Boolean + description: + value: False + - name: containsAudio + type: Boolean + description: + value: False + - name: clipboard.text + type: String + description: + value: 0 + - name: error + type: Boolean + description: + value: False +--- diff --git a/streamerbot/3.api/2.triggers/core/websocket/client/websocket-client-closed.md b/streamerbot/3.api/2.triggers/core/websocket/client/websocket-client-closed.md index 073e129e..4f7048f6 100644 --- a/streamerbot/3.api/2.triggers/core/websocket/client/websocket-client-closed.md +++ b/streamerbot/3.api/2.triggers/core/websocket/client/websocket-client-closed.md @@ -3,42 +3,9 @@ title: Websocket Client Closed navigation.title: Connection Closed description: Trigger for when the Websocket Client connection is Closed version: 0.0.41 -variables: - - name: wsIdx - type: number - description: The 0-based id of this websocket - value: 0, 1, 2, etc. - - name: wsId - type: string - description: The UUID of this websocket client - - name: wsName - type: string - description: The custom defined name of this websocket client - value: My websocket client - - name: wsUrl - type: string - description: The full URL of this websocket client - value: ws://127.0.0.1:8080/ - - name: wsScheme - type: string - description: The scheme of this websocket client - value: ws - - name: wsHost - type: string - description: The host of this websocket client - value: 127.0.0.1 - - name: wsPort - type: number - description: The port of this websocket client - value: 8080 - - name: wsPath - type: string - description: The path of this websocket client - value: / - - name: wsQuery - type: string - description: The query of this websocket client - value: '?key=value' +variables: [] +commonVariables: + - WebsocketClient --- ## Parameters diff --git a/streamerbot/3.api/2.triggers/core/websocket/client/websocket-client-message.md b/streamerbot/3.api/2.triggers/core/websocket/client/websocket-client-message.md index 20872b0d..f2fcb05c 100644 --- a/streamerbot/3.api/2.triggers/core/websocket/client/websocket-client-message.md +++ b/streamerbot/3.api/2.triggers/core/websocket/client/websocket-client-message.md @@ -4,45 +4,12 @@ navigation.title: Message description: Trigger for a the Websocket Client Message version: 0.0.41 variables: - - name: wsIdx - type: number - description: The 0-based id of this websocket - value: 0, 1, 2, etc. - - name: wsId - type: string - description: The UUID of this websocket client - - name: wsName - type: string - description: The custom defined name of this websocket client - value: My websocket client - - name: wsUrl - type: string - description: The full URL of this websocket client - value: ws://127.0.0.1:8080/ - - name: wsScheme - type: string - description: The scheme of this websocket client - value: ws - - name: wsHost - type: string - description: The host of this websocket client - value: 127.0.0.1 - - name: wsPort - type: number - description: The port of this websocket client - value: 8080 - - name: wsPath - type: string - description: The path of this websocket client - value: / - - name: wsQuery - type: string - description: The query of this websocket client - value: '?key=value' - name: message type: string description: The websocket client message value: '{"timeStamp":"2023-03-16T22:58:28.3298+01:00","event":{"source":"HotKey","type":"Press"},"data":{"_85lbxopeOGvkNXq7iRgrjS6tpjj":1,"_hdhxue62iGbvG5rnMWU0dxGe29p":96}}' +commonVariables: +- WebsocketClient --- ## Parameters diff --git a/streamerbot/3.api/2.triggers/core/websocket/client/websocket-client-opened.md b/streamerbot/3.api/2.triggers/core/websocket/client/websocket-client-opened.md index 0c70fbcb..9d0c578e 100644 --- a/streamerbot/3.api/2.triggers/core/websocket/client/websocket-client-opened.md +++ b/streamerbot/3.api/2.triggers/core/websocket/client/websocket-client-opened.md @@ -3,42 +3,9 @@ title: Websocket Client Open navigation.title: Connection Opened description: Trigger for when the Websocket Client connection is Opened version: 0.0.41 -variables: - - name: wsIdx - type: number - description: The 0-based id of this websocket - value: 0, 1, 2, etc. - - name: wsId - type: string - description: The UUID of this websocket client - - name: wsName - type: string - description: The custom defined name of this websocket client - value: My websocket client - - name: wsUrl - type: string - description: The full URL of this websocket client - value: ws://127.0.0.1:8080/ - - name: wsScheme - type: string - description: The scheme of this websocket client - value: ws - - name: wsHost - type: string - description: The host of this websocket client - value: 127.0.0.1 - - name: wsPort - type: number - description: The port of this websocket client - value: 8080 - - name: wsPath - type: string - description: The path of this websocket client - value: / - - name: wsQuery - type: string - description: The query of this websocket client - value: '?key=value' +variables: [] +commonVariables: + - WebsocketClient --- ## Parameters diff --git a/streamerbot/3.api/2.triggers/core/websocket/custom-server/connection-closed.md b/streamerbot/3.api/2.triggers/core/websocket/custom-server/connection-closed.md index 01a5c206..575f19c0 100644 --- a/streamerbot/3.api/2.triggers/core/websocket/custom-server/connection-closed.md +++ b/streamerbot/3.api/2.triggers/core/websocket/custom-server/connection-closed.md @@ -3,10 +3,9 @@ title: WebSocket Custom Server Connection Closed navigation.title: Connection Closed description: Trigger for when a Websocket Custom Server Connection is Closed version: 0.0.41 -variables: - - name: sessionId - type: string - description: The session id of the client +variables: [] +commonVariables: + - CustomWebsocketServer --- ## Parameters diff --git a/streamerbot/3.api/2.triggers/core/websocket/custom-server/connection-opened.md b/streamerbot/3.api/2.triggers/core/websocket/custom-server/connection-opened.md index 97e4a57b..aca053d4 100644 --- a/streamerbot/3.api/2.triggers/core/websocket/custom-server/connection-opened.md +++ b/streamerbot/3.api/2.triggers/core/websocket/custom-server/connection-opened.md @@ -3,21 +3,9 @@ title: WebSocket Custom Server Connection Opened navigation.title: Connection Opened description: Trigger for when a Websocket Custom Server Connection is Opened version: 0.0.41 -variables: - - name: wssIdx - type: number - description: The 0-based id of this websocket server - value: 0, 1, 2, etc. - - name: wssId - type: string - description: The UUID of this websocket server - - name: ip - type: string - description: The ip of this websocket server - string: 127.0.0.1 - - name: sessionId - type: string - description: The session id of the client +variables: [] +commonVariables: + - CustomWebsocketServer --- ## Parameters diff --git a/streamerbot/3.api/2.triggers/core/websocket/custom-server/message.md b/streamerbot/3.api/2.triggers/core/websocket/custom-server/message.md index 23fc2f52..32339b83 100644 --- a/streamerbot/3.api/2.triggers/core/websocket/custom-server/message.md +++ b/streamerbot/3.api/2.triggers/core/websocket/custom-server/message.md @@ -4,23 +4,12 @@ navigation.title: Message description: Trigger for a Websocket Custom Server Connection Message version: 0.0.41 variables: - - name: wssIdx - type: number - description: The 0-based id of this websocket server - value: 0, 1, 2, etc. - - name: wssId - type: string - description: The UUID of this websocket server - - name: ip - type: string - description: The ip of this websocket server - string: 127.0.0.1 - - name: sessionId - type: string - description: The session id of the client - name: data type: string description: The received data from the client + value: Some data +commonVariables: + - CustomWebsocketServer --- ## Parameters diff --git a/streamerbot/3.api/_variables/custom-websocket-server/CustomWebsocketServer.md b/streamerbot/3.api/_variables/custom-websocket-server/CustomWebsocketServer.md new file mode 100644 index 00000000..54b1728c --- /dev/null +++ b/streamerbot/3.api/_variables/custom-websocket-server/CustomWebsocketServer.md @@ -0,0 +1,23 @@ +--- +title: Websocket Client Variables +navigation.title: Websocket Client +variables: + - name: wssIdx + type: number + description: The 0-based id of this websocket server + value: 0, 1, 2, etc. + - name: wssId + type: string + description: The UUID of this websocket server + - name: wssName + type: String + description: + value: Server name + - name: ip + type: string + description: The ip of this websocket server + string: 127.0.0.1 + - name: sessionId + type: string + description: The session id of the client +--- \ No newline at end of file diff --git a/streamerbot/3.api/_variables/websocket-client/WebsocketClient.md b/streamerbot/3.api/_variables/websocket-client/WebsocketClient.md new file mode 100644 index 00000000..8110dd38 --- /dev/null +++ b/streamerbot/3.api/_variables/websocket-client/WebsocketClient.md @@ -0,0 +1,40 @@ +--- +title: Websocket Client Variables +navigation.title: Websocket Client +variables: + - name: wsIdx + type: number + description: The 0-based id of this websocket + value: 0, 1, 2, etc. + - name: wsId + type: string + description: The UUID of this websocket client + - name: wsName + type: string + description: The custom defined name of this websocket client + value: My websocket client + - name: wsUrl + type: string + description: The full URL of this websocket client + value: ws://127.0.0.1:8080/ + - name: wsScheme + type: string + description: The scheme of this websocket client + value: ws + - name: wsHost + type: string + description: The host of this websocket client + value: 127.0.0.1 + - name: wsPort + type: number + description: The port of this websocket client + value: 8080 + - name: wsPath + type: string + description: The path of this websocket client + value: / + - name: wsQuery + type: string + description: The query of this websocket client + value: '?key=value' +--- \ No newline at end of file