Check if player is not in faction

Discussion in 'Plugin Development' started by aeyth, Mar 21, 2022.

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

    aeyth

    Hi,

    I have the Factions plug-in and MassiveCore as my dependencies. I can’t seem to figure out how to check if the player is not in a faction. My end goal is for a certain GUI to open when a player in a faction performs a command and a different GUI to open up if the player is not in a faction.

    thank you
     
  2. Offline

    CraftCreeper6

  3. Offline

    aeyth

    Kinda. Hypothetically if I did an if else statement, would it work? Like if I get the faction wilderness and it comes back true, it opens up a command that opens a certain GUI. But if it comes back false, it performs a different command that opens a different GUI
     
  4. Offline

    CraftCreeper6

    @aeyth
    Well that depends on what exactly you're trying to do, but yeah that could work if I understand correctly.
     
Thread Status:
Not open for further replies.

Share This Page