CountryBlock

Moved

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

5/5, 6 likes
  1. Wulf

    Wulf Community Admin

    Plenty of working ones found by searching the web. I'd recommend creating an Off Topic thread if you need help with Iptables.
     
  2. State support would be awesome if possible.
     
  3. i cant block "argelia" in my server , i ban 1 kid every days with hacks and ban ip and ID and he join every days....

    i add "ARGELIA", in the config but he can join.
     
    Last edited by a moderator: Mar 27, 2018
  4. Wulf

    Wulf Community Admin

    It uses two-digit country codes, not full names.
     
  5. Wulf

    Wulf Community Admin

    Wulf updated CountryBlock with a new update entry:

    1.2.4

     
  6. How would I whitelist a specific Steam ID? Could someone give an example please of what the config would look like?

    Thanks!
     
  7. Wulf

    Wulf Community Admin

    There's an example on the Overview of how to grant the permission use to "whitelist" someone.
     
  8. Im an idiot. I saw "bypass" and "whitelist" and failed to connect D:
     
  9. Since the latest rust/oxide update we noticed lots of lag spikes.
    When there is a lag spike the following is in the console:
    Code:
    (18:07:29) | [CountryBlock] Getting country for thijsdedeugd (<IP Of the player) failed! (0)
    (18:07:29) | Web request callback raised an exception (ArgumentNullException: Value cannot be null.
    Parameter name: input)
      at System.Text.RegularExpressions.Regex.Replace (System.String input, System.String replacement) [0x00003] in <4b9f316768174388be8ae5baf2e6cc02>:0
      at System.Text.RegularExpressions.Regex.Replace (System.String input, System.String pattern, System.String replacement, System.Text.RegularExpressions.RegexOptions options, System.TimeSpan matchTimeout) [0x0000a] in <4b9f316768174388be8ae5baf2e6cc02>:0
      at System.Text.RegularExpressions.Regex.Replace (System.String input, System.String pattern, System.String replacement) [0x00000] in <4b9f316768174388be8ae5baf2e6cc02>:0
      at Oxide.Plugins.CountryBlock.IpAddress (System.String ip) [0x00000] in <98d0bbd2ced741f1a8fecb0d1e77d92a>:0
      at Oxide.Plugins.CountryBlock.IsCountryBlocked (Oxide.Core.Libraries.Covalence.IPlayer player) [0x00020] in <98d0bbd2ced741f1a8fecb0d1e77d92a>:0
      at Oxide.Plugins.CountryBlock+<IsCountryBlocked>c__AnonStorey0.<>m__0 (System.Int32 code, System.String response) [0x00068] in <98d0bbd2ced741f1a8fecb0d1e77d92a>:0
      at Oxide.Core.Libraries.WebRequests+WebRequest.<OnComplete>b__42_0 () [0x00034] in <0f58cfbbba844942876db6036f28ac86>:
     
  10. works this plugin with new steam privacy?
    can i block users with private steam profil?
     
  11. Wulf

    Wulf Community Admin

    Yes, this plugin doesn't use Steam so it isn't affected by Steam changes.