Skip to main content

Shop

The Shops Extension simulates a living economy. Prices can fluctuate based on supply and demand, stock settings enable scarcity, and automatic restocking keeps the market moving.

Features

  • Dynamic Pricing — Prices fluctuate with stock levels.
    • Stock Control — Max supply and replenishment limits.
    • Purchase Limits — Restrict items per player.
    • Currency Agnostic — Works with Vault, Points, or Items.

Entries

  • DefinitionShop Def: Configure items/prices.

Quick Start

  • 1. Configure Settings — Start with the configuration entry: shop_definition. This defines global settings for the extension. → shop_definition
  • 2. Trigger Actions — Use action entries to interact with the extension: open_shop. Trigger them from commands, NPCs, events, or other entries. → open_shop

Placeholders

Prefix: %typewriter_shop:<id>:%

PlaceholderDescription
%typewriter_shop:<id>:name%Shop name
%typewriter_shop:<id>:cooldown%Restock timer
%typewriter_shop:<id>:<index>:buy_price%Current Buy Price
%typewriter_shop:<id>:<index>:stock%Current Stock

Commands

CommandDescription
/shopOpen a shop menu.

Permissions

PermissionDescription
typewriter.shop.openOpen a shop menu.