If it an IP of some source or w.e. that you want to protect or even a password, you have to store it externally and make the plugin call that external value to use it except that the external storage have to white list the server IP.
For example, plugin -> web server -> is game server ip whitelisted? -> send value
Here a snippet to get public IP with steamwork to help you to your journey of "we have no idea of what are your real intentions"
PHP Code:
char g_sIp[32];
int g_iPort;
public Action Timer_CallSingleFunction(Handle timer, DataPack data)
{
data.Reset();
Call_StartFunction(INVALID_HANDLE, data.ReadFunction());
Call_Finish();
delete data;
}
void GetIp()
{
PrintToServer("Attempt to get public IP...");
int ipaddress[4];
SteamWorks_GetPublicIP(ipaddress);
if (!ipaddress[0] && !ipaddress[1] && !ipaddress[2] && !ipaddress[3])
{
DataPack data = new DataPack(); data.WriteFunction(GetIp);
CreateTimer(1.0, Timer_CallSingleFunction, data);
return;
}
Format(g_sIp, 32, "%d.%d.%d.%d", ipaddress[0], ipaddress[1], ipaddress[2], ipaddress[3]);
g_iPort = GetConVarInt(FindConVar("hostport"));
PrintToServer("Debug -> Hey what up! I found the public IP %s:d!", g_sIp, g_iPort);
}