This fix improves the handling ofthe triggers.sign, triggers.name or commands.exit keys in the config.yml in the unlikely event that the config.yml didn't get updated, or those keys were removed, or whatever. So, now it handles gracefully. (No stack traces).
Also, I made a small but important change to how the permissions are used. Before we had an auctionhouse.use that was, well, used for most all commands. Now, each command has it's own permission. auctionhouse.use is still needed for using the main /ah command without any parameters.
Here's the excerpt from the plugin.yml that shows what the permissions are, and whether they are true by default.
Code (Text):
permissions:
auctionhouse.reload:
description: Enables the /auctionhouse reload command
default: false
auctionhouse.use:
description: Enables the /ah command
default: true
auctionhouse.menu:
description: Enables the /ah menu command
default: false
auctionhouse.search:
description: Enables the /ah search command
default: true
auctionhouse.help:
description: Enables the /ah help command
default: true
auctionhouse.sell:
description: Enables the /ah sell command
default: true
auctionhouse.selling:
description: Enables the /ah selling command
default: true
auctionhouse.sold:
description: Enables the /ah sold command
default: true
auctionhouse.expired:
description: Enables the /ah expired command
default: true
auctionhouse.cancel:
description: Enables the /ah cancel command
default: true
auctionhouse.return:
description: Enables the /ah return command
default: true
auctionhouse.cancel.others:
description: Enables cancelling other's listing
default: false