Packages
Packages are the products you sell on your store. Ranks, kits, cosmetics, currency, or anything else you can deliver with a server command.
Creating a Package
From Products in your dashboard, click Create Package and fill in:
- Name: the display name on your storefront (e.g., “VIP Rank”, “64 Diamonds”)
- Description: a rich text description with bold, italic, lists, and links
- Image: product image (recommended 512x512, PNG/JPG/WEBP)
- Category: which category this package belongs to (create one first if needed)
- Price: price in your store’s base currency
- Delivery commands: the server commands to execute on purchase (see below)
Click Save and the package appears on your storefront immediately unless you disable it.
Your store must have maintenance mode turned off for packages to be visible to customers.
Pricing Options
One time purchase is the default. The customer pays once and commands execute once. Use this for permanent ranks, kits, or cosmetics.
Subscription sets up recurring payments on a defined interval, with commands executing on each renewal. See Subscriptions for details.
You choose the pricing model when creating a package. A package cannot be both one time and subscription.
Delivery Commands
Delivery commands are the server commands FluxStore executes on your Minecraft server when a purchase completes. Commands are sent instantly via WebSocket.
Enter commands without the leading slash. Use variables in curly braces to insert dynamic values:
give {player} diamond 64Variables Reference
| Variable | Description | Example Value |
|---|---|---|
{player} | Buyer’s Minecraft username | Steve |
{uuid} | Buyer’s Minecraft UUID | 069a79f4-44e9-4726-a5be-fca90e38aaf5 |
{transaction_id} | Unique transaction identifier | pi_1234567890 |
{price} | Price the customer paid | 9.99 |
{quantity} | Quantity purchased | 1 |
Command Examples
Giving items:
give {player} diamond 64
give {player} golden_apple 16Setting ranks with LuckPerms:
lp user {player} parent set vip
lp user {player} permission set essentials.fly trueRunning Essentials commands:
eco give {player} 1000Sending a welcome message:
tellraw {player} ["",{"text":"Thank you for purchasing VIP!","color":"gold"}]Granting permissions temporarily (LuckPerms):
lp user {player} permission settemp essentials.fly true 30dMultiple Commands per Package
A single package can have multiple delivery commands that execute one after another. This lets you bundle several actions into one product. For example, a “VIP Rank” package might include:
lp user {player} parent set vip
eco give {player} 5000
give {player} diamond 64
tellraw {player} ["",{"text":"Welcome to VIP! Enjoy your perks.","color":"gold"}]Add more commands by clicking Add Command in the command editor.
Test your commands on your server before going live. A syntax error in a command will cause that individual command to fail, though other commands in the package will still execute.
Server Selection
When you have multiple servers connected, you can choose which server each command runs on. This is configured per command, so a single package can deliver commands to different servers. For example, a VIP package might set a rank on your hub server and give a kit on your survival server.
Package Ordering
Packages display on your storefront in the order you define. Drag and drop packages within Products to reorder them. The new order saves automatically.
Packages are ordered within their category. Category order is configured separately. See Categories.
Enabling and Disabling Packages
Toggle a package’s visibility from the Products page without deleting it. Disabled packages are hidden from your storefront and cannot be purchased, but they stay in your dashboard so you can turn them back on later.
Disabling a package does not affect existing orders or active subscriptions. It only prevents new purchases.
Editing and Deleting
Click any package in Products to edit its name, description, image, price, commands, or category. Changes take effect immediately on your storefront.
Changing a package’s price does not affect existing orders or active subscriptions. The new price only applies to new purchases.
To permanently remove a package, open it and click Delete. This cannot be undone. If you just want to hide it temporarily, disable it instead.
Next Steps
- Categories: organize your packages into groups on your storefront
- Subscriptions: set up recurring payment packages
- Server Setup: connect your server to receive delivery commands