CountryBlock

Moved

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

5/5, 6 likes
  1. wulf is it possible to make this kick and not ban?
     
  2. Wulf

    Wulf Community Admin

    It doesn't ban by default unless you changed the config to do that. If it's banning, then something is off in the Oxide API it is using for RoK.
     
  3. Is it possible to add other countries such as Hong Kong, macau to the list?
     
  4. Wulf

    Wulf Community Admin

    You can add any country codes you'd like.
     
  5. to the .js file?
     
  6. Wulf

    Wulf Community Admin

    oxide/config/CountryBlock.json
     
  7. This plugin is buggy I am using it on Rust Legacy and people keep on getting disconnected for no reason since I installed this plugin. Here is my config. I really need it because people from Thailand and China come on and cheat all the time.

    Code:
    {
      "AdminExcluded": true,
      "BanInstantly": false,
      "CountryList": [
        "CN",
        "TH"
      ],
      "Whitelist": false
    }
     
  8. Wulf

    Wulf Community Admin

    It doesn't disconnect anyone already connected, only when connecting. Literally no code in there for that.
     
  9. just a quik quistion I'm trying to ad the lang file from country block but while adding this I'm getting this error with I don't understand why,
    Code:
    "UniversalGamingclan": "The following player as being bannend from {0}"Error: Parse error on line 1:
    ...UniversalGamingclan": "The following pla
    -----------------------^
    Expecting 'EOF', '}', ',', ']', got ':'
     
    Last edited by a moderator: Jul 22, 2017
  10. Wulf

    Wulf Community Admin

    I'd need to see the full file.
     
  11. Well first I'm seeing this inside of the lang file by CountryBlock this
    Code:
    {
      "NotAllowed": "This server doesn't allow players from {0}"
    }
    then I'm trying to change it to this
    Code:
    "UniversalGamingclan": "The following player as being bannend from {0}"
    But afther running it on the Json Validator I'm getting this error
    Code:
    Error: Parse error on line 1:
    ...UniversalGamingclan": "The following pla
    -----------------------^
    Expecting 'EOF', '}', ',', ']', got ':'
     
  12. Wulf

    Wulf Community Admin

    Firstly, don't change the key. Also, looks like you removed the braces.
     
  13. So this meanse I can't change the Notallowed to any name that I want to ?
     
  14. Wulf

    Wulf Community Admin

    There is no reason to change it, and it will not work if you change it. The only part you customize is the part to the right of it.
     
  15. I see people of country I block can connect on my server. I don't change anything maybe it the new update game.
    Someone have same problem?
     
  16. Wulf

    Wulf Community Admin

    They likely have an IP that isn't documented.
     
  17. It's strange because on RustAdmin I see country of players.
     
  18. Wulf

    Wulf Community Admin

    It may not use the same API, but do you see anything in your logs? Generally it shows.
     
  19. Ok I see they don't really joined server! My mistake ><
     
  20. Does anyone know how can I set an CountryBlock in Linux IPTABLES or something? I've saw some guides but I can't install