Using it

The store GUI and checkout

The main menu lists your root categories. Clicking a category opens its sub-categories and packages. Big stores get pages, and a page with only a few items keeps them centered. Nobody can take or move items in the menus.

Buying without the cart#

With the cart off, what happens when a player clicks a package is set by purchase_action:

# What happens when a player clicks a package (when the cart is disabled):
#   confirmation_gui - opens a confirm/cancel screen, confirming sends the checkout link (default)
#   url_message      - immediately sends the checkout link in chat
purchase_action: confirmation_gui

# Seconds a player must wait between checkout link requests.
checkout_cooldown_seconds: 5
# Close the GUI when a checkout link is being generated.
close_gui_on_checkout: true

The checkout link is created through Tebex and sent in chat. The link expires shortly, and a cooldown stops link spam. The lines of that chat message are set in purchase_url_messages:

purchase_url_messages:
  - ""
  - "&#5B8DEF&lCHECKOUT &8» &7Your secure checkout link for &f%package_name% &7is ready!"
  - "&#5B8DEF&lCHECKOUT &8» &a&n[Click here to complete your purchase]"
  - ""

Every non-empty line is clickable and opens the checkout. Available placeholders: %player_name%, %package_name%, %package_id%, %price%, %checkout_url%, %store_name%. MiniMessage <click:...> tags inside a line still take priority.

Opening a category directly#

/store <category id> jumps straight to a category. Find IDs in store_ids.txt or with tab completion. /ht open <player> [category id] opens the store for a player, which is handy for NPCs and menu plugins.