1. Does player.net.connection.ipaddress not work anymore? Nil. How to get the ip from a player?
     
  2. Get white IP without port
    Code:
    using System.Text.RegularExpressions;string ip = IpAddress(player.net.connection.ipaddress);
    static string IpAddress(string ip)
    {
         return Regex.Replace(ip, @":{1}[0-9]{1}\d*", "");
    }
     
    Last edited by a moderator: Mar 11, 2016
  3. player.net.connection.ipaddress returns null as of todays update...
     
  4. Oxide build 1817
    WORK!!!
     
  5. Thanks Cerber0s. I figured out my mistake. (nil checking)