Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update idea #10

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Update idea #10

wants to merge 1 commit into from

Conversation

kmaba
Copy link
Owner

@kmaba kmaba commented Feb 7, 2025

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.

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`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant