Store Management

Packages

Packages are the items players can purchase on your store — ranks, kits, currency, subscriptions, and more.


Package Types

💳
One-time Purchase
Player pays once and receives their item immediately. Most common type for ranks and kits.
Best for: VIP ranks, kits, currency, cosmetics
🔄
Subscription
Player is charged on a recurring basis (monthly). Rank is automatically removed if they stop paying.
Best for: monthly VIP, premium access, supporter tier
🎚️
Variable Price
Player chooses how much to pay (with an optional minimum). Great for donations.
Best for: donations, "pay what you want" items
🎁
Gift Card
Generates a redeemable code worth a set amount of store credit.
Best for: gifting, giveaways, competitions

Delivery Commands

When a player completes a purchase, ForgeStore runs a server command on your behalf. This is how ranks, kits, and currency are delivered automatically — no manual work.

Available variables

VariableReplaced withExample
{player}The player's exact username (as entered at checkout)Notch
{player_uuid}Minecraft UUID (if available)069a79f4-...
{price}Amount paid in your store currency9.99
{package}Package nameVIP Rank
{quantity}Quantity purchased (for variable packages)3
{order_id}Unique order ID1042

Common command examples

Minecraft — LuckPerms rank
lp user {player} parent set vip
Minecraft — Give item
give {player} diamond_sword{Enchantments:[{id:sharpness,lvl:5}]} 1
Minecraft — Economy (EssentialsX)
eco give {player} 10000
Minecraft — Broadcast purchase
broadcast &6&l{player} &ejust bought &6VIP&e! Get yours at &bstore.yourserver.com
Rust — Add to group (Oxide)
oxide.usergroup add {player} vip
FiveM — ESX set job
es:setjob {player} mechanic 2
💡
Multiple commands: Add one command per line in the package settings. All commands run in order when a purchase is confirmed.
⚠️
Offline players: Commands run immediately when payment is confirmed. If the player is offline, the Plugin API queues the command and runs it the next time the player connects.

Stock & Limits

Stock limiting

Set a maximum number of units for a package. Once all units are sold, the package is automatically hidden from the store. Useful for limited-edition ranks or seasonal items.

In Package Settings → Advanced → Stock Limit, enter the maximum number of times this package can be purchased.

Purchase limits per player

Prevent players from buying the same package multiple times. Go to Package Settings → Advanced → Max Per Player and set a limit (e.g. 1 for a rank they can only buy once).

Required packages

Make a package only available to players who already own another package. For example, VIP+ can require VIP. Set this in Package Settings → Advanced → Requires Package.


Subscriptions

Subscription packages charge players on a recurring monthly basis. The rank is granted on purchase and automatically removed if the player cancels or fails to pay.

How it works

  1. Player purchases the subscription — they're charged immediately for month 1
  2. Each month, ForgeStore automatically creates a new payment request
  3. If the player pays → their rank continues, renewal command runs
  4. If the player doesn't pay within 3 days → cancellation command runs

Commands

Subscription packages support four command slots:

SlotWhen it runs
Purchase CommandFirst purchase only
Renewal CommandEvery successful monthly payment
Expiry CommandWhen the subscription is cancelled or payment fails
Chargeback CommandIf a chargeback is filed on a card payment
Example — Monthly VIP subscription
# Purchase command (first time)
lp user {player} parent set vip
broadcast &6{player} &ejust subscribed to &6Monthly VIP&e!

# Renewal command
lp user {player} parent set vip

# Expiry command
lp user {player} parent remove vip
tell {player} &cYour VIP subscription has expired. Renew at store.yourserver.com

Package Variants

Variants let players choose from multiple options within a single package. For example, a "Starter Kit" with Bronze, Silver, and Gold tiers — each with a different price and command.

In Package Settings → Variants, click Add Variant and set a name, price, and commands for each option. Players see a dropdown at checkout.


Categories

Organize your packages into categories to make your store easier to navigate. Go to Dashboard → Categories → New Category and assign packages to it.

Categories appear as tabs or sections on your store page depending on your theme.