-
-
Notifications
You must be signed in to change notification settings - Fork 359
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Command Addon API for /town buy (#7177)
* Add TOWN_BUY to CommandType enum * Fix a small typo in thrown exception * Add HelpMenu for /town buy * Add wildcard buy permission and bonus buy permission * Declare the permissions in plugin.yml * Implement the changes to TownCommand to allow for /t buy commands * Remove title and command from /t buy bonus page * Change /town buy permission checks * Add legacy node Similar to how we handled the list permission changing. --------- Co-authored-by: LlmDl <LlmDlio@gmail.com>
- Loading branch information
Showing
6 changed files
with
57 additions
and
14 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,6 +27,7 @@ public enum CommandType { | |
NATION_SET, | ||
NATION_TOGGLE, | ||
TOWN, | ||
TOWN_BUY, | ||
TOWN_SET, | ||
TOWN_TOGGLE, | ||
PLOT, | ||
|
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