-
-
Notifications
You must be signed in to change notification settings - Fork 357
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Districts to TownBlocks and Towns. (#7480)
* Backend object, database stuff. TODO: front end command stuff. * Switch to saving/loading the town from/to a UUID, because that would be more sane. * Reduce diff and delete unloadable district when it should. * Add /plot district command. TODO: Make adjacent townblocks rules apply for adding and removing to/from the district * Fix yaml linter. * Fix up commands a bit, add proximity tests to add/remove. * Add PlayerExitsFromDistrictEvent and PlayerEntersIntoDistrictEvent * Lang file * Add District to ChunkNotification * Handle permissions in plugin.yml, make the command limited to players who are also mayors or equivalent. * Make new Proximity methods that will actually work... Block unclaiming which would mangle Districts. * Add equals method, do a bit of cleanup, add a missed proximity test. * Update colours used in lang strings. * Fixes found during testing. * Display districs on the townblock status screen as well as in the ascii map hovers. * Fix YAML linter complaint. * Make the perm hud aware of Districts.
- Loading branch information
Showing
29 changed files
with
1,313 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.