mirror of
https://github.com/kiranhart/Auction-House.git
synced 2024-11-22 05:25:11 +01:00
#21 added more descriptive input (action bar for time units)
This commit is contained in:
parent
14cd5351f3
commit
4990d28ae3
@ -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) {
|
||||
|
@ -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) {
|
||||
|
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user