Feature Update: Exit Button with Command (in Menu Mode), Clickable Signs and Blocks!
Warning! This version will upgrade your config and locale files. If you use a customized locale you will need to update that as well to include any new translations. It will backup the existing en_us.json file if it exists.
As with any update, please backup your AuctionHouse folder and test on a test server first. I do my best to test all features, but sometimes bugs happen.
Updates: -
Sold Items was moved from the main Auction House menu to under the Player Listings. It made more sense that it should be there, even though the main menu might be more convenient. This allows space on the main menu for an optional exit button:
- The main Auction House menu can now display an Exit button in the left side of the menu buttons if called using the /ah menu command. The /ah menu command is intended to be for other menus to call the Auction House and requires the auctionhouse.menu permission to be set.
- The localization file has been updated to include separate text for the Exit button, however default says 'Back' and uses the same item as the Back button (but feel free to customize).
- The config file has been updated to include commands.exit that can be set with a command to run after the Exit button is pressed. This allows daisy chaining back to a calling menu program.
- Clickable signs with trigger text defined in the config. The config.yml file contains triggers.sign. If set and not empty, and a player right clicks on a sign, the Auction House menu will display.
For example, you can right click on a sign with the default [AuctionHouse] text somewhere in the lines, and it will open the AH menu.
- Clickable blocks with trigger text defined in the config. The config.yml file contains triggers.name. If set and not empty, and a player right clicks on a certain nameable block entities, the Auction House menu will display.
For example, you could rename a chest block in an anvil and place it, then when you right-click on it, it would open the menu instead of opening the chest.
Supported blocks are chests, trapped chests, shulker boxes, furnaces, dispensers, droppers, hoppers, brewing stands and enchanting tables. Hint: An upside down dropper or chest makes a nice AH block. Throw a hologram over it an you are set!
- Current locale file version is now 10.
- Current config file version is now 4.