Faction Name Tag

Discussion in 'Spigot Plugin Help' started by QuantumFactions, Jun 20, 2018.

  1. hello, does anyone know any faction related things that can have something on the player name tag like an example below:


    {player rank} {username} {faction name} (with faction relation colour)

    if anyone can help me find a plugin or such thing i would appreciate it.

    Many Thanks
    Kieran
     
  2. I forget if EssentialsChat can do this but DeluxeChat might be able to
     
  3. What in the player usename, not in chat
     
  4. DeluxeChat and EssentialsChat both modify the "username"
    Without Deluxe/EssentialsChat: <Eejayy> hello
    However with Deluxe/EssentialsChat you can customize how the messages sent look, so for example you could have it looking like:
    Owner Eejayy: hello

    I personally prefer EssentialsChat because it is free.
    To show the faction name. you need to apply {FACTION} to the format

    In EssentialsChat, scroll down to the EssentialsChat part of essential's config and look for "format:"
    and make it look like:
    Code (Text):
    format: {FACTION} <{DISPLAYNAME}>
    - do not change the displayname if it is not like that.


    Hope this helped
    ~ Eejay
     
  5. I mean the player usename tag, Above the head the display name
     
  6. Oh sorry I completely misunderstood your question
    In that case you need to install MVDWPlaceholders and add {factionsone_faction_tag} to your following code:
    Code (Text):
    groups:
      default: # This is the default group. Add as many as you wish
        # Prefix in front of the player name above their head
        name-prefix:
          # A list to create animations
          frames: # Text can be max 16 characters long (after placeholders are replaced)
          # {PREFIX} will be replaced with the PERMISSION prefix (Vault)
          # Meaning if your permission prefix is "[Mod]" it will show this
          - '{factionsone_faction_tag}'
     
  7. May i have it so it says <Rank> <IGN> <Faction> how would i do this?
     
  8. You'd need to setup a permissions plugin like pex (make sure you also have vault installed) then it'd be {prefix} {player} {factionsone_factions_tag} A list of these placeholders can be found here: https://www.spigotmc.org/wiki/mvdw-placeholders/
     
  9. Can you please show me an example of it in the config and i use group manager for myy server
     
  10. Sure thing
    Code (Text):
    # ------------------------------ #
    #
    #  AnimatedNames 6
    #  (c) Maxim Van de Wynckel
    #
    # ------------------------------ #

    # About: Everyone knows plugins that allow you to have your group name
    #      in front of your name above your head. But this plugin does more then that
    #        with over 180+ placeholders and more to come every update this plugin not only
    #        allows placeholders in your name above your head but it also allows the name to
    #        be animated.

    # Permissions: To use the animatednames groups give them the permission
    #              animatednames.group.<group>  (ex. animatednames.group.default)
    #              Make sure to remove them from the other groupsd
    #              when giving a new permission.

    # Commands: List of all commands
    #           /animatednames reload     -  Reload the configuration
    #           /animatednames help       -  See all commands

    # Variables: These variables can be used in the TEXT section
    #            of both the header as the footer.
    #    
    #            {PLAYER}       - Player name
    #            {PLAYERNICK}   - Player nickname
    #            {PREFIX}       - Player prefix
    #            And lots lots more (see Spigot Page) (400+)

    #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
    # GENERAL PLUGIN SETTINGS
    #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#

    ## Config version (DO NOT EDIT)
    config: 4

    ## Language file
    lang: 'en'

    ## Debug mode
    debug: false

    ## Log to file
    log:
      enabled: true

    ## Update checking
    update:
      check: true # RECOMMENDED YOU LEAVE THIS TRUE

    #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
    # PLUGIN SPECIFIC SETTINGS
    #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#

    # Placeholder settings
    placeholder:
      # Force install all placeholders (NOT RECOMMENDED)
      force-all: false
      # logs the memory usage of placeholders on startup
      log-memory: false
      # Clear unused placeholders that are not enabled.
      clear-unused: true
      # Config cache only
      # This will only use placeholders in the config
      # HOWEVER: IT WILL BREAK ALL CUSTOM PLACEHOLDERS!
      # IT WILL ALSO PREVENT ANY HOOKS (PlaceholderAPI)
      config-cache: false

    tweaks:
      # Legacy mode. Disable this if you experience client crashes (bungeecord mostly)
      # Disabling will however use the build in name system what can cause conflicts
      # (White names, etc...)
      legacymode: true
      # If you have issues with non-legacy mode try this option. The option is more CPU intensive,
      # but it is meant to detect problems
      synchronized: false
      # Setting this to true will keep tab names untouched
      # Useful for those who do not want to change tab names but
      # only the names above.
      # NOTE: This shrinks the tab name by 2 chars
      # so if you have a long name it becomes shorter
      # This may also break nicknames in the tab
      white-tabnames: false

    # Disabled worlds. Worlds in this list will not have
    # the score below or team names.
    disabled-worlds:
    - 'example_world'


    # WARNING: The recommended interval for this plugin
    #          is calculated at 15 ticks (recommended 20 ticks)
    #          You can experiment with lower ticks but this might
    #          cause a slight flicker.


    # AnimatedNames groups
    # THESE ARE NOT PERMISSION GROUPS. THE NAMES DO NOT NEED TO MATCH
    # YOUR PERMISSION GROUP.
    # An AnimatedNames group is a group you assign to a player (or permission group)
    # using animatednames.group.<GROUPNAME>
    groups:
      default:
        name-prefix:
          frames:
          - '{PREFIX} {PLAYER} {factionsone_factions_tag}' # This is where I have concerns that the tag won't fit
    # Text below the above ^ but above your head
    name-below:
      enabled: false # I disabled this but you can re-enable it if you want, just remember to restart instead of reload
      frames:
      - '{HEALTH}&cHealth'
      - '{STAT_TIMESPLAYED}&6Times played'
      # Animation interval in ticks (20 ticks = 1 sec)
      interval: 20
    You'll need to restart your server for this to work fully, and you'll want to give default players the permission node: animatednames.group.default
     
  11. Can you show me an example in the config and im using GroupManager, im not very good with plugins but do you mind showing me?
     
  12. ? That is for chat, I thought you wanted it above players' heads, which I showed you the config for here