twohoursonelife / OneLife

Two Hours One Life, building upon One Hour One Life. Join us on Discord to play.
https://twohoursonelife.com
Other
46 stars 39 forks source link

Add ability to query server list of alive players names, age and gender #202

Closed connorhsm closed 1 year ago

connorhsm commented 1 year ago

An external application should have the ability to open a socket with the server to query a list of the current alive players names, age and gender.

This functionality could be used by external services such as our Discord bot Dictator or OneLifeWeb to create a display of current living players.

Dictator and OneLifeWeb is already able to achieve a similar goal by querying the server for a player count. Seen here and here.

Eboubaker commented 1 year ago

will it be public or does it require some kind of basic authentication(token...) and which type?

connorhsm commented 1 year ago

Public, no authentication is fine.