Guides
- 📚 Setup
- 📄 Config File
Documentation
- 🖥️ Commands
- 👥 Server Groups
- 🎨 Formatting
- 📛 Nametags
- 📊 Sorting
- ✍️ Placeholders
- 🔗 Relational Placeholders
- 🔀 Conditional Placeholders
- ✨ Animations
- 🖼️ Custom Logos
- 🔗 Server Links
- 📦 API
Velocitab provides a plugin message API, to let you do things with Velocitab from your backend servers.
Note:This feature requires sending Update Teams packets.send_scoreboard_packets
must be enabled in theconfig.yml
file for this to work. More details...
To use the Velocitab plugin message API, you must first turn it on and ensure the following:
enable_plugin_message_api
and send_scoreboard_packets
is set to true
in your Velocitab config filebungee-plugin-message-channel
is set to true
in your Velocity proxy config TOML (see Velocity config reference).To change a player's username in the TAB list, you can send a plugin message on the channel velocitab:update_custom_name
with a customName
string, where customName
is the new desired display name.
player.sendPluginMessage(plugin, "velocitab:update_custom_name", "Steve".getBytes());
To change player's nametag color, you can send a plugin message on the channel velocitab:update_team_color
with teamColor
string, where teamColor
is the new desired name tag color.
You can only use legacy color codes, for example a
for green, b
for aqua, etc. Please note this option overrides the color of the glow potion effect if set. Check here for a list of supported colors (The value under the "Code" header on the table is what you need).
player.sendPluginMessage(plugin, "velocitab:update_team_color", "a".getBytes());