Skip to content

Commit 4603b30

Browse files
committed
docs updates
1 parent 1c82d30 commit 4603b30

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

INSTALLATION.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,13 @@ like [Shadow](https://gradleup.com/shadow/).
5555
```
5656

5757
You will need to shade these dependencies and relocate them with [maven-shade-plugin](https://maven.apache.org/plugins/maven-shade-plugin/).
58+
59+
## ViaVersion awareness
60+
61+
For [ViaVersion integration](https://github.com/vytskalt/scoreboard-library?tab=readme-ov-file#features) to be enabled, add `ViaVersion` to `softdepend` or `depend` of your `plugin.yml`:
62+
63+
```yaml
64+
softdepend: ["ViaVersion"]
65+
# or
66+
depend: ["ViaVersion"]
67+
```

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,15 @@ Join the [Discord](https://discord.gg/v7nmTDTW8W) or create an issue for support
1313
players
1414
- Objectives.
1515
- Full support for new 1.20.4 features (score display names, custom score formats)
16-
- Doesn't require extra dependencies (assuming you're targeting modern versions of Paper)
16+
- No extra dependencies (assuming you're targeting modern versions of Paper)
1717
- Packet-level, meaning it works with other scoreboard plugins
1818
- Supports [Folia](https://github.com/PaperMC/Folia)
1919
- Fully async. All packet work is done asynchronously, so you can use the library from the main
2020
thread without sacrificing any performance
2121
- Automatically works with `TranslatableComponent`s. All components are translated using `GlobalTranslator` for
2222
each player's client locale and automatically update whenever the player changes it in their settings
23+
- ViaVersion awareness: automatically detects 1.12.2- players on 1.13+ servers and sends them the optimal packets
24+
to maximise sidebar line lengths
2325

2426
## Supported server versions
2527

0 commit comments

Comments
 (0)