Skip to content

Commit 913e21f

Browse files
committed
feat(team): add track entry docs
1 parent 98b7400 commit 913e21f

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

content/docs/lynx/latest/modules/scoreboard/team/creating-team.mdx

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,17 @@ new Team()
3636
```kotlin tab="Kotlin"
3737
team()
3838
.addEntry(player)
39+
```
40+
41+
## Track Entry
42+
43+
A default entry is limited by the username. This means if you change the players username using `playerMeta` module it will remove then from the team. This is what a `TrackEntry` is. When a username is changed it will update the team:
44+
45+
```java tab="Java"
46+
new Team()
47+
.addTrackEntry(player);
48+
```
49+
```kotlin tab="Kotlin"
50+
team()
51+
.addTrackEntry(player)
3952
```

0 commit comments

Comments
 (0)