FWGS / xash3d-fwgs

Xash3D FWGS engine
1.56k stars 236 forks source link

RSS for new server connections #1562

Closed d47081 closed 10 months ago

d47081 commented 10 months ago

I want to make notification for subscribers when new player becomes online

is there any plugins or ideas how to implement this from debug log or with server API?

thanks

a1batross commented 10 months ago

There is an sv_log feature that writes logs to a file or sends them to a remote server. It's compatible with GoldSrc, and even worked with HLStats(X).

пт, 5 янв. 2024 г., 17:19 d47081 @.***>:

I want to make notification for subscribers when new player becomes online

is there any plugins or ideas hot to implement this from debug log or engine API?

thanks

— Reply to this email directly, view it on GitHub https://github.com/FWGS/xash3d-fwgs/issues/1562, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAYQTALJYKULHCLKFYEROILYNADX3AVCNFSM6AAAAABBOP3GUSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGA3DONBTGAZTKNY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

SNMetamorph commented 10 months ago

I want to make notification for subscribers when new player becomes online

is there any plugins or ideas how to implement this from debug log or with server API?

thanks

Also you just can use separate program that periodically send queries to server to get players count, and then publishes message to RSS that new player has arrived, etc.

d47081 commented 10 months ago

Thank you, guys!

I think that variant with players count request is optional, is there any documentation about the API? Because still fighting with pymaster protocol updates as my node invisible yet, on mentality.rip including

SNMetamorph commented 10 months ago

https://developer.valvesoftware.com/wiki/Server_queries

mittorn commented 10 months ago

Use logaddress, it will report connections to specified server withput any periodical queries

d47081 commented 10 months ago

Thank you for replies, I've found useful PHP-Source-Query library and created RSS notifications as part of HLState project.

As the server have Clearnet access, live instance available here, everything open sourced.