CPH.Wait(int)
, underlying code was incorrect and crashing silentlyCPH.PauseReward
, CPH.UnPauseReward
and the sub-action for this, was calling enable not pause
!test
matching both !test
and !test123
I've added a new GET method, ClearFirstWordsCache, this will reset your first words cache
Create a custom websocket server to have complete control over what gets sent
Arguments available are %sessionId%
, %ip%
on all events, and %data%
for the message event. %data%
will always be passed as a string.
I've gone ahead and added 2 new methods to the C# code that will let you reset the credits and the first words cache.
void ResetCredits();
void ResetFirstWords();
Added 2 more methods to hide filters on source/scenes, to mirror the sub-action that exists for these.
void ObsHideSourcesFilters(string scene, string source, int connection = 0);
void ObsHideScenesFilters(string scene, int connection = 0);
Also added a handful of new methods to support custom websocket servers.
void WebsocketCustomServerStart(int connection = 0);
void WebsocketCustomServerStop(int connection = 0);
bool WebsocketCustomServerIsListening(int connection = 0);
void WebsocketCustomServerCloseAllSessions(int connection = 0);
void WebsocketCustomServerCloseSession(string sessionId, int connection = 0);
void WebsocketCustomServerBroadcast(string data, string sessionId, int connection = 0);