checking if a player is in a faction area

Discussion in 'Plugin Development' started by gokarter24, Jun 18, 2013.

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

    gokarter24

    I need to be able to get a players location but make it so they can't place in factions land if they are in a factions land. could someone point me in the right direction? Also if I wanted my player to do like /spawner place <mobtype> would I need a Listener for this or could I just place it right below them?

    Thank you.

    bump

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 2, 2016
  2. Offline

    sebasju1234

    I don't get it.. can you explain it again? Thanks.
     
  3. Offline

    Ivan

    Use FactionsAPI
     
  4. Offline

    slayr288

    gokarter24
    Download the Factions plugin and use it as a resource.
     
  5. Offline

    gokarter24

    Ok basically what I want to do is check if they are in another factions territory and then deny them access to place a block there, but if they are in their own faction land then they can place the place, I'm writing a custom plugin so it automatically places a block when they do a command and it places the spawner where they are standing.
     
  6. Offline

    bitWolfy

    I find Factions code bizzarre at best. Here is how I get the faction at player's location. See if that helps you at all.
     
  7. Offline

    gokarter24

    Could you add me on skype, I might need a bit more help? and thank you I think that will help!
     
Thread Status:
Not open for further replies.

Share This Page