Changelog
[v1.8.1] - 2024-09-23
Refactored
- Overhauled the project structure to improve clarity and modularity by updating package names. This refactor enhances maintainability and makes future development easier.
Added
- Updated to support Minecraft version 1.21.1, ensuring compatibility with the newest features and changes.
- Built using Java 17 for improved performance and long-term support (LTS). Switched from a Paper instance to a Bukkit instance to provide better long-term support and maintain a stable foundation for plugins.
Changelog
[v1.8.1] - 2024-09-23
Refactored
- Updated the configuration version to 2 in the default example config for better clarity and alignment with new standards.
Bug Fixes
- Resolved an issue with instance management where commands were not being registered correctly, ensuring smoother operation and command handling in Velocity.
Changelog
[v1.7.1] - 2024-08-25
Refactored
- Significant changes to package names for improved clarity and organization. This refactor aims to enhance maintainability and modularity of the codebase.
Added
- Now supports Minecraft version 1.21.1, ensuring compatibility with the latest features and updates from Minecraft.
- Compiled using Java 17 for better performance and stability. The update also switches from using a Paper instance to a Bukkit instance to offer more long-term support (LTS).
Changelog
[v1.7.1] - 2024-08-25
Refactored
- Introduced a new
UUIDManager
class with methods dedicated to managing UUIDs from messages sent by Bukkit, improving the efficiency and clarity of UUID handling. - Significant package name changes implemented to align with new project structure and enhance code readability.
- Updated various file names to reflect new naming conventions and maintain consistency across the codebase.
Fixed
- Resolved a bug related to the reception of multiple messages, which previously caused inconsistencies in message handling.
Updates
- Now compiled using Java 17 instead of Java 21, increasing compatibility with older versions and ensuring broader support.
Changelog
[v1.7.0] - 2024-08-12
Improved
- Refactored logging logic for better traceability and efficiency.
- Updated example scripts to reflect the latest changes and best practices.
- Enhanced the logic for sending commands to Velocity using the UUID system for better accuracy and performance.
Added
- Added support for a list of target server IDs instead of a single string, providing greater flexibility in command routing.
- Implemented script version and config version checks to ensure compatibility.
- Introduced a new option called
args
in the string parser to allow for more dynamic command parsing. - Added a new placeholder called
%world%
for more context-sensitive command execution. - Bukkit to Velocity Command Handling: Refactored the method by which Bukkit sends commands to Velocity to support multiple proxies connected to a single Bukkit server. This change requires the target server to be specified as a list in the Bukkit script, improving compatibility and flexibility in complex server environments.
Updates
- Config version and script version updated to version 2.
Changelog
[v1.7.0] - 2024-08-12
Fixed
- Fixed an issue where console commands from Bukkit were not executing correctly.
- Removed the standard copy option to resolve errors that were occurring.
Improved
- Refactored the
/cb
command to now refer to the help message. - Changed warning messages to informational when a message is received on an unrecognized channel to reduce console spam.
- Minor improvements made to logging methods for better clarity.
- Adjusted the startup order for improved efficiency.
- Updated
config.yml
for better clarity and organization. - Enhanced the message listener with UUIDs to resolve issues with player identification across multiple proxies.
- Overhauled command processing and command registrar for better performance.
Added
- Added support for a list of target server IDs instead of a single string.
- Implemented script version and config version checks.
- Introduced a new option called
args
in the string parser to allow argument parsing for commands.
Updates
- Config version and script version updated to version 2.
Changelog
[v1.6] - 2024-08-01
Fixed
- Fixed an issue where version update messages were sent to all players regardless of their permissions. The plugin now correctly checks for the
commandbridge.admin
permission before sending version update notifications.- Admin-Only Notifications: Version update messages are now only sent to players with the
commandbridge.admin
permission. - Non-Admin Players: Players without the
commandbridge.admin
permission no longer receive version update messages, ensuring appropriate message distribution.
- Admin-Only Notifications: Version update messages are now only sent to players with the
Improved
- Enhanced permission check logic during player join events to ensure only authorized players receive specific notifications.
- Updated logging to provide better traceability of permission checks and notification sending, aiding in debugging and monitoring.
Changelog
[v1.5] - 2024-07-21
Fixed
- Fixed an issue where plugin messages were processed multiple times based on the number of players online (#2). The plugin now correctly differentiates between player and console executors, ensuring messages are handled appropriately.
- Player-Specific Commands: Messages sent by players are now correctly processed once per intended execution.
- Console Commands: Messages sent by the console are now handled separately, ensuring they are not duplicated based on player count.
Added
- Added synchronization to the message handling to ensure single execution per message.
- Improved logging to provide better traceability of message handling and command execution.
Changelog
[v1.5] - 2024-07-21
Fixed
- Fixed an issue where plugin messages were received multiple times based on the number of players online (#2). The plugin now correctly handles messages sent by the console, ensuring they are sent through one player if available, and properly logs when no players are online.
- Player-Specific Commands: Plugin messages are now correctly sent directly to the targeted player.
- Console Commands: Plugin messages sent by the console are now routed through one online player if available. If no players are online, the situation is logged appropriately.
Added
- Added logic to check for online players and send plugin messages from the first available player when the executor is the console.
- Enhanced logging to warn when no players are online to handle console-executed commands.
New Features
- Added version check and command registration on startup.
- Introduced a method to copy an example config file if it doesn't exist.
Improvements
- Refactored script loading process for better error handling and logging.
- Further refined the script loading process with better error handling and logging.
- Improved warning messages for version discrepancies.
- Refactored
CommandExecutor
to handle player online status and timeouts more efficiently. - Added support for system commands in
MessageListener
and improved logging statements. - Updated CommandBridge plugin version to 1.4-SNAPSHOT in
pom.xml
files.
Bug Fixes
- None reported for this version.
Miscellaneous
- General improvements in logging and error handling across various components.
Please report any bugs or issues on our GitHub Issues page.
New Features
- None reported for this version.
Improvements
- Refactored
forceInfo
method inVerboseLogger.java
for consistency with naming conventions. - Enhanced message handling and command sending logic in
MessageListener
andMessageSender
classes. - Added support for system commands in
MessageListener
and improved logging statements. - Updated CommandBridge plugin version to 1.4-SNAPSHOT in
pom.xml
files.
Bug Fixes
- None reported for this version.
Miscellaneous
- General improvements in logging and error handling across various components.
Please report any bugs or issues on our GitHub Issues page.
Bukkit Version 1.3 RELEASE
New Features:
-
Cross-Server Command Sending:
- You can now send commands from Bukkit servers to the Velocity server, significantly enhancing cross-server functionality.
- Utilizes the same placeholders as on the Velocity side, ensuring consistency and ease of use.
- Includes a new configuration section in
bukkit-scripts
on the Bukkit side for setting up command sending.
-
Hot Reloading:
- Commands can now be hot-reloaded using the
cb reload
orcommandbridge reload
command, providing seamless updates without the need for server restarts.
- Commands can now be hot-reloaded using the
Bug Fixes:
- Configuration and Scripts Folder Handling:
- Fixed an issue where the
config
andscripts
folders were not being copied correctly, ensuring proper setup and functionality.
- Fixed an issue where the
Velocity Version 1.3 RELEASE
New Features:
-
New Commands:
velocity help
: Provides help information about Velocity commands.velocity version
: Displays the current version of Velocity.
-
Automatic Version Check: Velocity now automatically checks for new versions and notifies the user. This feature also integrates with the
cb
orcommandbridge version
command to ensure users are aware of updates. -
Cross-Platform Command Support: Introduces support for a new feature in the Bukkit version, allowing commands to be sent from Bukkit to Velocity.
Bug Fixes:
- Configuration Error Handling: Added more clauses to handle misconfigurations, reducing the likelihood of errors due to incorrect configurations.