1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

get player country

Discussion in 'Plugin Help' started by Pqoster, Aug 5, 2020.

  1. Pqoster

    Pqoster Spider Jockey

    Messages:
    25
    Hi!
    I want to take the player's country to set a rank according to his continent
    Example: I am from ARG and when I enter the server for the first time I earn the "South America" rank
     
  2. Fadhel

    Fadhel Witch

    Messages:
    68
    GitHub:
    dimbis
    Diduhless likes this.
  3. Pqoster

    Pqoster Spider Jockey

    Messages:
    25
    Last edited: Nov 17, 2020
  4. Fadhel

    Fadhel Witch

    Messages:
    68
    GitHub:
    dimbis
  5. Pqoster

    Pqoster Spider Jockey

    Messages:
    25
    Thanks
     
    Last edited: Nov 17, 2020
  6. GodWeedZao

    GodWeedZao Zombie Pigman

    Messages:
    401
    GitHub:
    godweedzao
    check their ip adress, read full about ip adress :p
    and onJoinEvent check if $player ap adress is stuff (read about apadress countries) and set player nametag to for example america
     
  7. GodWeedZao

    GodWeedZao Zombie Pigman

    Messages:
    401
    GitHub:
    godweedzao
    or save players ip adress to cfg and onJoin explode player ip, if for example [0] => 145 and [1] => 200, set player name tag to America.
     
  8. Pqoster

    Pqoster Spider Jockey

    Messages:
    25
    thxx
     
  9. GodWeedZao

    GodWeedZao Zombie Pigman

    Messages:
    401
    GitHub:
    godweedzao
    np :)
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.