Skip to main content

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

ValueMinecraft 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

ValueDescription
ALWAYSPlayers always collide
NEVERPlayers never collide
FOR_OWN_TEAMCollide with teammates only
FOR_OTHER_TEAMSCollide with enemies only

TeamNameTagVisibility

ValueDescription
ALWAYSName tags always visible
NEVERName tags never visible
FOR_OWN_TEAMVisible to teammates only
FOR_OTHER_TEAMSVisible to enemies only

Example

// Use color code in prefix matching team color
team.setColor(TeamColor.RED)
    .setPrefix(TeamColor.RED.getChatColor() + "[Red] ");