Factions API

Discussion in 'Archived: Plugin Requests' started by Eats_Rainbows, Feb 5, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    Eats_Rainbows

    Hello Bukkit Forums :p
    I was wondering how to implement the Factions API and where I even get it from. I am trying to listen to if the player is in safezone or warzone, so if you know a way of doing this without the API please tell me so :p
     
  2. Offline

    Alvarez96

    Code:
    import com.massivecraft.factions.Board;
    import com.massivecraft.factions.FLocation;
    import com.massivecraft.factions.Faction;
     
                FLocation loc = new FLocation(player.getLocation());
                Faction fac = Board.getFactionAt(loc);
                if(! fac.getTag().equalsIgnoreCase("SafeZone")){
     
Thread Status:
Not open for further replies.

Share This Page