Open nnotwen opened 4 hours ago
I dug deeper and maybe this is a limitation of the mcstatus API? I tried plugging in an address with an underscore and it returned an error. If so, is it not possible to use this API instead (for bedrock servers with underscores). It may not give the same info but it does give server information such as Player Count and Server Status (Online/Offline). I haven't tested it's reliability yet but it does accept address with underscore.
Why was underscores on ip address disabled? Is this a technical limitation? I see that it was explicitly set to not allow underscores in this line:
/functions/validateHost.js#L21
Is the fix not as simple as