Velocitab/README.md

73 lines
4.9 KiB
Markdown
Raw Normal View History

<!--suppress ALL -->
2023-02-24 23:10:50 +01:00
<p align="center">
2023-03-04 20:00:54 +01:00
<img src="images/banner.png" alt="Velocitab" />
<a href="https://modrinth.com/plugin/velocitab">
<img src="https://img.shields.io/modrinth/v/velocitab?color=%231bd96a&label=modrinth&logo=modrinth&logoColor=%23fffff" />
</a>
2023-02-24 23:10:50 +01:00
<a href="https://github.com/WiIIiam278/Velocitab/actions/workflows/java_ci.yml">
<img src="https://img.shields.io/github/actions/workflow/status/WiIIiam278/Velocitab/java_ci.yml?branch=master&logo=github"/>
</a>
<a href="https://discord.gg/tVYhJfyDWG">
<img src="https://img.shields.io/discord/818135932103557162.svg?label=&logo=discord&logoColor=fff&color=7389D8&labelColor=6A7EC2" />
</a>
</p>
<br/>
2023-03-13 03:12:47 +01:00
**Velocitab** is a super-simple Velocity TAB menu plugin that uses scoreboard team client-bound packets to actually sort player lists without the need for a backend plugin. Supporting modern RGB formatting, animations, comprehensive placeholder support and defining multiple TAB menus for different groups of servers, Velocitab is a versatile plugin, useful for any Velocity-based proxy network.
2023-03-12 23:34:48 +01:00
![Showcase of different TAB menus made with Velocitab.png](images/showcase.png)
2023-02-19 02:36:08 +01:00
2023-03-04 20:00:54 +01:00
## Setup
Simply add the jar to your Velocity `/plugins/` folder. It's also recommended that you install [LuckPerms](https://luckperms.net) for prefix/suffix/role (and sorting) support. Then, [edit the plugin config.yml](https://william278.net/docs/velocitab/config-file) to your liking.
2023-02-24 23:10:50 +01:00
## Configuration
2023-03-13 03:16:50 +01:00
Velocitab has a simple config file that lets you define a header, footer and format for the player list. You can additionally configure [groups of servers](https://william278.net/docs/velocitab/server-groups) to display different formats in the TAB menu depending on which server the player is viewing it from.
2023-02-24 23:10:50 +01:00
2023-03-04 20:00:54 +01:00
### Formatting
2023-04-06 19:11:00 +02:00
Velocitab [supports](https://william278.net/docs/velocitab/formatting) the full range of RGB colors and gradients, with options to use either MineDown (_default_), MiniMessage, or legacy formatting.
2023-03-04 20:00:54 +01:00
2023-02-24 23:10:50 +01:00
### Placeholders
2023-03-13 03:16:50 +01:00
You can include [placeholders](https://william278.net/docs/velocitab/placeholders) in the header, footer and player name format of the TAB list. The following placeholders are supported:
2023-02-24 23:10:50 +01:00
| Placeholder | Description | Example |
|--------------------------|-----------------------------------------------|--------------------|
| `%players_online%` | Players online on the proxy | `6` |
| `%max_players_online%` | Player capacity of the proxy | `500` |
| `%local_players_online%` | Players online on the server the player is on | `3` |
| `%current_date%` | Current real-world date of the server | `24 Feb 2023` |
| `%current_time%` | Current real-world time of the server | `21:45:32` |
| `%username%` | The player's username | `William278` |
| `%server%` | Name of the server the player is on | `alpha` |
| `%ping%` | Ping of the player (in ms) | `6` |
| `%prefix%` | The player's prefix (from LuckPerms) | `&4[Admin]` |
| `%suffix%` | The player's suffix (from LuckPerms) | `&c ` |
| `%role%` | The player's primary LuckPerms group | `admin` |
| `%debug_team_name%` | Internal team value, used for list sorting | `1_alpha_William2` |
2023-03-13 03:18:17 +01:00
PlaceholderAPI placeholders are also supported. To use them, just install [PAPIProxyBridge](https://modrinth.com/plugin/papiproxybridge) on your Velocity proxy and backend Spigot servers. Additionally, a hook for MiniPlaceholders is supported for servers using the MiniMessage formatter.
2023-03-13 03:16:50 +01:00
### Command
You can use the `/velocitab reload` command to reload the plugin config file (permission: `velocitab.command.reload`), and `/velocitab update` to check for updates (permission: `velocitab.command.update`).
2023-04-01 01:48:17 +02:00
2023-03-04 20:00:54 +01:00
## Building
To build Velocitab, simply run the following in the root of the repository:
```bash
2023-03-04 20:00:54 +01:00
./gradlew clean build
```
The build will be output as `/target/Velocitab-x.xx.jar`.
2023-03-04 20:00:54 +01:00
### License
2023-02-24 23:10:50 +01:00
Velocitab is licensed under the Apache 2.0 license.
- [License](https://github.com/WiIIiam278/Velocitab/blob/master/LICENSE)
2023-03-04 20:00:54 +01:00
## Links
* **[Website](https://william278.net/project/velocitab)** — Visit my website!
2023-03-09 22:37:20 +01:00
* **[Docs](https://william278.net/docs/velocitab)** — Read the plugin docs!
2023-04-23 00:11:45 +02:00
* **[Modrinth](https://modrinth.com/plugin/velocitab)** — View the plugin Modrinth page (Also: [Hangar](https://hangar.papermc.io/William278/Velocitab))
* **[Issues](https://github.com/WiIIiam278/Velocitab/issues)** — File a bug report or feature request
2023-03-04 20:00:54 +01:00
* **[Discord](https://discord.com/invite/tVYhJfyDWG)** — Get support, ask questions!
2023-02-24 23:10:50 +01:00
---
2023-03-04 20:00:54 +01:00
&copy; [William278](https://william278.net/), 2023. Licensed under the Apache-2.0 License.