Closed realbucksavage closed 8 years ago
The SteamID can only be obtained using the enhanced getPlayers()
that uses RCON.
To use it, you will have to know the RCON password of the server and pass it to getPlayers()
:
server.getPlayers(rconPassword);
I am trying to get the SteamID of players on a counter-strike server. I am using the following code:-
Everything is fine, but the
SteamPlayers
in the Map havenull
SteamID.P.S.:-
gameServerBA.getGameServerObject()
returns an instance ofGoldSrcServer
.