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

Make the Faction List dynamic #22

Closed MoritzRohleder closed 9 months ago

MoritzRohleder commented 11 months ago

For the autocompletion of the stockpile plugin, I hardcoded the Faction-List as the parsing from the Backends Json to the Models.

Acceptance Criteria:

MoritzRohleder commented 10 months ago

For this, only the method setUpFactions() needs to be reworked to load the list from the back-end instead of hard-coding it. The alapiclient class already has a getFactions() Method, that doesn´t work properly