CountryBlock

Moved

Total Downloads: 956 - First Release: May 19, 2016 - Last Update: Apr 25, 2018

5/5, 6 likes
  1. Wulf

    Wulf Community Admin

    I'd need to see your config.
     
  2. I'm using the whitelist mode of CountryBlock. Suddenly (I guess since DB137) the server allows players from countries which are not on the whitelist.

    The whitelist mode worked before without any problems
     
  3. Wulf

    Wulf Community Admin

    Any errors in your logs?
     
  4. my config
    Code:
    {
      "AdminExcluded": true,
      "BanInstantly": false,
      "CountryList": [
        "CN"
      ],
      "Whitelist": false
    }
    the player with the IP 80.239.200.100 (country: CN) quietly went to the server, even though he's from CN.
     
  5. had to ban all under a network through the firewall
     
  6. Wulf

    Wulf Community Admin

    The country for that IP is listed as EU (Europe), not China. That would be why it gets through.
     
  7. with this provider playing the Chinese, I don't know how they do it.
    http://joxi.ru/LmGpDBoHGxzG2l?d=1
     
  8. Wulf

    Wulf Community Admin

    Right, but the services that the plugin uses need to recognize it as CN to block it, which they seem to have it listed as EU.
     
  9. Unfortunately no errors in the log file.

    I see the plugin uses multiple services to check the ip? Whats the reason for that?

    This IP was able to join although not on the whitelist for example:

    186.49.225.215
    181.231.113.22
    181.231.193.118
    186.80.50.166
    190.253.22.93
     
    Last edited by a moderator: Nov 27, 2016
  10. Wulf

    Wulf Community Admin

    Because services often have limits.
     
  11. If i want german switzerland and austria whitelisten what i write in the config?
    pls help Wulf

    Code:
    {
      "AdminExcluded": true,
      "BanInstantly": false,
      "CountryList": [
        "CN",
        "RU",
        "PL"
      ],
      "Whitelist": [
        "DE",
        "AT",
        "CH",
        "LI"
      ],
    }
    [DOUBLEPOST=1480549209][/DOUBLEPOST]Is that right?
     
    Last edited by a moderator: Nov 30, 2016
  12. Wulf

    Wulf Community Admin

    No, the whitelist is a true/false setting, not a list.
     
  13. Code:
    {
      "AdminExcluded": true,
      "BanInstantly": false,
      "CountryList": [
        "AT",
        "DE",
        "LI"
      ],
      "Whitelist": true
    }
    is that right ?
     
  14. Wulf

    Wulf Community Admin

    Yes, if you want to only allow those countries.
     
  15. thx wulf send me you paypal name per pm. i will donate you for your work every day .
    Please keep doing a good job
     
  16. Wulf

    Wulf Community Admin

    Download page has a button. :)
     
  17. A server restart fixed my problem. I guess i should restart it more often
     
  18. Wulf

    Wulf Community Admin

    That doesn't really make any sense, as none of this plugin depends on when your server was started. The API sites it uses are used as needed, and have rate limits set on their end, not your end. The plugin itself is only called when a player connects as well.
     
  19. could you please add england , scotland and northern ireland .
     
    Last edited by a moderator: Jan 3, 2017
  20. Wulf

    Wulf Community Admin

    Add them to what? If you want to block them, add them to your config. There are no actual countries stored in the plugin itself.