Opened 8 years ago
Closed 8 years ago
#133 closed enhancement (fixed)
LPF on offline players.
Reported by: | Paul Reid | Owned by: | Christian Illy |
---|---|---|---|
Priority: | minor | Component: | Scripts |
Keywords: | Cc: |
Description
A mate and I are currently developing an advanced claim feature.
Advanced Claim coords are defined with a chathook (/advclaim) and are stored in a DB, and an 'lp' call every few secs allows us to check if any players are within any defined advclaim boundaries. To be able to complete this feature, we need to be able to get a list of the player's friends to decide whether to TP a player outside of the advclaim boundary. Coppis command 'lpf steamid' only works if the queried player is online.
I have seen that the data is available in the players.xml file, but this requires local file reading, which is not really suitable.
Would it be practical/possible to also return the friendlist of an offline player using the webAPI:
executeconsolecommand&command=lpf+12345678901234
?
Thanks :)
In 285: