Open
Conversation
Add reload command and update hub command to handle multiple lobbies. * **Reload Command**: Add `ReloadCommand` class to handle the reload functionality, reloads the configuration file `src/main/resources/config.yml` and updates the necessary data structures. * **Hub Command**: Update `HubCommand` class to handle redirection to another lobby if the current one is full or not supported. * **Velocity Plugin**: Register the new reload command in the `VelocityPlugin` class and fix the `@Plugin` annotation import issue. * **Documentation**: Update `README.md` to reflect the new behavior of the `/hub` command and the addition of the reload command. * **Plugin Configuration**: Add the reload command in the `plugin.yml`.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add reload command and update hub command to handle multiple lobbies.
ReloadCommandclass to handle the reload functionality, reloads the configuration filesrc/main/resources/config.ymland updates the necessary data structures.HubCommandclass to handle redirection to another lobby if the current one is full or not supported.VelocityPluginclass and fix the@Pluginannotation import issue.README.mdto reflect the new behavior of the/hubcommand and the addition of the reload command.plugin.yml.