#21 added more descriptive input (action bar for time units)

This commit is contained in:
Kiran Hart 2022-11-25 13:58:21 -05:00
parent 14cd5351f3
commit 4990d28ae3
No known key found for this signature in database
GPG Key ID: 5F36C7BC79D3EBC3
3 changed files with 13 additions and 2 deletions

View File

@ -92,7 +92,12 @@ public final class GUISellAuction extends AbstractPlaceholderGui {
)).make(), click -> {
click.gui.exit();
new TitleInput(click.player, AuctionHouse.getInstance().getLocale().getMessage("titles.listing time.title").getMessage(), AuctionHouse.getInstance().getLocale().getMessage("titles.listing time.subtitle").getMessage()) {
new TitleInput(
click.player,
AuctionHouse.getInstance().getLocale().getMessage("titles.listing time.title").getMessage(),
AuctionHouse.getInstance().getLocale().getMessage("titles.listing time.subtitle").getMessage(),
AuctionHouse.getInstance().getLocale().getMessage("titles.listing time.actionbar").getMessage()
) {
@Override
public void onExit(Player player) {

View File

@ -88,7 +88,12 @@ public final class GUISellBin extends AbstractPlaceholderGui {
)).make(), click -> {
click.gui.exit();
new TitleInput(click.player, AuctionHouse.getInstance().getLocale().getMessage("titles.listing time.title").getMessage(), AuctionHouse.getInstance().getLocale().getMessage("titles.listing time.subtitle").getMessage()) {
new TitleInput(
click.player,
AuctionHouse.getInstance().getLocale().getMessage("titles.listing time.title").getMessage(),
AuctionHouse.getInstance().getLocale().getMessage("titles.listing time.subtitle").getMessage(),
AuctionHouse.getInstance().getLocale().getMessage("titles.listing time.actionbar").getMessage()
) {
@Override
public void onExit(Player player) {

View File

@ -111,6 +111,7 @@ public class LocaleSettings {
languageNodes.put("titles.listing time.title", "&eListing Time");
languageNodes.put("titles.listing time.subtitle", "&fEnter new listing time in chat");
languageNodes.put("titles.listing time.actionbar", "&aExample&f: &e1 day &f(&eTime Units&f: &bsecond&f, &bminute&f, &bhour&f, &bday&f, &bweek&f, &bmonth&f, &byear&f)");
languageNodes.put("titles.enter bid.title", "&ePlace Bid");
languageNodes.put("titles.enter bid.subtitle", "&fEnter new bid amount in chat");