1. Wulf

    Wulf Community Admin

    It's be the IP checking API websites failing.
     
  2. Anyone actually still have this working? i keep getting failed when it checks players. I have tried many API's . Any help would be great.
     
  3. Wulf

    Wulf Community Admin

    The websites it uses maybe not, so I'll have to check for a working one soon and update as needed.
     
  4. Oh, Thanks Wulf.
     
  5. It is showing an error :

    Code:
    [Oxide] 11:42 PM [Warning] Waiting for another application to stop using script:
    CountryBlock
    [Oxide] 11:42 PM [Debug] Load requested for plugin which is already loading: Cou
    ntryBlock
    [Oxide] 11:42 PM [Info] CountryBlock was compiled successfully in 1758ms
    [Oxide] 11:42 PM [Info] Loaded plugin CountryBlock v1.0.1 by Wulf/lukespragg
    [Oxide] 11:42 PM [Error] Failed to initialize plugin 'CountryBlock v1.0.1' (NotS
    upportedException: This plugin does not support )
    [Oxide] 11:42 PM [Debug]   at Oxide.Plugins.CountryBlock.Loaded () [0x00000] in
    @Wulf It can help'm wondering blocks some countries
     
    Last edited by a moderator: Apr 7, 2016
  6. Wulf

    Wulf Community Admin

    Wulf updated CountryBlock with a new update entry:

    1.0.2

     
  7. Code:
    [Oxide] 3:30 AM [Error] Web request callback raised an exception (NullReferenceE
    xception: Object reference not set to an instance of an object)
    [Oxide] 3:30 AM [Debug]   at Oxide.Plugins.CountryBlock+<IsCountryBlocked>c__Ano
    nStorey0.<>m__0 (Int32 code, System.String response) [0x00000] in <filename unkn
    own>:0
      at Oxide.Core.Libraries.WebRequests+WebRequest.<OnComplete>m__1 () [0x00000] i
    n <filename unknown>:0
     
    Last edited by a moderator: Apr 7, 2016
  8. How do i setup the config file to block everything EXCEPT the US?
     
  9. You not like people from the uk in your server
     
  10. Its a regional server only. No bearing on who i like. but I don't like high pings...
     
  11. See Wulfs post below
     
    Last edited by a moderator: Apr 9, 2016
  12. Wulf

    Wulf Community Admin

    Set "Whitelist" to true, then remove all other countries and only have "US" in the CountryList.
     
  13. Just confirmed that after testing it more was about to post my findings
     
  14. Wulf

    Wulf Community Admin

    Thanks, I'll try to get it fixed soon.
     
  15. I am wanting to block some countries to enter my server.
    Plus the plugin does not work very well, can someone help me?
     
  16. Wulf

    Wulf Community Admin

    As I said previously, I will be working on a fix for it soon. The only thing I see is the one error with Rust Legacy, which I will work on fixing once I get to re-installing Rust Legacy.
     
  17. How would i go about blocking just russians?
     
  18. Wulf

    Wulf Community Admin

    Add RU to the country list (should be there by default) in the config, remove all other entries, save the config, reload the config, done.
     
  19. thanks wulf as always
    [DOUBLEPOST=1462880922,1462827889][/DOUBLEPOST]Wulf all I can see is this in there.
    Code:
    {
      "Messages": {
        "AlreadyAdded": "{country} is already on the country list!",
        "ChatHelp": [
          "Use /country add countrycode to add a country to the list",
          "Use /country remove countrycode to remove a country from the list",
          "Use /country list to list all the countries on the list"
        ],
        "CountryAdded": "{country} has been added to the country list!",
        "CountryRemoved": "{country} has been removed from the country list!",
        "ListTypeChanged": "Country list type changed to {listtype}",
        "NoPermission": "You do not have permission to use this command!",
        "NotListed": "{country} is not on the country list!",
        "PlayerKicked": "{player} was kicked as their country ({country}) is blocked!",
        "Rejected": "Sorry, this server doesn't allow players from your country!",
        "UnknownAction": "Unknown command action! Use add, remove, list, or type",
        "UnknownListType": "Unknown list type! Use blacklist or whitelist"
      },
      "Settings": {
        "AdminExcluded": "true",
        "AuthLevel": 2,
        "Broadcast": "true",
        "ChatCommand": "country",
        "ChatName": "SERVER",
        "ChatNameHelp": "HELP",
        "ConsoleCommand": "country.block",
        "CountryList": [
          "UK",
          "US"
        ],
        "ListType": "whitelist"
      }
    }
     
    Last edited by a moderator: May 10, 2016
  20. Wulf

    Wulf Community Admin

    Well, to start with you have an old config. It should have updated automatically, but it looks like your host didn't, else you are using an outdated version of the plugin.