> ## Documentation Index
> Fetch the complete documentation index at: https://velas.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Team Enums Reference: TeamColor, Collision, Visibility

> Complete reference for TeamColor (16 values), TeamCollisionRule, and TeamNameTagVisibility enums used when configuring team visual and gameplay properties.

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`                 |

<Tip>`TeamColor` wraps Bukkit's `ChatColor` — use `getColor().getChatColor()` to get the underlying `ChatColor`.</Tip>

## 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   |

## TeamNameTagVisibility

| 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

```java theme={null}
// Use color code in prefix matching team color
team.setColor(TeamColor.RED)
    .setPrefix(TeamColor.RED.getChatColor() + "[Red] ");
```
