Ardas-Legends-Development-Team / AL_Base_Plugin

The AL_Base_Plugin is a plugin meant to integrate the Ardas Legends Minecraft Server with the backend software running the system.
European Union Public License 1.2
1 stars 1 forks source link

reload command #10

Closed MoritzRohleder closed 10 months ago

MoritzRohleder commented 1 year ago

Setting up a command to reload the config files of the plugin

The command should have a subcommand, that reloads only a specific config.

We want the dynamic faction #22 to be reloaded with this command as well once it´s implemented

Acceptance Criteria:

MoritzRohleder commented 10 months ago

As there already is a reload command for minecraft servers, the command should be /alreload {} Currently the only config files are stockpileConfig.yml and config.yml.

The command only needs to call the reload-Method from the main class (reload all configs) and an overloaded version of that method taking parameters (reload a specific config)