GetServerIP: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Redirect page)
Tag: New redirect
 
mNo edit summary
 
Line 3: Line 3:
If you are searching for the fetchRemote version, you can get it here: [https://wiki.multitheftauto.com/wiki/GetServerIp?redirect=no GetServerIp]
If you are searching for the fetchRemote version, you can get it here: [https://wiki.multitheftauto.com/index.php?title=GetServerIp&redirect=no GetServerIp]
{{Warning|The version above is expensive to call and will not return the IP immediately. Consider using the [[GetServerConfigSetting]] version if you want get the server IP instantly.
{{Warning|The version above is expensive to call and will not return the IP immediately. Consider using the [[GetServerConfigSetting]] version if you want get the server IP instantly.
However, the version above is more trustable than GetServerConfigSetting, which won't return IP if the server is local.}}
However, the version above is more trustable than GetServerConfigSetting, which may return the string "auto" if the server is local.}}

Latest revision as of 05:11, 13 June 2020

If you are searching for the fetchRemote version, you can get it here: GetServerIp

[[|link=|]] Warning: The version above is expensive to call and will not return the IP immediately. Consider using the GetServerConfigSetting version if you want get the server IP instantly.

However, the version above is more trustable than GetServerConfigSetting, which may return the string "auto" if the server is local.