1. thanks for info will let them know
    [DOUBLEPOST=1462897206,1462885187][/DOUBLEPOST]They said they updated it but it looks the same to me
     
  2. Wulf

    Wulf Community Admin

    The config you gave me is not updated, it is very much outdated. The correct config is shown on the Overview.
     
  3. Ahh so when it appears like this below I should just remove everything but the ru? Sorry for silly questions m8 im new to this.

    {
    "AdminExcluded": true,
    "CountryList": [
    "CN",
    "RU"
    ],
    "Whitelist": false
    }
     
  4. Wulf

    Wulf Community Admin

    Yes, if you don't want to block China, just remove it.
     
  5. Thanks wulf for all your help
     
  6. Anything new to this? Still get some guys from all around the world on our whitelisted server. They grief, pvp and ruins all other the fun. Sadly that this plugin (a working one) is not a core feature of rust.
     
  7. Wulf

    Wulf Community Admin

    Just the 3 sites in it right now, I haven't had a lot of time for it.
     
  8. I just crawled the code of notifier, which indentifies nearly all players. Maybe this could help? Notifier uses the player id and sent it to ip-api.com, which tells where the player is from. Sorry @ author of notifier, but anything that could improve the actual situation is welcome. I can't code good enough and know to less about oxide and all the hooks for fixing it by myself.
    Code:
      def webrequest(self, player, send=True):
      ''' Web-request filter to get the players country info '''  uid = self.playerid(player)
       
      if uid in self.players:  ply = self.players[uid]  # Function to handle the web-request response
      def response_handler(code, resp):  try:  # Check for any web errors
      if resp != None or code == 200:  # Check if user is not in countries database
      if uid not in self.db:  ply.country, ply.code = re.findall(r':\"(.+?)\"', resp)  self.players[uid] = ply
      self.db[uid] = {'country': ply.country, 'code': ply.code}  except: pass  if send: self.joining_messages(player)  # Call for web-request
      webrequests.EnqueueGet('http://ip-api.com/json/%s?fields=3' % ply.ip.split(':')[0], Action[Int32,String](response_handler), self.Plugin)
    
     
  9. Wulf

    Wulf Community Admin

    It uses the same method, same API setup. It just sends the IP like I already do. The issue is with the API sites, they don't always work, they usually have limits.
     
  10. getting this error:

    Oxide] 14:26 [Error] CountryBlock plugin failed to compile!
    [Oxide] 14:26 [Error] CountryBlock.cs(116,72): error CS1061: Type `Oxide.Core.Libraries.Covalence.IPlayer' does not contain a definition for `UniqueID' and no extension method `UniqueID' of type `Oxide.Core.Libraries.Covalence.IPlayer' could be found. Are you missing an assembly reference?
     
  11. Wulf

    Wulf Community Admin

    Posting an update shortly.
    [DOUBLEPOST=1463700884,1463693714][/DOUBLEPOST]This version has been replaced by CountryBlock | Oxide.