Scoreboard files
Every file in plugins/FeatherBoard/scoreboards/ is one scoreboard. The file name, without .yml, is the board name. A board called myboard.yml is therefore selected with /fb show myboard and assigned through featherboard.group.myboard.
plugins/FeatherBoard/scoreboards/
├── default.yml -> board "default"
├── myboard.yml -> board "myboard"
└── images/
└── logo.png -> file: "images/logo.png"Minimal board
title:
frames:
- '&e&lMy Server'
interval: 20
lines:
header:
frames:
- '&8&m--------------------'
interval: 100
player:
frames:
- '&7Player: &f%player_name%'
interval: 20
online:
frames:
- '&7Online: &a%server_online%'
interval: 20Reload an existing board with /fb reload myboard, or add a new file with /fb reload -all.
Board structure
A scoreboard file can contain these sections:
| Section | Required | Purpose |
|---|---|---|
title | No | The title line. If omitted, the first line under lines becomes the title. |
lines | Yes | The scoreboard lines, as a named map or a list. |
settings | No | Reusable values and behaviour switches for this board. |
images | No | PNG/JPG images rendered through a resource pack. |
fonts | No | TrueType fonts rendered through a resource pack. |
script-pre | No | JavaScript executed before the lines are loaded. |
script-post | No | JavaScript executed after the lines are loaded. |
compile-script-pre | No | JavaScript executed before the lines are parsed. |
compile-script-post | No | JavaScript executed after the lines are parsed. |
The order of the sections in the file does not matter, but the order of the lines does: the first line is the top line of the scoreboard. A board supports up to 15 lines plus a separate title.
Lines
Named lines (recommended)
Named lines are easy to find and reorder. The order of the YAML keys is the order on the scoreboard.
lines:
header:
frames:
- '&8&m--------------------'
interval: 100
balance:
frames:
- '&7Balance: &a$%vault_eco_balance_formatted%'
interval: 20
footer:
frames:
- '&8&m--------------------'
interval: 100List lines
You can also define lines as a YAML list. This is useful when you generate boards with a script, but names make maintenance easier.
lines:
- frames:
- '&8&m--------------------'
interval: 100
- frames:
- '&7Balance: &a$%vault_eco_balance_formatted%'
interval: 20
- frames:
- '&8&m--------------------'
interval: 100Do not mix formats
Use either a named map or a list for one board. Mixing the two causes the board to fail to load.
Empty spacer lines
Give a line an empty frame list to create a spacer:
lines:
spacer:
frames: []
interval: 100Frames and intervals
Each line is an animation made of one or more frames. FeatherBoard advances to the next frame every interval ticks. There are 20 ticks in a second.
lines:
news:
frames:
- '&7Welcome to the server!'
- '&7Read the rules with &f/rules'
- '&7Join our community on Discord'
interval: 40
random: false| Key | Default | Description |
|---|---|---|
frames | required | The animation frames. text is accepted as a legacy alias. |
interval | 20 | Ticks between frames. 1 is very fast (20 FPS); 100 is five seconds. |
random | false | Pick a random frame instead of following the list. |
A line with a single frame does not animate. Use a high interval for static content, or leave interval at its default.
Keep text steady
A scoreboard's width is determined by its longest line. If a scrolling line is longer than the header and footer, the whole board width can change while it scrolls. Give the header or footer a line at least as long as the scroll width.
Frame metadata
Metadata is placed at the start of a frame between pipes. It controls the score, visibility and font of that specific frame. You can chain several options:
frames:
- '|hide|This frame is invisible'
- '|show|This frame is visible'
- '|visible:false|Also invisible'
- '|static|A longer line that should not animate'
- '|font:featherboard:roboto|Custom font'
- '|score:42|A custom red score'
- '|42|The same custom score'| Metadata | Effect |
|---|---|
|score:NUMBER| or |NUMBER| | Forces the red score number for that frame. |
|hide| | Hides the line while this frame is shown. |
|show| | Shows the line again. Useful together with hide. |
|visible:true| / |visible:false| | Shows or hides the line directly. |
|static| | Forces a static line. Advanced and only useful in specific designs. |
|font:featherboard:<id>| | Uses a font defined in this board. |
|font:minecraft:default| | Uses the vanilla font. |
|disabled| | Skips this frame entirely when loading. |
Combine options by separating them with a single pipe:
- '|score:12|visible:true|&7Coins: &e120'Dynamic scores
The score metadata only accepts a number. Placeholders and arbitrary strings are not valid after score:. Use hide-score: true in the plugin config if you do not want numbers at all.
Settings
Settings are reusable values for a single board. They are replaced wherever the line contains {{ setting:key }}. Keys may contain letters, numbers and hyphens (color-light works; color_light does not).
settings:
label-color: '&e'
value-color: '&f'
priority: 10
assigning: 'PERMISSION'
lines:
player:
frames:
- '{{ setting:label-color }}&lPlayer: {{ setting:value-color }}%player_name%'Behaviour settings
Some keys are read by the plugin itself:
| Setting | Default | Description |
|---|---|---|
priority | 0 | Higher priority wins when multiple boards are assigned to a player. |
assigning | global | Overrides the global assignment method for this board. |
fallback | none | Board to show if the player rejects the resource pack (for image boards). |
enabled | true | Set to false to disable this board. |
include-in-debug | true | Include the board in /fb debug output. |
reset-on-override | true | Reset player animation state when the board is shown again. |
prevent-override | false | Prevent other plugins from replacing this board. |
Settings with a list or object value work in scripts but are not usable as {{ setting:key }} placeholders. Only scalar values render as text.
Scripts
FeatherBoard runs board scripts with the Nashorn JavaScript engine. This is useful for calculated settings, conditional lines and advanced animations.
| Script | Runs |
|---|---|
script-pre | Before the lines are loaded. Great for creating settings. |
script-post | After the lines are loaded. Great for changing or adding lines. |
compile-script-pre | Before frames are parsed, at board load. |
compile-script-post | After frames are parsed, at board load. |
Scripts receive:
| Variable | Type | Description |
|---|---|---|
board | org.featherboard.api.scoreboard.Scoreboard | The board being built. |
settings | Map<String, Object> | The board's settings, writable through the board metadata. |
scoreboardConfigFile | String | Absolute path to the board file. |
scoreboardsDirectory | String | Absolute path to the scoreboards folder. |
Example: create a setting based on another setting.
settings:
show-health: true
script-pre: |
if (settings['show-health'] == true) {
board.getMeta().setSetting("health-line", "");
} else {
board.getMeta().setSetting("health-line", "|disabled|");
}
lines:
health:
frames:
- '{{ setting:health-line }}&7Health: &c%player_health%'
interval: 20Scripts can be disabled
For security, set tweaks.trust-scoreboard-scripts: false in config.yml to stop all board scripts and custom effects. Only install boards from authors you trust.
Inline scripts
A frame can also execute a short script with <% ... %>. The result replaces the tag. Inline scripts share the board script context (board, settings, paths), not the player context — use placeholders for per-player data.
frames:
- '&7Board: &f<% board.getName() %>'
- '&7Label: &f<% settings["label-color"] %>'Images
Images require a resource pack. FeatherBoard generates and uploads one automatically when resource-pack.enabled is true. Only PNG and JPG are supported; GIF and SVG are not.
images:
- identifier: "heart-icon"
url: "https://featherboard.org/images/default/heart-icon.png"
height: 16
width: 16
x-offset: 0
y-offset: 0
- identifier: "logo"
file: "images/logo.png" # relative to plugins/FeatherBoard/scoreboards/
height: 40| Key | Default | Description |
|---|---|---|
identifier | required | Name used by {{ image:<identifier> }}. Case-insensitive; use letters, numbers and hyphens. |
url | one of | Download the image from a URL. |
file | one of | Load a file relative to the scoreboards folder. |
height | original | Scale to this height in pixels. One scoreboard line is 16 px. |
width | original | Scale to this width. Set both to stretch; set one to keep the aspect ratio. |
x-offset | 0 | Horizontal offset in pixels. |
y-offset | 0 | Vertical offset in pixels. |
Use an image in a frame:
lines:
header:
frames:
- '{{ image:scroll-left }}{{ offset:-1 }}<multiply times="20">{{ image:scroll-middle }}{{ offset:-1 }}</multiply>{{ image:scroll-right }}'
interval: 100
player:
frames:
- '{{ image:heart-icon }} &f%player_name%'
interval: 20Offsets
{{ offset:<pixels> }} inserts a blank glyph and moves the rest of the line left or right. The value can be between -256 and 256.
- '{{ offset:-200 }}{{ image:heart-icon }}'Text before an image is loaded
Images are extracted from the resource pack and assigned a private-use character. If a player has not loaded the pack, they see the fallback board (if configured) or an empty gap. The default images board demonstrates this:
settings:
fallback: "default"The default icons are available in the plugin:



