
Delete all sub regions
xiebozhi opened this issue ยท 5 comments
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
Quick and dirty datagram Muni WG Region: https://github.com/xiebozhi/Muni/blob/master/src/com/teamglokk/muni/utilities/MuniWGRegion.java
This is the DB table definition for the subregions.
https://github.com/xiebozhi/Muni/blob/master/src/com/teamglokk/muni/utilities/dbWrapper.java#L751
From this line down are the subregion DB methods:
https://github.com/xiebozhi/Muni/blob/master/src/com/teamglokk/muni/utilities/dbWrapper.java#L589