denpadokei / HttpSiraStatus

Live game status over web sockets.
MIT License
24 stars 3 forks source link

Forward custom JSON on notes/lights as used by several modes like Chroma or Noodles #37

Open codingcatgirl opened 2 years ago

codingcatgirl commented 2 years ago

Feature request

Several mods use custom json on notes/lights to set custom colors or other effects. It would be nice if that custom json was provided through the websocket API as well.

I've noticed that there is an OtherJSON in the code. It seems like right now it is never used. Maybe this is a bug and it was supposed to be for that?

Motivation

The more information the better :) No but seriously, if you sync room lights with Beat Saber or something, obviously knowing if some mod alters the color of the lights would be very useful.

denpadokei commented 2 years ago

OtherJSON is provided for other mods to send information using HttpSiraStatus. https://github.com/denpadokei/HttpStatusExtention

It can't be implemented in HttpSiraStatus because it increases the number of dependent mods, but it is possible to implement it as another mod.