Solved Factions Featherboard help

Discussion in 'Spigot Plugin Help' started by xXxMatt, Jun 10, 2017.

  1. Hey guys!

    So I've been trying to set up Featherboard with some FactionsUUID placeholders but it isn't going well:(.

    And I'm wondering if you guys could maybe have a look at my config and see whats wrong.

    Code (Text):
      default:
        # Every section here are different lines. The first section will be used as the title
        # the following sections will be used as the lines on the scoreboard (max 15)
        # Just as the scoreboard names you can name these 'lines' whatever you want. But to make
        # things simple I will use logical names such as "title", "spacer", "header", ...
        title:
          # Every line has its own frames. The animation will loop through these frames on intervals
          # that you configure below.
          # Put all your frames under 'text:'. You can make as many lines as you want and use
          # placeholders and preset effects.
          # Keep in mind that there is a limit in line width!
          text:
          # To create cool looking animations you create yourself
          # you can use the graphical tool AnimationCreator
          # https://www.spigotmc.org/resources/animationcreator.6001/
          # For all placeholders:   https://www.spigotmc.org/wiki/mvdw-placeholders/
          # For all preset effects: https://www.spigotmc.org/wiki/mvdw-effects/
          - '<glow glowsize="5">Incison</glow>'
          # Interval is the animation interval in TICKS (20 ticks is one second).
          # Every X ticks the animation goes to the next frame (see above)
          # Once all frames are finished it will start over from the first one
          interval: 2
          # If you don't want a static order of the frames and want to show each frame at random
          # you can enable this option.
          random: false
        # A scoreboard is dynamic. The lines can change length due to smaller placeholders or scrolling text.
        # that is why it is advised to have something on your scoreboard that is bigger then all other lines.
        # These lines (usually a header or footer) are also good for decoration.
        header:
          text:
          - '<rainbow>&m+---------------------+</rainbow>'
          interval: 10
          random: true
        Faction:
          text:
          - '&b&oFaction:'
          interval: 100
          random: false
        player-line1:
          text:
          - '&c<cmd repeatmiddle="20">&e{factionsuuid_faction_name}</cmd>'
          interval: 2
          random: false
        # For empty lines just add another 'section' but just don't put any text
        # in it so it acts like an empty line.
        spacer1:
          text: []
          interval: 100
          random: false
        news-info:
          text:
          - '&b&oBlocks mined:'
          interval: 100
          random: false
        news:
          # Lets create some animated news
          # News is something you need to write quick
          # and usually you don't want to spend ages on creating
          # some cool effect. That is why FeatherBoard features
          # several presets you can use.
          text:
          - '<scroll width="29">&c{ezblocks_blocksmined}</scroll>'
          interval: 2 # When using preset effects. The interval will apply to that effect
          # Do you want to randomize the animation frames?
          random: false
        # For empty lines just add another 'section' but just don't put any text
        # in it so it acts like an empty line.
        spacer2:
          text: []
          interval: 100
          random: false
        timesplayed-label: #Switch between site, times played and health
          text:
          - '&b&lPlayer Kills:'
          - '&b&lMob Kills:'
          interval: 100
          random: false
        timesplayed: #Switch between site, times played and health
          text:
          - '&e{stat_pkills}'
          - '&e{stat_mkills}'
          interval: 100
          random: false
        # For empty lines just add another 'section' but just don't put any text
        # in it so it acts like an empty line.
        spacer3:
          text: []
          interval: 100
          random: false
        server-label:
          text:
          - '&b&lMoney:'
          interval: 100
          random: false
        server-line1:
          text:
          - '&e{money}
          interval: 1
        # This is the same as the header. It is not needed since you already use the header as the longest line
        # but it looks cleaner having a footer.
        footer:
          text:
          - '<rainbow>&m+---------------------+</rainbow>'
          interval: 10
          random: true


    Hopefully someone will be able to help me.

    Thanks - Matt
     
  2. is your Featherboard updated to support FactionsUUID?
     
  3. Yeah, I'm using the latest versions of each plugins.
     
  4. Alright, try this one and tell me If It works.

    Code (Text):

    default:
        # Every section here are different lines. The first section will be used as the title
        # the following sections will be used as the lines on the scoreboard (max 15)
        # Just as the scoreboard names you can name these 'lines' whatever you want. But to make
        # things simple I will use logical names such as "title", "spacer", "header", ...
        title:
          # Every line has its own frames. The animation will loop through these frames on intervals
          # that you configure below.
          # Put all your frames under 'text:'. You can make as many lines as you want and use
          # placeholders and preset effects.
          # Keep in mind that there is a limit in line width!
          text:
          # To create cool looking animations you create yourself
          # you can use the graphical tool AnimationCreator
          # https://www.spigotmc.org/resources/animationcreator.6001/
          # For all placeholders:   https://www.spigotmc.org/wiki/mvdw-placeholders/
          # For all preset effects: https://www.spigotmc.org/wiki/mvdw-effects/
          - '<glow glowsize="5">Incison</glow>'
          # Interval is the animation interval in TICKS (20 ticks is one second).
          # Every X ticks the animation goes to the next frame (see above)
          # Once all frames are finished it will start over from the first one
          interval: 2
          # If you don't want a static order of the frames and want to show each frame at random
          # you can enable this option.
          random: false
        # A scoreboard is dynamic. The lines can change length due to smaller placeholders or scrolling text.
        # that is why it is advised to have something on your scoreboard that is bigger then all other lines.
        # These lines (usually a header or footer) are also good for decoration.
        header:
          text:
          - '<rainbow>&m+---------------------+</rainbow>'
          interval: 10
          random: true
        Faction:
          text:
          - '&b&oFaction:'
          interval: 100
          random: false
        player-line1:
          text:
          - '&c<cmd repeatmiddle="20">&e{factionsuuid_faction_name}</cmd>'
          interval: 2
          random: false
        # For empty lines just add another 'section' but just don't put any text
        # in it so it acts like an empty line.
        spacer1:
          text: []
          interval: 100
          random: false
        news-info:
          text:
          - '&b&oBlocks mined:'
          interval: 100
          random: false
        news:
          # Lets create some animated news
          # News is something you need to write quick
          # and usually you don't want to spend ages on creating
          # some cool effect. That is why FeatherBoard features
          # several presets you can use.
          text:
          - '<scroll width="29">&c{ezblocks_blocksmined}</scroll>'
          interval: 2 # When using preset effects. The interval will apply to that effect
          # Do you want to randomize the animation frames?
          random: false
        # For empty lines just add another 'section' but just don't put any text
        # in it so it acts like an empty line.
        spacer2:
          text: []
          interval: 100
          random: false
        timesplayed-label: #Switch between site, times played and health
          text:
          - '&b&lPlayer Kills:'
          - '&b&lMob Kills:'
          interval: 100
          random: false
        timesplayed: #Switch between site, times played and health
          text:
          - '&e{stat_pkills}'
          - '&e{stat_mkills}'
          interval: 100
          random: false
        # For empty lines just add another 'section' but just don't put any text
        # in it so it acts like an empty line.
        spacer3:
          text: []
          interval: 100
          random: false
        server-label:
          text:
          - '&b&lMoney:'
          interval: 100
          random: false
        server-line1:
          text:
          - '&e{money}'
          interval: 1
        # This is the same as the header. It is not needed since you already use the header as the longest line
        # but it looks cleaner having a footer.
        footer:
          text:
          - '<rainbow>&m+---------------------+</rainbow>'
          interval: 10
          random: true
     
     
  5. Thank you it worked!
     
    • Friendly Friendly x 1
  6. No Problem, next time try putting your config here http://yaml-online-parser.appspot.com/ It allows you to check If It has any parsing mistakes. In your case you had a missing ' anyways I'm glad I was able to help you out :)
     
    • Like Like x 1