- Documentation
- Server functions
- getServerIpFromMasterServer
Function
getServerIpFromMasterServer
Returns the server address as seen from outside, as reported by the server list.
Syntax
string getServerIpFromMasterServer()Returns
The address, or false until the list reports it.
Example
local ip = getServerIpFromMasterServer()
outputServerLog("Adres publiczny: " .. tostring(ip))