AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Off-Topic (https://forums.alliedmods.net/forumdisplay.php?f=15)
-   -   PHP get steam id of online players. (https://forums.alliedmods.net/showthread.php?t=299014)

4ever16 06-29-2017 15:50

PHP get steam id of online players.
 
Is there a pure php script which only gets steam id's of online players?

klippy 06-29-2017 16:06

Re: PHP get steam id of online players.
 
No, server queries don't give such info, you have to program your server (with a plugin or whatever) to send steam IDs.

DarkDeviL 06-30-2017 01:32

Re: PHP get steam id of online players.
 
As @KliPPy said:

- You will need RCON access and parse the data you receive by sending "status" via RCON.

OR

- You will need a plugin on the server that somehow opens up for the data you want to receive, it could for example be by populating a SQL database with the information when players join and/or quit the server, so the PHP script can retrieve it from the database.


So far, that's the only options you have, if you want more player details than the player name, kills/deaths and time spent on server.


All times are GMT -4. The time now is 01:20.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.