Skip to content

Update idea#10

Open
kmaba wants to merge 1 commit intomainfrom
update-idea
Open

Update idea#10
kmaba wants to merge 1 commit intomainfrom
update-idea

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