Added stock check for shift left clicking a sign

This commit is contained in:
2022-10-01 06:09:28 +02:00
parent 5c228e134a
commit 76c68f6bfa
2 changed files with 38 additions and 4 deletions
@@ -37,9 +37,11 @@ public class MessageConfig extends AbstractConfiguration {
NO_PERMISSION_FOR_SHOP_TYPE = config.getString("permissions-messages.shop-type", NO_PERMISSION_FOR_SHOP_TYPE);
}
public static String SHOP_INFO = "This shop <action> <amount> <item> for <price>.";
public static String SHOP_INFO = "<yellow>This shop <action> <gold><amount></gold> <item> for <gold><price></gold>.</yellow>";
public static String SHOP_STOCK_INFO = "<yellow>This <type> shop has <gold><stock></gold> stock.</yellow>";
private static void otherMessages() {
SHOP_INFO = config.getString("messages.shop-info", SHOP_INFO);
SHOP_STOCK_INFO = config.getString("messages.shop-stock-info", SHOP_STOCK_INFO);
}
public static String CHANGE_PRICE_PROMPT = "What should the price be? Type cancel to cancel this action.";