gamedig / rust-gamedig

Game Server Query Library.
https://crates.io/crates/gamedig
MIT License
38 stars 11 forks source link

Add support for querying BeamMP Servers #76

Open Firav opened 1 year ago

Firav commented 1 year ago

Howdy y'all.

I'd like to add support for pinging and retrieving information from BeamMP servers. I've found the following post about it written in Powershell: https://www.flyinghyrax.net/posts/beammp-server-list/ Whats important to note from that post is that the API URL has changed from https://backend.beammp.com/servers to https://backend.beammp.com/servers-info Looks to be all parsed in json.

Thanks!

CosminPerRam commented 1 year ago

Thanks a lot for the suggestion! As I see it would be a custom protocol, but that isn't a problem!

Just another reference for later: TypeScript example made by @cainthebest: https://gist.github.com/cainthebest/4e308c4cf01078d96320ff6203fac968