VelocityChat
This plugin is designed to organize cross-server chat within the Velocity proxy server framework, providing convenient communication for players across different servers in the network.
Main Features
The plugin offers an advanced chat system with support for color codes. To specify colors in the game, use the & symbol instead of the standard §. Two main commands are available: /vchat local (abbreviated as /br) for sending messages within the current server and /vchat broadcast (abbreviated as /lc) for global broadcasting across all servers.
The system automatically notifies about player actions: connecting to the network, disconnecting, and switching between servers. Additional configurable functions include displaying sample players when refreshing the multiplayer games list, showing all proxy participants in the player list, maintaining a log of executed commands, activating the glist command, and enabling the default global chat. There is also the ability to send local messages when the text beginning matches specified strings and support for interface translation.
File Structure
All plugin files are located in the plugins/VelocityChat directory. The main configuration file config.toml contains all necessary settings for customizing the plugin's operation.
Localization System
Language files are divided into two categories: standard ones in the langs/default/.properties folder, which are regularly updated, and custom ones in langs/custom/.properties, where any default translations can be overridden.
Examples of chat formatting settings:
- Basic format:
qu_an.chat.message.chat.default=<chat_format> - Server-specific format:
qu_an.chat.message.chat.server.<server_id>=<chat_format>- Example for lobby:
qu_an.chat.message.chat.server.lobby=§8[§r{0}§8|§r{1}]§r<{2}§r> {3} - Example for survival:
qu_an.chat.message.chat.server.survival=§8[§r{0}§8]§r<{2}§r> {3} - If a specific format is missing, the basic one is used
- Example for lobby:
- Server names:
qu_an.chat.server.name.<server_id>=<server_name>- Examples:
qu_an.chat.server.name.lobby=Lobby,qu_an.chat.server.name.survival=§aSurvival Server - If a name is missing, the server identifier is displayed
- Examples:
Technical Information
For operation, the plugin uses the Qu_an Libs library, which is already included in the distributed version.