Skip to content

Commit 6258ab1

Browse files
authored
chore: update velocity's adventure ops docs (#657)
* chore: update velocity's adventure ops docs * fix: use proper md footnote
1 parent 995b786 commit 6258ab1

File tree

1 file changed

+15
-12
lines changed
  • src/content/docs/velocity/dev/getting-started

1 file changed

+15
-12
lines changed

src/content/docs/velocity/dev/getting-started/pitfalls.md

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,18 @@ public void onProxyInitialization(ProxyInitializeEvent event) {
3333
## Audience operations are not fully supported
3434

3535
Velocity currently does not support all Audience operations of the Adventure API, so these operations should be handled on the backend.
36-
Furthermore, playing sound was previously considered infeasible, as for versions below 1.19.3, a registry of hardcoded sound IDs is required.
37-
38-
| Operation | Supported |
39-
| -------------------------- | ----------|
40-
| Chat messages | Yes |
41-
| Action bar messages | Yes |
42-
| Titles | Yes |
43-
| Bossbars | Yes |
44-
| Tablist header and footer | Yes |
45-
| Resource packs | Yes |
46-
| Sound | No |
47-
| Book | No |
36+
Furthermore, playing sound was previously considered infeasible for versions below 1.19.3, a registry of hardcoded sound IDs is required.
37+
38+
| Operation | Supported |
39+
| -------------------------- | -----------------|
40+
| Chat messages | Yes |
41+
| Action bar messages | Yes |
42+
| Titles | Yes |
43+
| Bossbars | Yes |
44+
| Tablist header and footer | Yes |
45+
| Resource packs | Yes |
46+
| Sounds | Yes[^sounds-note]|
47+
| Books | No |
48+
| Dialogs | No |
49+
50+
[^sounds-note]: Playing sounds only works on 1.19.3+ and requires an emitter ([`Sound.Emitter#self()`](https://jd.advntr.dev/api/latest/net/kyori/adventure/sound/Sound.Emitter.html#self()) or another player from the same server). [`Player#playSound(Sound)`](jd:velocity:com.velocitypowered.api.proxy.Player#playSound(net.kyori.adventure.sound.Sound)) is not implemented, as Adventure's contract requires sounds to play at the player's current position.

0 commit comments

Comments
 (0)