Muni

Muni

2.5k Downloads

Delete all sub regions

xiebozhi opened this issue ยท 5 comments

commented

Upon town deletion, make the command delete all the town's sub regions as well.

commented

How are sub regions linked to a town?

commented

Upon creation of the subregion, we make a database entry storing the name of the world, the name of the region (need both to pull from world guard region manager), and an additional field named type that is a reference for the subregion type (muni specific). There is a new class that can load this data into itself- will make a link when I'm at my desk in a bit

commented

Still having trouble with saves. Pushing to second alpha release

commented

Each subregion now adds itself to the subregions table upon creation. On town deletion, the database is referenced for all the regions and deletes individually. Not working properl yet