Documentation Index
Fetch the complete documentation index at: https://velas.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
VelaBoard provides three enums for team configuration — TeamColor, TeamCollisionRule, and TeamNameTagVisibility.
TeamColor
| Value | Minecraft color code |
|---|
BLACK | §0 |
DARK_BLUE | §1 |
DARK_GREEN | §2 |
DARK_AQUA | §3 |
DARK_RED | §4 |
DARK_PURPLE | §5 |
GOLD | §6 |
GRAY | §7 |
DARK_GRAY | §8 |
BLUE | §9 |
GREEN | §a |
AQUA | §b |
RED | §c |
LIGHT_PURPLE | §d |
YELLOW | §e |
WHITE | §f |
TeamColor wraps Bukkit’s ChatColor — use getColor().getChatColor() to get the underlying ChatColor.
TeamCollisionRule
| Value | Description |
|---|
ALWAYS | Players always collide |
NEVER | Players never collide |
FOR_OWN_TEAM | Collide with teammates only |
FOR_OTHER_TEAMS | Collide with enemies only |
| Value | Description |
|---|
ALWAYS | Name tags always visible |
NEVER | Name tags never visible |
FOR_OWN_TEAM | Visible to teammates only |
FOR_OTHER_TEAMS | Visible to enemies only |
Example
// Use color code in prefix matching team color
team.setColor(TeamColor.RED)
.setPrefix(TeamColor.RED.getChatColor() + "[Red] ");