GameQ icon indicating copy to clipboard operation
GameQ copied to clipboard

Add Stationeers Protocol

Open Acer90 opened this issue 2 years ago • 3 comments

Hello Devs,

Can you please include stationeers as a protocol. Data from the server can be obtained via the portal server: Output is already as JSON.

Link to Portal http://40.82.200.175:8081/list

Acer

Acer90 avatar Aug 29 '22 11:08 Acer90

So currently I see no way to query the server unless you install a restfulapi on the server yourself. The data of the portal server helps you because this is a listing of the servers and not the own server.

I searched the web for api documentation but couldn't find anything. there seems to be only an api integration through a bepinex installation https://github.com/RoboPhred/stationeers-webapi

Since I can not create my own server because the pterodactyl egg does not work. I can also not create a server for the restful API.

Erani0 avatar Aug 29 '22 18:08 Erani0

Since you are able to get to the server's information via a simple HTTP request (click on this link http://40.82.200.175:8081/list) there should be no issue adding this protocol. See https://github.com/Austinb/GameQ/blob/v3/src/GameQ/Protocols/Tshock.php for one example using the Http protocol class. There are a couple other protocols that use straight Http to make query requests.

Austinb avatar Aug 30 '22 02:08 Austinb

That this works I know but this is apparently a kind of server list and not a direct query from the server

Erani0 avatar Aug 30 '22 02:08 Erani0