Check for Warzone/safezone factions

Discussion in 'Spigot Plugin Development' started by Creepermanthe3rd, Jun 30, 2016.

  1. How would I test if a player is in a Warzone of SafeZone?

    Anyone know?

    EDIT: In Factions
  2. joehot200


    What version?
  3. Just implements the Factions API and have a little search on Google.
  4. I have
  5. Im using FactionUUID latest version
  6. Code (Java):
    FPlayer fPlayer = FPlayers.getInstance().getByPlayer(player);
    /*Then you can do fPlayer.isInSafezone() or something along those lines*/