VelaBoard provides two sidebar types that serve different display needs. ADocumentation Index
Fetch the complete documentation index at: https://velas.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
PlayerSidebar is bound to exactly one player and shows that player individual content. A SharedSidebar carries a single set of content that can be displayed to multiple players simultaneously. Both types share the same core Sidebar interface for managing lines, titles, and visibility.
Sidebar lines
Each sidebar supports up to 15 lines, indexed from0 (top) to 14 (bottom). Use setLine(int, String) to set or update a line, removeLine(int) to clear a specific line, and clearLines() to remove all lines at once.
Line indices start at
0 and go up to 14, giving you 15 lines in total. Passing an index outside this range has no effect.Visibility control
canView(boolean) controls whether the sidebar is allowed to be shown. Set it to false to prevent the sidebar from appearing even if show() is called, and back to true to re-enable display.
isBeingViewed() to check whether the sidebar is currently visible to at least one player:
Lifecycle
When you no longer need a sidebar, callremove() to destroy it and clean up its resources. You can check whether a sidebar has already been destroyed with isRemoved().
Sidebar reference holds, or to safely cast it: