BTEUK / EarthServer-v2

A 1.12.2 Claims and Navigation Plugin for BTE. Originally on UKnet, the 1.20 version is now part of github.com/BTEUK/Network.
0 stars 0 forks source link

Navigation menus/submenus for different regions are hard coded #1

Open george112n opened 5 months ago

george112n commented 5 months ago

Navigation menus/submenus for different regions ("London", "Kent" etc. ) are hard coded and only suitable for use on the BTE UK server. BTE Africa would like to use this plugin for claims and navigation, and ideally these regions should be flexible.

george112n commented 5 months ago

It may be wise to create another table in the DB to do this, since locations as they are called cannot have their 'regions' deleted and a relational database would prevent this wholly via a foreign key.

Obviously manual checking of the existence of locations in regions being deleted will be implemented, foreign key constraints will be a last resort.

Regardless, adding them into a table is my preference