Getting a player faction chat mode

Discussion in 'Plugin Development' started by BagduFagdu, Mar 13, 2015.

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

    BagduFagdu

    Been working on a small plugin recently. Currently trying to figure out if player is on FACTION or ALLY CHAT. If they're on either of them, they'll get disabled.

    Currently got:

    MPlayer fp = MPlayer.get(p);

    I'm trying to get the chatmode fp has? Tried fp.getChatMode() but it doesn't seem to work as com.massivecraft.factions.types.ChatMode was modified.

    TL;DR How can I get a player's faction chat mode?
     
  2. Offline

    teej107

    Have tried looking in the JavaDocs for the API you are using?
     
  3. Offline

    xTigerRebornx

    @BagduFagdu Last time I checked, they removed Faction chat in the newer versions of Factions.
     
  4. Offline

    BagduFagdu

    @xTigerRebornx Ahh crap....
    So there's no way to check the chatmode of a player anymore?
     
  5. Offline

    xTigerRebornx

    @BagduFagdu There is no chatmode to check. Factions chat itself doesn't exist, so they'll never be in any chat other then the normal chat
     
Thread Status:
Not open for further replies.

Share This Page