Skip to content

Scoreboard

Andre_601 edited this page Feb 4, 2019 · 1 revision

The scoreboard is the heart of KiteBoard and makes it, what it is today.
This page shows the default config files of Kiteboard 2.x and explains some important stuff.

Default yaml-files

default.yml
###########################################
#                                         #
# KiteBoard, Default Group Configuration  #
#                                         #
###########################################
#
# Default: If set to true, permission is granted to all users automatically. Priority is still affects.
# Priority: Higher number means this scoreboard has a higher priority over others.
# Enabled: Is this scoreboard available to be used in KiteBoard.
# Advanced config: Default to true, See the wiki page for more information on using simple config layouts.
settings:
  default: true
  priority: 1
  enabled: true
  advanced-config: true

#Scoreboard content
content:
  title:
    frames:
      # A glowing effect.
      - '<glow start=&5&l middle="" end="" normal=&d&l size=8>KiteBoard</glow>&e&l2'
    interval: 2
  1:
    #A header/footer is recommended to stop the scoreboard jumping around the place.
    frames:
      - '&7+&m--------------------&7+'
    interval: 100
  2:
    #A player name line, notice colors codes and placeholders are supported.
    frames:
      - '&d&lPlayer: &e{player}'
    interval: 100

  3:
    #Blank, this creates an empty line on our scoreboard
    frames:
      - ''
    interval: 100

  4:
    #Location line, this changes every 10 ticks, 1/2 a second. 20 ticks = 1 second.
    frames:
      - '&d&lLocation: &e{x}, {y}, {z}'
    interval: 10

  5:
    #Another blank line.
    frames:
      - ''
    interval: 100

    #News header, the interval does not apply if the lines do not change, and there are no placeholders.
  6:
    frames:
      - '&d&lNews:'
    interval: 100

  7:
    #A fast changing, animated line that creates a fadein/out effect
    frames:
      - '<fadein>Welcome to KiteMC</fadein>'
      - '<pause times=40>Welcome to KiteMC</pause>'
      - '<fadeout>Welcome to KiteMC</fadeout>'
      - '<fadein>Check out our new website</fadein>'
      - '<pause times=40>Check out our new website</pause>'
      - '<fadeout>Check out our new website</fadeout>'
    #To create a visual effect, the interval for this is seemingly low, as long as no heavy duty placeholders are being used, this should not cause any issues.
    interval: 1
  8:
    #Another fadein/out effect.
    frames:
      - '<fadein>Hey, {player}</fadein>'
      - '<pause times=40>Hey, {player}</pause>'
      - '<fadeout>Hey, {player}</fadeout>'
      - '<fadein>At &6www.kitemc.net</fadeout>'
      - '<pause times=40>At &ewww.kitemc.net</pause>'
      - '<fadeout>At &6www.kitemc.net</fadeout>'

    interval: 1
  9:
    #A third blank line.
    frames:
      - ''
    interval: 100

  10:
    #An about header.
    frames:
      - '&d&lAbout:'
    interval: 100
  11:
    #Creates a similar fadein/out affect as seen above.
    frames:
      - '<fadein>{online} Online players</fadein>'
      - '<pause times=80>{online} Online players</pause>'
      - '<fadeout>{online} Online players</fadeout>'
      - '<fadein>The time is: {time}</fadein>'
      - '<pause times=80>The time is: {time}</pause>'
      - '<fadeout>The time is: {time}</fadeout>'

    interval: 1


  12:
    #A footer to close the board nicely.
    frames:
      - '&7+&m--------------------&7+'
    interval: 100
combat.yml
###########################################
#                                         #
# KiteBoard, Default Group Configuration  #
#                                         #
###########################################
#
# Default: If set to true, permission is granted to all users automatically. Priority is still affects.
# Priority: Higher number means this scoreboard has a higher priority over others.
# Enabled: Is this scoreboard available to be used in KiteBoard.
# Advanced config: Default to true, See the wiki page for more information on using simple config layouts.
settings:
  default: true
  priority: -1
  enabled: true
  advanced-config: true

  trigger:
    event: "pve_combat"
    stay-ticks: 100

#Scoreboard content
content:
  title:
    frames:
      # A glowing effect.
      - '&c&lBattle'
    interval: 100
  1:
    #A header/footer is recommended to stop the scoreboard jumping around the place.
    frames:
      - '&7+&m--------------------&7+'
    interval: 100
  2:
    #Get the name of the opponent.
    frames:
      - '&cFighting:'
    interval: 100

  3:
    frames:
      - '&o{opponent_name}'
    interval: 100

  4:
    frames:
      - '&cEnemy Health:'
    interval: 100

  5:
    #Create a healthbar for the opponent.
    frames:
      - '<healthbar>{opponent_health}</healthbat>'
    interval: 10

  6:
    frames:
      - ''
    interval: 100

  7:
    #
    frames:
      - '&aYour Health:'
    interval: 100

    #News header, the interval does not apply if the lines do not change, and there are no placeholders.
  8:
    frames:
      - '<healthbar>{health}</healthbar>'
    interval: 10

  9:
    #A footer to close the board nicely.
    frames:
      - '&7+&m--------------------&7+'
    interval: 100
announcement_midday.yml
###########################################
#                                         #
# KiteBoard, Default Group Configuration  #
#                                         #
###########################################
#
# Default: If set to true, permission is granted to all users automatically. Priority is still affects.
# Priority: Higher number means this scoreboard has a higher priority over others.
# Enabled: Is this scoreboard available to be used in KiteBoard.
# Advanced config: Default to true, See the wiki page for more information on using simple config layouts.
settings:
  default: true
  priority: -1
  enabled: true
  advanced-config: false

#Scoreboard content
content:
  - '3|<glow start=&e7&l middle=&6&l end=&e&l>Announcement</glow>'
  - '100|Thank you for playing &eKiteMC, {player}'
  - '100|&7From your admin,'
  - '5|<rainbow>Niall7459</rainbow>'