2012-11-23 20:59:12 +01:00
|
|
|
package com.Acrobot.ChestShop.Configuration;
|
|
|
|
|
2013-04-23 20:09:23 +02:00
|
|
|
import com.Acrobot.Breeze.Configuration.Annotations.PrecededBySpace;
|
2017-11-13 15:11:22 +01:00
|
|
|
import com.Acrobot.Breeze.Configuration.Configuration;
|
2012-11-23 20:59:12 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @author Acrobot
|
|
|
|
*/
|
|
|
|
public class Messages {
|
2017-07-04 17:06:34 +02:00
|
|
|
public static String prefix = "&a[Shop] &r";
|
|
|
|
public static String iteminfo = "&aItem Information: &r";
|
2012-11-23 20:59:12 +01:00
|
|
|
|
2013-04-23 20:09:23 +02:00
|
|
|
@PrecededBySpace
|
2012-11-23 20:59:12 +01:00
|
|
|
public static String ACCESS_DENIED = "You don't have permission to do that!";
|
|
|
|
|
2013-04-23 20:09:23 +02:00
|
|
|
@PrecededBySpace
|
2012-11-23 20:59:12 +01:00
|
|
|
public static String NOT_ENOUGH_MONEY = "You don't have enough money!";
|
|
|
|
public static String NOT_ENOUGH_MONEY_SHOP = "Shop owner doesn't have enough money!";
|
|
|
|
|
2013-04-23 20:09:23 +02:00
|
|
|
@PrecededBySpace
|
2013-01-24 22:35:28 +01:00
|
|
|
public static String CLIENT_DEPOSIT_FAILED = "Money deposit to your account failed!";
|
|
|
|
public static String SHOP_DEPOSIT_FAILED = "Money deposit to shop owner failed!";
|
2018-01-27 17:12:34 +01:00
|
|
|
public static String NO_ECONOMY_ACCOUNT = "Economy account from shop owner doesn't exist!";
|
2013-01-24 22:35:28 +01:00
|
|
|
|
2013-04-23 20:09:23 +02:00
|
|
|
@PrecededBySpace
|
2012-11-23 20:59:12 +01:00
|
|
|
public static String NO_BUYING_HERE = "You can't buy here!";
|
|
|
|
public static String NO_SELLING_HERE = "You can't sell here!";
|
|
|
|
|
2013-04-23 20:09:23 +02:00
|
|
|
@PrecededBySpace
|
2012-11-23 20:59:12 +01:00
|
|
|
public static String NOT_ENOUGH_SPACE_IN_INVENTORY = "You haven't got enough space in inventory!";
|
|
|
|
public static String NOT_ENOUGH_SPACE_IN_CHEST = "There isn't enough space in chest!";
|
|
|
|
public static String NOT_ENOUGH_ITEMS_TO_SELL = "You don't have enough items to sell!";
|
2017-07-04 17:06:34 +02:00
|
|
|
public static String NOT_ENOUGH_SPACE_IN_YOUR_SHOP = "%material&7 shop at &r%world/%x/%y/%z&7 is full! (%seller tried to sell)";
|
2012-11-23 20:59:12 +01:00
|
|
|
|
2013-04-23 20:09:23 +02:00
|
|
|
@PrecededBySpace
|
2012-11-23 20:59:12 +01:00
|
|
|
public static String NOT_ENOUGH_STOCK = "This shop is out of stock.";
|
2017-07-04 17:06:34 +02:00
|
|
|
public static String NOT_ENOUGH_STOCK_IN_YOUR_SHOP = "%material&7 shop at &r%world/%x/%y/%z&7 is out of stock! (%buyer tried to buy)";
|
2012-11-23 20:59:12 +01:00
|
|
|
|
2013-04-23 20:09:23 +02:00
|
|
|
@PrecededBySpace
|
2012-11-23 20:59:12 +01:00
|
|
|
public static String YOU_BOUGHT_FROM_SHOP = "You bought %item from %owner for %price.";
|
|
|
|
public static String SOMEBODY_BOUGHT_FROM_YOUR_SHOP = "%buyer bought %item for %price from you.";
|
|
|
|
|
2013-04-23 20:09:23 +02:00
|
|
|
@PrecededBySpace
|
2012-11-23 20:59:12 +01:00
|
|
|
public static String YOU_SOLD_TO_SHOP = "You sold %item to %buyer for %price.";
|
|
|
|
public static String SOMEBODY_SOLD_TO_YOUR_SHOP = "%seller sold %item for %price to you.";
|
|
|
|
|
2013-04-23 20:09:23 +02:00
|
|
|
@PrecededBySpace
|
2012-11-23 20:59:12 +01:00
|
|
|
public static String YOU_CANNOT_CREATE_SHOP = "You can't create this type of shop!";
|
|
|
|
public static String NO_CHEST_DETECTED = "Couldn't find a chest!";
|
2013-02-01 19:28:52 +01:00
|
|
|
public static String INVALID_SHOP_DETECTED = "The shop cannot be used!";
|
2012-11-23 20:59:12 +01:00
|
|
|
public static String CANNOT_ACCESS_THE_CHEST = "You don't have permissions to access this chest!";
|
2018-05-07 16:32:51 +02:00
|
|
|
|
2018-01-07 02:11:59 +01:00
|
|
|
@PrecededBySpace
|
|
|
|
public static String CLICK_TO_AUTOFILL_ITEM = "Click the sign with the item that this shop is for!";
|
|
|
|
public static String NO_ITEM_IN_HAND = "You don't have an item in your hand to autofill!";
|
2018-05-07 16:32:51 +02:00
|
|
|
|
2013-04-23 20:09:23 +02:00
|
|
|
@PrecededBySpace
|
2012-11-23 20:59:12 +01:00
|
|
|
public static String PROTECTED_SHOP = "Successfully protected the shop with LWC!";
|
|
|
|
public static String SHOP_CREATED = "Shop successfully created!";
|
2013-01-24 22:35:28 +01:00
|
|
|
public static String SHOP_FEE_PAID = "You have been charged %amount";
|
2012-11-23 20:59:12 +01:00
|
|
|
public static String SHOP_REFUNDED = "You have been refunded %amount.";
|
2013-10-27 16:49:21 +01:00
|
|
|
public static String ITEM_GIVEN = "Given %item to %player.";
|
2012-11-23 20:59:12 +01:00
|
|
|
|
2013-04-23 20:09:23 +02:00
|
|
|
@PrecededBySpace
|
2013-03-03 17:25:50 +01:00
|
|
|
public static String RESTRICTED_SIGN_CREATED = "Sign successfully created!";
|
2012-11-23 20:59:12 +01:00
|
|
|
|
2013-04-23 20:09:23 +02:00
|
|
|
@PrecededBySpace
|
2013-10-27 16:49:21 +01:00
|
|
|
public static String PLAYER_NOT_FOUND = "Player not found!";
|
2012-11-23 20:59:12 +01:00
|
|
|
public static String NO_PERMISSION = "You don't have permissions to do that!";
|
|
|
|
public static String INCORRECT_ITEM_ID = "You have specified invalid item id!";
|
2012-12-31 02:46:21 +01:00
|
|
|
public static String NOT_ENOUGH_PROTECTIONS = "Could not create a protection!";
|
2012-11-23 20:59:12 +01:00
|
|
|
|
2013-04-23 20:09:23 +02:00
|
|
|
@PrecededBySpace
|
2012-11-23 20:59:12 +01:00
|
|
|
public static String CANNOT_CREATE_SHOP_HERE = "You can't create shop here!";
|
|
|
|
|
2014-05-20 23:13:25 +02:00
|
|
|
@PrecededBySpace
|
|
|
|
public static String TOGGLE_MESSAGES_OFF = "You will no longer receive messages from your shop(s).";
|
2014-05-24 11:15:54 +02:00
|
|
|
public static String TOGGLE_MESSAGES_ON = "You will now receive messages from your shop(s).";
|
2014-05-20 23:13:25 +02:00
|
|
|
|
2012-11-23 21:00:35 +01:00
|
|
|
public static String prefix(String message) {
|
2018-05-07 16:32:51 +02:00
|
|
|
return Configuration.getColoured(prefix + message);
|
2012-11-23 20:59:12 +01:00
|
|
|
}
|
|
|
|
}
|