▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Плагины/QuickShop-Hikari-Dialog
QuickShop-Hikari-Dialog

QuickShop-Hikari-Dialog

QuickShop-Hikari dialog addon.

Оцените первым
67
1

QuickShop-Hikari-Dialog

A Paper plugin that replaces QuickShop-Hikari's default shop interactions with dialog UIs.

Requirements

DependencyVersion
Java25 or later
Paper1.21.11 or later
QuickShop-Hikari6.2.0.11 or later

Optional dependencies

MiniPlaceholders — Enables audience and global placeholder tags inside translation messages.

Installation

  1. Place plugin jar in your server's plugins/ folder.
  2. Ensure QuickShop-Hikari is installed and loaded before this plugin.
  3. Start the server once to generate plugins/QuickShop-Hikari-Dialog/config.conf and the default translation files.
  4. Configure plugins/QuickShop-Hikari/interaction.yml as described below, then reload or restart.

QuickShop-Hikari: interaction.yml Setup

QuickShop-Hikari-Dialog registers three behavior identifiers that must be assigned in QuickShop-Hikari's interaction.yml.

IdentifierDescription
SHOP_CREATE_DIALOGOpens a dialog to create a new shop by clicking a container or wall sign
SHOP_EDIT_DIALOGOpens a dialog to modify an existing shop
TRADE_DIALOGOpens a dialog to buy from or sell to an existing shop

Recommended configuration

# plugins/QuickShop-Hikari/interaction.yml

STANDING_LEFT_CLICK_SIGN: TRADE_DIALOG
STANDING_RIGHT_CLICK_SIGN: SHOP_EDIT_DIALOG
STANDING_LEFT_CLICK_SHOPBLOCK: TRADE_DIALOG
STANDING_RIGHT_CLICK_SHOPBLOCK: NONE # reserved for opening the chest
STANDING_LEFT_CLICK_CONTAINER: SHOP_CREATE_DIALOG
STANDING_RIGHT_CLICK_CONTAINER: NONE

You may freely reassign these identifiers to other click actions depending on your server's preferences.

Permissions

PermissionDescriptionDefault
qshdialog.command.qshdialog.reloadReload config and translationsOP
qshdialog.command.shopdialog.createUse the /shopdialog create commandtrue
qshdialog.command.shopdialog.editUse the /shopdialog edit commandtrue
qshdialog.command.tradedialogUse the /tradedialog commandtrue

QuickShop-Hikari's own permissions continue to control which dialog inputs are shown to each player.

Custom Placeholder Tags

The following tags are available inside translation messages.

(argument) = Optional
[argument] = Required

Shop placeholders

Available in any message that receives a Shop context (shop create/edit/trade dialogs).

TagDescription
<shop:name>Raw shop name (empty string if unset)
<shop:name_or:[fallback]>Shop name or any name
<shop:owner_name>Owner's username
<shop:owner_balance>Owner's current balance (plain number)
<shop:owner_balance_formatted>Owner's current balance, formatted by the economy provider
<shop:price>Shop price (plain number)
<shop:price_formatted>Shop price, formatted by the economy provider
<shop:trade_type>Localised trade type label
<shop:currency>Currency identifier (empty string if using default)
<shop:stock>Current stock count, in trade units
<shop:space>Available container space, in trade units
<shop:display>true / false
<shop:unlimited_stock>true / false
<shop:product_id>Product's namespaced key (e.g. minecraft:diamond)
<shop:product_name>Product's item_name component
<shop:product_display_name>Product's effective display name

Player placeholders

Available in all messages that receive an audience (i.e. virtually every message).

TagDescription
<player_name>Player's name
<player_display_name>Player's display name
<player_balance>Player's current balance
<player_balance_formatted>Player's current balance, formatted by the economy provider

Shop count

TagDescription
<shop_count:[player]>Number of shops the player currently owns
<shop_count_max:[player]>Player's shop limit (-1 if limits are disabled)

Shop fee

TagDescription
<shop_fee:create:(player)>Cost to create a shop
<shop_fee:create_formatted:(player)>Cost to create a shop, formatted by the economy provider
<shop_fee:change_name:(player)>Cost to rename a shop
<shop_fee:change_name_formatted:(player)>Cost to rename a shop, formatted by the economy provider
<shop_fee:change_price:(player)>Cost to change a shop's price
<shop_fee:change_price_formatted:(player)>Cost to change a shop's price, formatted by the economy provider

Price placeholders

TagDescription
<price:[item_id]:min>Minimum allowed price for the given item
<price:[item_id]:max>Maximum allowed price for the given item

[item_id] is a namespaced item key such as minecraft:diamond. Other tags can be nested inside the argument, for example:

qsh_dialog.shop.create.dialog.input.price=Price (Range: <price:'<shop_product_id>':min> - <price:'<shop_product_id>':max>)

<quickshop:key> / <quickshop:key:arg0:arg1>

Renders a QuickShop-Hikari message by its translation key, with optional arguments. Each argument is parsed as MiniMessage, so other tags can be nested:

qsh_dialog.trade.purchase.fail.shop_out_of_stock=<quickshop:shop-stock-too-low:'<shop_stock>':'<shop_product_display_name>'>
Партнёрский материал

Сервер для плагина QuickShop-Hikari-Dialog - как у профи

Плагин QuickShop-Hikari-Dialog создан для серверов: на своём сервере вы настраиваете его под себя и решаете, кому играть. Создать сервер с плагином QuickShop-Hikari-Dialog для друзей можно за пару минут - BungeeHost всё уже подготовил.

Часто задаваемые вопросы

Совместимость

Minecraft: Java Edition

1.21.x

Платформы

Поддерживаемые окружения

Сервер

Ссылки


Создатели

Детали

Лицензия:
Опубликован:4 месяца назад
Обновлён:4 месяца назад
Главная