Question Factions: only show characters when in faction.

Discussion in 'Plugin Help/Development/Requests' started by finlaydag33k, Jan 2, 2017.

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

    finlaydag33k

    Hii there,

    I'm setting up a server with Factions and I have this as Chat format:

    Code:
    {factions_relcolor}{factions_name}&r.&e{DISPLAYNAME}&f:&r {MESSAGE}
    This results in this (without the colors):
    However, when somebody is NOT in a faction, it results in this:
    How can I make it so that the "." between the Faction name and the playername only shows up when the player is actually in a faction like this:

    Cheers

    EDIT: I'm using Essentials for the chat formatting :)
     
    Last edited: Jan 2, 2017
  2. Offline

    Zombie_Striker

    @finlaydag33k
    As far as I can tell, the format there gets applied to all players, whether they are in a faction or not. There is no way to remove the period. I would recommend you set the formatting so it does not look that obvious/ looks better. I would recommend using
    Code:
    [{factions_relcolor}{factions_name}&r]&e{DISPLAYNAME}&f:&r {MESSAGE}
     
  3. Offline

    finlaydag33k

    But then the problem with that is that when somebody is not in a faction it looks like this:

    []FinlayDaG33k: huehuehue
     
  4. Offline

    Zombie_Striker

    @finlaydag33k
    That is the best you can do. It applies to all players, so whatever format you use for players in a faction is applied to players that are not in any factions.
     
  5. Offline

    finlaydag33k

Thread Status:
Not open for further replies.

Share This Page