last minute adjustments

This commit is contained in:
Kiran Hart 2021-06-15 18:41:30 -04:00
parent 145f196e48
commit 570bec3db6
3 changed files with 3 additions and 1 deletions

View File

@ -140,6 +140,7 @@ public class AuctionHouse extends TweetyPlugin {
// commands
this.commandManager = new CommandManager(this);
this.commandManager.setSyntaxErrorMessage(TextUtils.formatText(getLocale().getMessage("commands.invalid_syntax").getMessageLines()));
this.commandManager.setNoPermsMessage(TextUtils.formatText(getLocale().getMessage("commands.no_permission").getMessage()));
this.commandManager.addCommand(new CommandAuctionHouse()).addSubCommands(
new CommandSell(),
new CommandActive(),

View File

@ -70,6 +70,7 @@ auction:
commands:
invalid_syntax: "&7The valid syntax is: &6%syntax%&7."
no_permission: "&cYou do not have permission to do that."
syntax:
active: "active"
auctionhouse: "/ah"

View File

@ -10,7 +10,7 @@ depend: [Vault]
commands:
auctionhouse:
description: Main command for the auction house plugin
aliases: [ah, auctions, auctionhouses]
aliases: [ah, auctions, auctionhouses, ahgui, auctiongui]
default: true
usage: /ah