1. If you have a problem and need help, create a new thread with a title that briefly describes the problem.
    Do not use titles like 'Help!' or 'I have a problem!'
    Dismiss Notice
  2. Hey Guest, is it this your first time on the forums?

    Visit the Beginner's Box

    Introduce yourself, read some of the ins and outs of the community, access to useful links and information.

    Dismiss Notice

IP detection?

Discussion in 'Server Help' started by RikTelner, Dec 28, 2013.

  1. RikTelner

    RikTelner Arsonist

    Messages:
    106
    How to get IP of those who joined and ban it?
    If you ban username, they will just make new
    account and keep s*****g.
     
  2. Microsoft

    Microsoft Catapult Fodder

    Messages:
    19
    Its the other way around. We need a username ban. People can keep on switching Ips and come back into game. Its a IP ban thats happening
     
  3. Kouji

    Kouji Cold, Uncaring, Sadistic, Evil and Cruel Meanie Administrator Global Moderator Forum Moderator Tester
    1. MOLEing Over Large Estates - [MOLE]
    2. REKINS OF SEAS: Super Crew of Ultimate Havoking 2: Return of King of KAG: Chapter 420blazeit - REKIN

    Messages:
    2,910
    If you guys are talking about classic (beta has it too, but I'm not sure if the IP part is still the same), here's how bans work:
    In your black list, you should see entries for people that look like this:
    Person1; 4.251.55.31; -1; 10:30:0:31:12:2050; msg here;
    Person2; 0.0.0.0; -1; 10:30:0:31:12:2050; msg here;

    For bans the only important parts are really the first 3 sections. First section is name, second section is IP, third section is length of ban in minutes (with -1 being a permaban). The rest is just misc info.

    If you ban someone while they are on (might have to do it with console though, not sure if doing it via menu will include this), it'll include both their name and their IP. If someone with the same IP joins later, they'll also get banned.

    Now if you ban someone while they aren't on (or possibly via Menu, it's been too long) it'll ban them but it'll set their IP to 0.0.0.0. When it does this, it'll just ban people with the same name regardless of IP.

    So end result, if you know someone's IP, you can change the 0.0.0.0 to their IP instead in the blacklist, save it and then do /rcon /reloadsecurity in game. If you have a player using proxies, then you can just change their name on the blacklist form whatever ip they have to 0.0.0.0 (reload your seclevs) and it'll ban any person trying to connect with the same name. Alternatively, you can just use just make a deny join seclev and just add people's names there instead of changing their IP to 0.0.0.0 (seclevs are more reliable than the blacklist in classic).