Fonts
Custom fonts also require the resource pack. Place a .ttf file in the scoreboards folder or download it from a URL.
fonts:
- identifier: "roboto"
# file: "Roboto-Regular.ttf"
url: "https://fonts.gstatic.com/s/roboto/v15/7MygqTe2zs9YkP0adA9QQQ.ttf"
size: 16
shift-x: 0
shift-y: 0
oversample: 2.0| Key | Default | Description |
|---|---|---|
identifier | required | Name used in the font metadata. |
url / file | one of | Font source. |
size | 16 | Font size in pixels. |
shift-x, shift-y | 0 | Nudge the rendered glyphs. |
oversample | 1.0 | Rasterisation quality. Higher is sharper but heavier. |
Apply a font to a frame:
lines:
player:
frames:
- '|font:featherboard:roboto|%player_name%'
- '|font:minecraft:default|%player_name%'
interval: 20Use minecraft:default for the vanilla font. featherboard:default uses FeatherBoard's built-in font.
Resource pack required
Custom fonts and images do not work without the resource pack. Test with a clean client before publishing a board that depends on them.
Complete example
This board combines a title, settings, a header, placeholders, a scroll and a footer:
settings:
label-color: '&e'
value-color: '&f'
priority: 10
assigning: 'PERMISSION'
title:
frames:
- '&c&lFeather&e&lBoard'
- '&e&lFeather&c&lBoard'
interval: 30
lines:
header:
frames:
- '&8&m--------------------------'
interval: 100
player:
frames:
- '{{ setting:label-color }}&lPlayer: {{ setting:value-color }}%player_name%'
interval: 20
balance:
frames:
- '{{ setting:label-color }}&lBalance: &a$%vault_eco_balance_formatted%'
interval: 20
spacer:
frames: []
interval: 100
news:
frames:
- '<scroll width="28">&7Welcome! Read &f/rules &7before you start.</scroll>'
interval: 2
online:
frames:
- '{{ setting:label-color }}&lOnline: &a%server_online%'
interval: 20
footer:
frames:
- '&8&m--------------------------'
interval: 100Common mistakes
The board has no lines
lines: must contain a map or a list. Check the indentation; a single missing space can make Bukkit read the lines as an empty section.
The first line is missing
If you use a separate title: section, the title is not taken from lines. If you do not use title:, the first line under lines is the title.
The board is wider than expected
The width is defined by the longest line. Images and scrolls can be wider than they look in the config. Add a long header/footer or reduce the scroll width.
Images are invisible
Confirm the resource pack was accepted, the identifier matches exactly, and {{ image:... }} uses double braces. A missing image also logs an error on reload.
