Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Add the ability for nations to sanction towns, preventing them from
joining the nation via invite or join. - Using /n sanctiontown ... kings can add/remove and list their sanctioned towns. - Closes #6544. - New Command: /nation sanctiontown - add [townname] - Adds a town to the sanctioned town list. - remove [townname] - Removes a town from the sanctioned town list. - list - Lists your nation's sanctioned towns. - list [nationname] - Lists the sanctioned towns of other nations. - New Command: /ta nation [nationname] sanctiontown - add [townname] - Adds a town to the sanctioned town list. - remove [townname] - Removes a town from the sanctioned town list. - list - Lists the nation's sanctioned towns. - New Permission Node: towny.command.nation.sanctiontown - Allows adding/removing sanctioned towns, a child node of towny.command.nation.*. - No townyperms.yml change is required. - New Permission Node: towny.command.townyadmin.nation.sanctiontown - Allows admins to add/remove sanctioned towns from a given nation, a child node of towny.command.townyadmin.nation.*. - No townyperms.yml change is required. - API: Added NationSanctionTownAddEvent - A cancellable event which is fired before a town becomes sanctioned. - API: Added NationSanctionTownRemoveEvent - A cancellable event which is fired before a town becomes unsanctioned.
- Loading branch information