# Overview
Source: https://docs.minestorecms.com/backend/overview
Learn more about MineStoreCMS Backend and Operating Services.
## **MineStoreCMS Backend**
**Technical Overview:**
1. **Language**: PHP 8.3
2. **Framework**: Laravel 11.x^ (Latest for v11)
3. **Database**: MariaDB 10.6^+.
4. **Operating System Services**: `minestore_queue` (Queue Worker), `minestore_schedule` (Scheduler), `minestore_worker` (Cron Worker), `minestore_discord` (Discord Bot) and `minestore_frontend` (Frontend & Updater Service).
5. **API**: RESTful API (For main frontend `Next.js` application).
6. **Web Server**: Nginx (Recommended)
7. **Admin Panel**: Built with Blade Template Engine.
8. **Default Performing Path**: `/var/www/minestore`.
9. **Websockets**: Local, being used when using the `minestore_frontend` service during restart or update.
10. **Ports**: `80` (HTTP) and `443` (HTTPS) are required for the frontend service.
# Adding Cloudflare Rule
Source: https://docs.minestorecms.com/extra/cloudflare-rule
Learn how to add a Cloudflare rule to avoid rate limiting & IP blocking issues from your Minecraft Server.
## **Adding rate limiting rule to Cloudflare**
1. Log in to your **Cloudflare account**.
2. Click on the **"Security" -> "WAF"** tab.
3. Select "Custom Rules" from the top menu.
4. Click on the **"Create rule"** button.
5. Enter the following details:
* **Rule name**: `MineStore API`
* **When incoming requests match**:
* **Field**: `URI Path`
* **Operator**: `contains`
* **Value**: `/api`
* **Expression preview**: `(http.request.uri.path contains "/api")`
* **Action**: `Skip`
* **WAF Components to skip**: Select all components and all from **"More components to skip"**.
6. Click on the **"Deploy"** button.
# How to Accept Paysafecard?
Source: https://docs.minestorecms.com/faq/how-accept-paysafecard
Learn which payment gateways are accepting Paysafecard.
## **What is Paysafecard?**
**Paysafecard** is a **prepaid online payment method** based on vouchers with a **16-digit PIN code**, independent of bank account, credit card, or other personal information. Customers can purchase vouchers at local sales outlets and pay online by entering the code at the checkout of the respective website (e. g. an online game).
## **Which Payment Gateways Accept Paysafecard?**
**Paysafecard** is a **popular payment method** that is accepted by many **payment gateways**. Here are some of the **payment gateways** that accept **Paysafecard**:
* **Skrill** - [Skrill](https://www.skrill.com/en-in/business/quick-checkout/) - up to 5% fee;
* **Mollie** - [Mollie](https://www.mollie.com/payments/paysafecard) - 0.25 EUR per transaction + 15% fee;
## **How hard is to get approved for Paysafecard?**
The **easier way** to integrate **Paysafecard** is to use **Mollie**. This is the quickest way to get **Paysafecard** on your website. **Mollie** is a **payment gateway** that allows you to accept **Paysafecard** payments on your website. However, they charge a **0.25 EUR per transaction + 15% fee**.
You can also use **Skrill** to accept **Paysafecard** payments. **Skrill** charges up to **5% fee** for **Paysafecard** payments but their approval process is more complicated and can take longer (up to 1 months).
For temporary solutions, you can use **Mollie** to accept **Paysafecard** payments on your website. And then, you can apply for **Skrill** to accept **Paysafecard** payments with a lower fee.
# Editing Discord Messages
Source: https://docs.minestorecms.com/faq/how-to-change-discord-message
Learn how to edit a Discord message about new purchases.
You need to login in your VPS **SFTP or SSH** to edit the **Discord message**.
## **Edit Discord Message**
1. Login to your **VPS** using **SFTP Protocol**.
2. Navigate to the next file: `/var/www/minestore/app/Http/Controllers/Discord/SendMessageController.php`.
3. Open the file with the editor of your choice.
4. Edit `$data` array content to change the **Discord message**.
## **Edit Discord Message (for outdated versions)**
1. Login to your **VPS** using **SFTP Protocol**.
2. Navigate to the next path: `/var/www/minestore/app/Http/Controllers/ItemsController.php`.
3. Use the **Search** to find the following code:
```php theme={null}
public static function sendSuccessfulDiscord($username, $itemsCart, $payment, $setting): void
```
4. Edit `$data` array content to change the **Discord message**.
# Changing Domain
Source: https://docs.minestorecms.com/faq/how-to-change-domain
Learn how to change the domain of your MineStoreCMS Instance.
You can also **purchase installation service** from our [official website](https://minestorecms.com/dashboard) and our team will manage everything fast and **without any risks** for you.
## **Changing Domain**
To change the domain of your MineStoreCMS instance, you need to follow the steps below:
1. Point a [new domain](/installation/configuring-dns) to your **VPS IP address**.
2. Change the domain in the **Nginx** or **Apache** configuration file (`/etc/nginx/sites-enabled/minestore.conf` or `/etc/apache2/sites-enabled/minestore.conf`).
3. Restart the **Nginx** or **Apache** service.
4. Update the **webstore URL** in the `.env` file (`/var/www/minestore/.env`).
5. Get the **new license key** from the [official website](https://minestorecms.com/dashboard) and update it in the `.env` file (`/var/www/minestore/.env`).
6. Update the **webstore URL** in the `/var/www/minestore/frontend/.env` file.
7. Execute the following command to restart the frontend service:
```bash theme={null}
service php8.2-fpm restart
cd /var/www/minestore
php artisan config:cache
php artisan route:clear
sudo systemctl restart minestore_worker
sudo systemctl restart minestore_queue
sudo systemctl restart minestore_schedule
sudo systemctl restart minestore_frontend
```
9. Done! Your **MineStoreCMS instance** is now running on the new domain.
# How to Enable Debug Mode?
Source: https://docs.minestorecms.com/faq/how-to-enable-debug-mode
Learn how to enable debug mode in MineStoreCMS to troubleshoot issues and errors.
If you are facing any issues or errors in MineStoreCMS, you can enable debug mode to get more information about the issue. However, enabling debug mode is not recommended for production environments as it may expose sensitive information.
You should only enable debug mode for troubleshooting purposes or when got asked by support team and disable it again when you are done.
## **Enabling Debug Mode**
To enable debug mode in MineStoreCMS, you need to edit the `.env` file in the root directory of your MineStoreCMS installation. You can do this by using the following command in the terminal:
```bash theme={null}
nano /var/www/minestore/.env
```
Then, you need to find the following line in the `.env` file and set it to `true`:
```bash theme={null}
APP_DEBUG=true
```
After that, save the file and exit the editor. You can do this by pressing `CTRL + X`, then `Y`, and then `Enter`.
Then, you need to run the following command in the terminal to apply changes:
```bash theme={null}
cd /var/www/minestore
php artisan config:cache
```
After enabling debug mode, you need to disable it again when you are done troubleshooting. You can do this by setting the `APP_DEBUG` variable back to `false` in the `.env` file.
# Migration on Other Server
Source: https://docs.minestorecms.com/faq/how-to-migrate-on-other-server
Learn how to migrate MineStoreCMS on another server with saving data.
This is very complicated and risky process, so we recommend to **purchase installation service** from our [official website](https://minestorecms.com/dashboard) and our team will manage everything fast and **without any risks** for you.
## **Migration on Other Server**
1. **Backup Database**: First, you need to backup your database from the old server. You need to export the database by using MySQL Client or PHPMyAdmin or by running the following command in the terminal:
```bash theme={null}
mysqldump -u root -p minestore > minestore.sql
```
2. **Backup Files**: You need to backup the files from the old server. We recommend to make a full backup of the `/var/www/minestore` directory by running the following command in the terminal:
```bash theme={null}
tar -czvf minestore.tar.gz /var/www/minestore
```
3. **Install MineStoreCMS**: You need to install MineStoreCMS on the new server. You can follow the steps below to install MineStoreCMS on your new server:
* [Requirements](/installation/requirements)
* [Installation](/installation/installation)
4. After installing MineStoreCMS on the new server, you need to remove all data from the newly created database and import the database from the old server.
5. Upload the files from the old server to the new server. We do not recommend to upload all files, only upload recommended files and files that you have modified.
List of recommended directories to upload:
* `/var/www/minestore/frontend`
* `/var/www/minestore/public`
* `/var/www/minestore/config`
6. We also recommend to upload the `.env` file from the old server to the new server. You can upload the `.env` file by using the File Manager in the Admin Panel, but make sure to update the database credentials in the `.env` file.
7. After uploading the files and `.env` file, you need to run the following commands in the terminal to apply changes:
```bash theme={null}
cd /var/www/minestore
chown -R www-data:www-data .
chmod -R 755 .env storage/* bootstrap/cache public/img public/img/*
chown root updater
chmod u=rwx,go=xr,+s updater
chmod +x /var/www/minestore/frontend.sh
php artisan config:cache
php artisan route:clear
sudo systemctl restart minestore_worker
sudo systemctl restart minestore_queue
sudo systemctl restart minestore_schedule
sudo systemctl restart minestore_frontend
```
8. Wait for a few minutes to apply changes and check the webstore on the new server. If everything is working fine, then you have successfully migrated MineStoreCMS to the new server.
9. Purge Cloudflare cache if you are using Cloudflare CDN.
10. Done! Your **MineStoreCMS instance** is now migrated to the new server with all data saved.
# Receiving SSL Certificate
Source: https://docs.minestorecms.com/faq/how-to-receive-ssl
Learn how to receive SSL for your domain using Lets Encrypt.
If you are using Cloudflare, you need to set the SSL mode to **Full** in your Cloudflare account.
## **How to receive SSL?**
You can receive a **free SSL certificate** for your domain by using **Let's Encrypt** or **Cloudflare**. Follow the steps below to get an SSL certificate for your domain:
1. **Certbot:** You most likely have **Certbot** installed on your server. If not, you can install it by using the following command:
```bash theme={null}
sudo apt update
sudo apt install certbot python3-certbot-nginx -y
```
2. **Run Certbot:** After installing Certbot, you can run it by using the following command:
```bash theme={null}
sudo certbot --nginx
```
3. **Follow the instructions:** Certbot will ask you a few questions, such as your email address and domain name. Make sure to enter the correct information.
4. **Select the domain:** Certbot will automatically detect your domain name and ask you to select it. Make sure to select the correct domain name.
5. **Select the SSL option:** Certbot will ask you if you want to redirect HTTP traffic to HTTPS. Select the option to **redirect HTTP traffic to HTTPS**.
6. **Wait for the process to complete:** Certbot will automatically generate and install the SSL certificate for your domain. This process may take a few minutes.
7. **Check the SSL certificate:** After the process is complete, you can check if the SSL certificate is installed correctly by visiting your domain in a web browser. You should see a padlock icon in the address bar, indicating that the connection is secure.
If the SSL certificate installed but you still see the **Not Secure** message in your browser, you need to clear your browser cache and cookies by using **CTRL + SHIFT + R** or **CTRL + F5**.
## **How to renew SSL?**
You can renew the SSL certificate by using the following command:
```bash theme={null}
sudo certbot renew
```
# Changing Header Image
Source: https://docs.minestorecms.com/faq/how-to-update-header
Learn how to change the header image on your MineStoreCMS Default Theme. Follow the steps to update the header image.
## Introduction
We have provided a default header image for the MineStoreCMS Default Theme. You can change the header image to your custom image to give your webstore a unique look. Follow the steps below to change the header image on your webstore.
## Changing Header Image
To change the header image on your webstore, follow the steps below:
1. **Log in to Admin Panel**: Log in to your **Admin Panel**.
2. **Navigate to Theme Settings**: Navigate to the **Themes** tab and select the theme you want to edit.
3. **Scroll Down to Header Settings**: Scroll down to the **"Header Settings"** section.
4. **Upload Header Image**: Click on the **"Upload Header Background"** button to upload your custom header image.
5. **Save Changes**: Scroll a bit down and press the **"Save Changes"** button to apply the changes.
**Keep in mind!** Header image should be in **JPG** format (or other one if you have changed the header image format in the theme code) and it **takes up to 5 minutes** to update the header image on your webstore due **cache**.
# Images Aren't Updating
Source: https://docs.minestorecms.com/faq/my-logo-is-not-updating
Learn how to fix the issue when your logo and other images are not updating on your MineStoreCMS webstore. Follow issue solutions step by step.
## My Logo and other Images are not updating?
### Possible Issue: Browser Cache
If your logo and other images are not updating, it might be due to **browser cache**. Simply **clear your browser cache** by **pressing** the following keys: `Ctrl + F5`.
### Possible Issue: Cloudflare Cache
If your logo and other images are not updating, there might be a **Cloudflare Cache Issue**.
You can purge the Cloudflare cache by **following the steps below**:
1. Login to your **Cloudflare Account**.
2. Go to the **Caching > Configuration** tab.
3. Click on the **Purge Everything** button.
After purging the **Cloudflare Cache**, your logo and other images will be updated on the webstore.
### Possible Issue: File Permissions
If your logo and other images are still not updating after purging **Cloudflare Cache**, you can try to **reset default file permissions** by running the following commands in the terminal:
```bash theme={null}
cd /var/www/minestore
chown -R www-data:www-data .
chmod -R 755 .env storage/* bootstrap/cache public/img public/img/*
chown root updater
chmod u=rwx,go=xr,+s updater
chmod +x /var/www/minestore/frontend.sh
```
# Upgrading from 3.2.5 to 3.3.0
Source: https://docs.minestorecms.com/faq/upgrade-from-325-to-330
Learn how to upgrade your MineStoreCMS from version 3.2.1 to 3.3.0.
## Introduction
This **MineStoreCMS** version **3.3.0** is a **major release** that includes **new features**, **improvements**, and **bug fixes**. This guide will help you to **upgrade your webstore** from version **3.2.5** to **3.3.0**.
## New Global Features
The **MineStoreCMS 3.3.0** includes the following new features:
* **Discord Bot**: Sync your Discord server with your webstore to manage roles and permissions.
* **Discord OAuth**: Authenticate users using Discord OAuth to define which Discord ID belongs to which user.
* **Delivery System Improvements**: Improved delivery system for your package's commands. Now it takes less than 20 seconds to deliver a package.
* **Virtual Currency**: Now it is a separate payment method with completely reworked logic.
* **Pix Payment Gateway**: Now you can accept payments using Pix payment gateway.
* **Laravel 11**: The MineStoreCMS is now based on Laravel 11.
## Upgrade Steps
To upgrade your **MineStoreCMS** from version **3.2.1** to **3.3.0**, follow the steps below:
1. Run **Automatic Updater** from the **Admin Panel**. After that you would see **500 error**, it is **FINE**. Continue to the next step.
2. Install the **new dependencies** by running the following commands in the terminal:
```bash theme={null}
bash <(curl -s https://minestorecms.com/res/install_discord_bot.sh)
```
3. **Update the Theme** to the latest version: `Themes > Upgrade`.
4. Update the [**Minecraft Plugin**](https://minestorecms.com/plugin) to the latest version on each server. **Old versions are not compatible with the new version!!!**
5. Done! Your **MineStoreCMS** is now upgraded to version **3.3.0**.
## Troubleshooting
If you face any issues during the upgrade process, you can **contact our support team** for help. We are always here to help you with any issues you face during the upgrade process.
## Useful Links
Download the official MineStoreCMS plugin for your Minecraft server.
Learn how to sync your Discord server with your webstore to manage roles and permissions.
# Upgrading from 3.4.5 to 3.5.0
Source: https://docs.minestorecms.com/faq/upgrade-from-345-to-350
Learn how to upgrade your MineStoreCMS from version 3.4.5 to 3.5.0.
## Introduction
**MineStoreCMS** version **3.5.0** is a **major release** that includes **new features**, **improvements**, and **bug fixes**. This guide will help you to **upgrade your webstore** from version **3.4.5** to **3.5.0**.
## New Global Features
The **MineStoreCMS 3.5.0** includes the following new features:
* **PayNow Checkout**: A new payment gateway that provides **Full Chargeback Protection** and **Global Tax Compliance**. It allows you to accept payments from customers worldwide.
* **New Customers Module**: A new module that allows you to manage your customers more effectively. You can now view customer details, purchase history, subscriptions, chargebacks, and more.
* **Subscriptions Only Mode**: Specify only subscription packages to be available for purchase in your store. Without **"Regular Payment"** option at the same time.
* **Migration Tools**: Easily migrate from **Tebex** to **MineStoreCMS** with the new migration tools. This feature allows you to import your packages, categories, and packages from **Tebex** to **MineStoreCMS**.
* **Payments/Subscription UX Improvements**: Improved user experience for payments and subscriptions, making it easier for you to refund payments and close subscriptions directly from the dashboard.
* **Minor Improvements**: Such as improved **Default Theme**, **Refactored Important Controllers**, and **Bug Fixes**.
## Upgrade Steps
To upgrade your **MineStoreCMS** from version **3.4.5** to **3.5.0**, follow these steps:
1. Run **Automatic Updater** from the **Admin Panel**.
2. Install the **new dependencies** by running the following commands in the terminal:
```bash theme={null}
bash <(curl -s https://minestorecms.com/res/updater_v350.sh)
```
3. **Update the Theme** to the latest version: `Themes > Upgrade` **(KEEP IN MIND: IT WILL OVERWRITE YOUR CUSTOM CHANGES IN THE THEME!!!)**. If you have made custom changes to the theme, you will need to reapply them after the update.
4. Update the [**Minecraft Plugin**](https://minestorecms.com/plugin) to the latest version on each server.
5. Done! Your **MineStoreCMS** is now upgraded to version **3.5.0**.
6. Go to **Themes** tab and upgrade your theme to the latest version. If you have made custom changes to the theme, you will need to reapply them after the update since your previous theme will be overwritten with the new one.
**Important**: Before proceeding with the upgrade, make sure to **backup your theme** since the upgrade will overwrite your current theme files.
### Upgrade Script Guide
The upgrade script is designed to automate the upgrade process and ensure that all necessary changes are applied to your **MineStoreCMS** installation.
After running the upgrade script by executing the command (run by using `root` user or `sudo`):
```bash theme={null}
bash <(curl -s https://minestorecms.com/res/updater_v350.sh)
```
1. Enter your site path (e.g., `/var/www/minestore`) where your **MineStoreCMS** is installed. If you didn't change the default path, you can leave it empty and press **Enter**.
2. The script will check for the **MineStoreCMS** installation and prompt you to confirm the upgrade. Type `Y` and press **Enter** to proceed with the upgrade.
3. It will ask you for composer dependency installation. Press **Enter** to install the required dependencies.
4. The script will then proceed to update the database schema, clear the cache, and perform any other necessary updates.
5. Follow other installation instructions and read the results.
6. Once the upgrade is complete, you will see a success message indicating that your **MineStoreCMS** has been successfully upgraded to version **3.5.0**.
### Updating Nginx Configuration
You need this step **only if you received a warning about Nginx configuration failure** during the upgrade process.
Automatic updater will also update your **Nginx** configuration to ensure that it is compatible with the new version of **MineStoreCMS**. But if during the upgrade you face any issues with the Nginx configuration, you can manually update it by following these steps:
1. Open your Nginx configuration file for your webstore (usually located at `/etc/nginx/sites-enabled/minestore.conf`).
2. Add the following lines to the `location /` block, so it might look like this:
```nginx theme={null}
location / {
if ($limit = 0) {
set $limit_req_zone "";
}
proxy_pass http://localhost:3000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
```
3. Same for `location /_next/static/` and `location /static` blocks, so it might look like this:
```nginx theme={null}
location /_next/static {
#proxy_cache STATIC;
proxy_pass http://localhost:3000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
location /static {
#proxy_cache STATIC;
proxy_ignore_headers Cache-Control;
proxy_cache_valid 60m;
proxy_pass http://localhost:3000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
```
### Troubleshooting
If you face any issues during the upgrade process, you can **contact our support team** for help. We are always here to help you with any issues you face during the upgrade process.
## Useful Links
Download the official MineStoreCMS plugin for your Minecraft server.
Learn how to migrate from Tebex to MineStoreCMS using the new Migration Tools.
# Admin Profile
Source: https://docs.minestorecms.com/features/admin-profile
Learn how to protect your admin profile with a password and two-factor authentication.
## Introduction
You need to always keep your store **secure and protect** your admin profiles from **unauthorized access**. You can protect your admin profile with a **password** and **two-factor authentication**.
**Each Admin (Team) Profile** need to have a **password** and very recommended to have **two-factor authentication** enabled.
## Changing Account Password
1. Go to the **Account Settings** tab in the top-right corner of the navigation bar.
2. Enter your **current password** and **new password**.
3. Click on the **Save Changes** button to save the new password.
## Enabling Two-Factor Authentication
1. Go to the **Account Settings** tab in the top-right corner of the navigation bar.
2. Click on the **Enable Two-Factor Authentication** button.
3. Scan the **QR code** with your **Google Authenticator** app - [iOS](https://apps.apple.com/us/app/google-authenticator/id388497605) or [Android](https://play.google.com/store/apps/details?id=com.google.android.apps.authenticator2).
4. Enter the **6-digit code** from the **Google Authenticator** app (or any other authenticator app) in the **Two-Factor Authentication Code** field.
5. Click on the **Continue** button to enable it.
6. Press the **Save Changes** button to save the changes.
# Announcements
Source: https://docs.minestorecms.com/features/announcement
You can create and manage announcements to inform your users about important updates, promotions, or events.
## **Introduction**
The **Announcements** feature allows you to create and manage announcements to inform your users about **important updates, promotions, or events**. Announcements are displayed on the webstore homepage, making them highly visible to your users. You can customize the content, appearance, and duration of each announcement to suit your needs by using **WYSIWYG editor**.
## **Managing Announcement**
To manage announcements, follow the steps below:
1. Log in to your **Admin Panel**.
2. Navigate to the **Announcement** tab.
3. Disable or enable announcements by toggling the switch.
4. Edit the announcement content by filling in the **Title**, **Content** and other optional fields.
5. Press **Save** to apply the changes.
Announcements are useful to promote sales, events, or updates to your users.
# Categories
Source: https://docs.minestorecms.com/features/categories
Categories are used to organize your packages into different sections. You can create categories for different types of packages like ranks, items, or permissions. You can also create subcategories to further organize your packages.
## **What are Categories?**
Categories are used to organize your packages into different sections. You can create categories for different types of packages like ranks, items, or permissions. You can also create subcategories to further organize your packages.
## **Creating Categories**
To create a **new category**, follow the steps below:
Navigate to the **Admin Panel** of your application.
Click on the **Packages** tab to access the package management area.
Press the **+ Add New** button and select **Category** from the dropdown menu.
Complete the following fields:
* **Name**: Enter the name of the category.
* **Description**: Add a description of the category (optional).
* **Image**: Upload an image for the category (optional).
* **Category URL**: Specify the URL for the category (e.g., `ranks`).
* **Display Type**: Choose how the category will be displayed (e.g., `grid`, `comparison`, or `listing`).
* **Advanced Settings**: Decide if the category should be hidden from the webstore, if it should be a subcategory, or if it should cumulate purchases within the category so customers pay only the difference when buying a higher-priced package.
Press the **Save** button to create the new category.
## **Category Display Types**
Categories can be displayed in different ways on your webstore. You can choose any style that suits your webstore design.
### **Grid Cards** (default)
The **Grid Cards** display type shows the categories as cards with an image and a title. This style is suitable for categories with a large number of packages.
### **Comparison Table**
The **Comparison Table** display type shows the categories in a table format. This style is suitable for categories with a small amount of packages.
Add a **Comparison Options** field to categories to enable the comparison table. This allows you to compare the packages included in each category.
### **Listing**
The **Listing** display type shows the categories as a list with an image and a title. This style is suitable for categories with a medium number of packages.
# Account Authorization
Source: https://docs.minestorecms.com/features/classic-auth
You can enable the "Classic Auth" feature to ensure that the player has created an account on the webstore or your Minecraft server.
This feature is **optional** and can be enabled or disabled based on your requirements. This feature also good as the proof **against chargebacks** and ensures that the player has created an account on the webstore or your Minecraft server.
## Introduction
**Registration/Authorization** is a great way to verify the player's identity before logging in to the webstore. You can enable this feature to **prevent unauthorized access** to the webstore and ensure that only the player who owns the Minecraft account can log in.
## How to Enable Classic (Register/Authorization) Auth
1. Login to your **Admin Panel**.
2. Open the **Settings** tab in the sidebar.
3. Go to the **Settings > Authorization Settings** tab in the sidebar.
4. Select **Authorization Type** as **"Register/Authorization"**.
5. **Save Changes**.
## Syncing Minecraft Accounts with Webstore Accounts
### AuthMe Reloaded
Currently, the **Classic Auth** feature supports the **AuthMe Reloaded** plugin to sync webstore accounts with Minecraft accounts. To enable this feature, follow these steps:
1. Install the **AuthMe Reloaded** plugin on your Minecraft server.
2. Open the **AuthMe Reloaded** configuration file (`config.yml`) and set the following options:
```
DataSource:
backend: MYSQL
caching: false
mysqlHost: REPLACE_WITH_HOST_IPV4
mysqlPort: 3306
mysqlUseSSL: false
mysqlUsername: REPLACE_WITH_USERNAME
mysqlPassword: REPLACE_WITH_PASSWORD
mysqlDatabase: minestore (or your database name)
mysqlTablename: authme_accounts
```
3. Make sure to replace the `REPLACE_WITH_HOST_IPV4`, `REPLACE_WITH_USERNAME`, and `REPLACE_WITH_PASSWORD` with your MySQL database credentials.
4. Save the changes and restart your Minecraft server.
Keep in mind, you have to use the **same MySQL database** for both the **AuthMe Reloaded** plugin and **MineStoreCMS** to sync the accounts correctly.
**Note**: Make sure to open external access to your MySQL database for the **AuthMe Reloaded** plugin to connect to it. You can do this by allowing the IP address of your Minecraft server in your MySQL database settings.
### Reset Password
To let your users reset the password, you have to configure **"SMTP Settings"** in the **Settings > SMTP Settings** tab in the sidebar.
Configure the SMTP settings to allow your users receive emails for password reset, purchase notifications, and more.
# Cumulative Packages
Source: https://docs.minestorecms.com/features/cumulative-categories
You can enable the "Cumulative Packages" feature to offer discounts to users based on the packages they have previously purchased.
## Introduction
When creating or editing a category, you can enable the **"Cumulative Packages"** feature. This option allows you to offer discounts to users **based on the packages they have previously purchased**.
### **Example**
Imagine your store has three ranks:
* **Rank A:** 10 USD
* **Rank B:** 20 USD
* **Rank C:** 30 USD
If a player named "example" purchases **Rank A**, the next time they visit your store, they will see:
* **Rank A:** Unavailable
* **Rank B:** ~~20 USD~~ **10 USD**
* **Rank C:** ~~30 USD~~ **20 USD**
This way, the player can upgrade their rank without paying the full price again.
### **Respecting Sales**
Consider two packages:
* **Rank A:** 10 USD
* **Rank B:** 20 USD
If a user buys **Rank A** for 10 USD, it essentially acts as a 10 USD credit. Now, if you apply a 50% discount to **Rank B**, reducing its price to 10 USD, the user can upgrade to **Rank B** for free. The 10 USD they initially spent on **Rank A** is credited back, allowing them to purchase **Rank B** without additional cost.
### **How to Enable Cumulative Packages**
To enable this feature:
1. **Select and edit** a category.
2. In the **Advanced Settings** section, check the **Cumulate the purchases inside of this category so customers only pay the difference when purchasing a higher priced package.** box.
3. **Save the changes**.
**Subscriptions do not support cumulative packages**. If you plan to offer subscriptions, this feature cannot be enabled for the category.
# Custom Pages
Source: https://docs.minestorecms.com/features/custom-pages
You can create custom pages to display additional information on your webstore such as Terms of Service, Privacy Policy, or Contact Us.
## Introduction
The **Custom Pages** feature allows you to create custom pages to display additional information on your webstore. You can create pages such as **Terms of Service**, **Privacy Policy**, **Contact Us**, or any other page that you want to add to your webstore.
You can **customize the content** of each page by adding text, images, videos, or any other media. The Custom Pages feature provides you with a **flexible way** to add new pages to your webstore and **enhance the user experience**.
## How to Create a Custom Page?
1. Log in to your **Admin Panel**.
2. Navigate to the **CMS Settings > Custom Pages** tab.
3. Click on the **+ Add Page** button.
4. Fill in the required fields:
* **Page Name**: Enter the title of the custom page.
* **Page URL**: Enter the URL of the custom page (e.g., `terms-of-service`).
* **Page Content**: Add the content of the custom page using the **WYSIWYG editor**.
5. Press **Save** to create the custom page.
## How to add a Custom Page to the Header or Footer?
To add a custom page to the **Header** or **Footer** of your webstore, you need make a link to the custom page. Follow the guide below to add a link to the custom page:
Detailed guide on how to add a link to your webstore.
# Banlist
Source: https://docs.minestorecms.com/features/customers/banlist
Banlist is a feature that allows you to ban a customer from your store.
## Banlist
**Banlist** is a feature that allows you to ban a customer from your store. You can **ban a customer by username or IP address**.
When a customer is **banned**, they **will not be able** to place orders on your store.
## How to Ban a Customer
1. Go to **Customers** > **Banlist**.
2. Click **Ban a New User**.
3. Enter the **username** or **IP address** (`IPv4` or `IPv6`) of the customer you want to ban.
4. Enter the **reason** for banning the customer (optional).
5. Click **Ban User**.
## How to Remove a Customer from Banlist
1. Go to **Customers** > **Banlist**.
2. Find the customer you want to unban.
3. Click **Delete Icon**.
# Whitelist
Source: https://docs.minestorecms.com/features/customers/whitelist
Whitelist is a feature that allows you to whitelist a customer in your store.
## Whitelist
**Whitelist** is a feature that allows you to whitelist a customer in your store. You can **whitelist a customer by username or IP address**.
When a customer is **whitelisted**, they **will be able** to place orders on your store no matter what chargeback rate they have.
## How to Whitelist a Customer
1. Go to **Customers** > **Whitelist**.
2. Click **Whitelist a New User**.
3. Enter the **username** or **IP address** (`IPv4` or `IPv6`) of the customer you want to whitelist.
4. Enter the **reason** for whitelisting the customer (optional).
5. Click **Whitelist User**.
## How to Remove a Customer from Whitelist
1. Go to **Customers** > **Whitelist**.
2. Find the customer you want to unwhitelist.
3. Click **Delete Icon**.
# Discord Bot
Source: https://docs.minestorecms.com/features/discord-bot
Sync your Discord server with your webstore to manage roles and permissions.
## Introduction
This is a relatively new feature that allows you to **sync** your **Discord server** with your webstore **to manage roles and members**. By setting up the **Discord Bot**, you can automatically **assign roles** to users based on their purchases.
This bot is in-built with the **MineStoreCMS** and can be enabled in the **Discord Settings** section. You can configure the bot to **sync roles** and **manage permissions** for your Discord server. This bot is written on the **Laravel (PHP)** and uses the **Discord API** to interact with your **Discord server**.
**MineStoreCMS** supports **Discord Bot** feature since version 3.2.5. You need also have a compatible components of the template (default theme includes it by default).
## Features
The **Discord Bot** allows you to:
* **Sync Roles**: Automatically assign roles to users based on their purchases.
* **Discord OAuth**: Authenticate users using Discord OAuth to define which Discord ID belongs to which user.
* **Manage Permissions**: Manage permissions for users based on their roles in Discord.
## Setting Up Discord Bot
### Step 1: Create Discord Application
1. Go to the [Discord Developer Portal](https://discord.com/developers/applications).
2. Click on **"New Application"**.
3. Enter the **Application Name** and click on **"Create"**.
### Step 2: Configure Redirect URL
1. Go to the **OAuth2** section in the sidebar menu.
2. Click on **"Add Redirect"**.
3. Enter the **Redirect URL**. Example: `https://store.com/api/auth/discord/callback`.
4. Press **"Save Changes"**.
### Step 3: Get Client ID and Client Secret
1. Go to the **OAuth2** section in the sidebar menu.
2. Find the **Client information** section.
3. Copy the **Client ID** and **Client Secret** (by resetting the secret).
### Step 4: Configure Discord Bot
1. Go to the **Bot** section in the sidebar menu.
2. Set the **Bot Username** and **Avatar**.
3. Scroll down and enable **"Server Members Intent"** option.
4. Scroll up and copy the **Token**.
### Step 5: Invite Bot to Your Discord Server
1. Go to the **OAuth2** section in the sidebar menu.
2. Scroll down to the **OAuth2 URL Generator**.
3. Select the **"Bot"** scope.
4. Select the **"Administrator"** permission or permissions as below (recommended):
* **Manage Roles**
* **View Channels**
* **Send Messages**
* **Read Message History**
5. Copy the generated URL and open it in your browser.
6. Select the **Discord server** where you want to invite the bot.
7. Press **"Authorize"**.
### Step 5: Configuring Discord Integration in Admin Panel
1. Log in to your **Admin Panel**.
2. Go to the **Discord Settings** section.
3. Enter the [Webhook URL](/features/settings/discord-settings#how-to-create-a-discord-webhook) and [Server ID](/features/settings/discord-settings#how-to-get-discord-server-id).
4. Enter the **Client ID**, **Client Secret**, and **Bot Token** that you obtained from the Discord Developer Portal.
5. Enable the **Discord Bot** feature.
6. Press **Save** to apply the changes.
7. **Done!** Your Discord Bot is now set up and ready to sync roles and permissions.
## Role Syncing
The **Discord Bot** automatically parses the **Discord Server** for existing roles and syncs them with the **MineStoreCMS**.
When a user makes a purchase on your webstore, the **Discord Bot** assigns the corresponding role to the user on your **Discord server**. This allows you to manage roles and permissions for users based on their purchases.
## Package Setup
You can configure which **packages** should be assigned to which **Discord roles** in the **Packages** section of the **Admin Panel**.
Configure which packages should be assigned to which Discord roles.
## Bot Debugging
If you encounter any issues, you can **manually** run it by using the following command:
```bash theme={null}
cd /var/www/minestore
php artisan discord:run
```
You also can check the **logs** by running the following command:
```bash theme={null}
tail -f /var/log/minestore_discord-bot.log
```
# Coupons
Source: https://docs.minestorecms.com/features/discounts/coupons
Create and manage coupons to offer discounts to your customers.
## Introduction
**Coupons** are a great way to offer discounts to your customers. You can create coupons with a **fixed amount** or a **percentage discount**. You can also set the **minimum order amount** required to use the coupon and **limit the number of times** a coupon can be used.
## Creating a Coupon
Go to the **Discounts > Coupons** tab in the sidebar.
Click on the **"+ Create a Coupon"** button.
Fill in the coupon details like the **name**, **discount type**, **discount**, **max uses**, **redeem limit**, **minimum basket value**, **apply coupon to**, **note** and **publish/expire date**.
Click on the **"Create a Coupon"** button to create the coupon.
### Discount Types
There are two types of discounts you can offer with coupons:
1. **Percentage Discount**: A percentage discount on the total order amount.
If user purchases a product worth 70 USD and you have set a 10% discount, the user will get a discount of 7 USD. Total amount to be paid by the user will be 63 USD.
2. **Fixed Amount Discount**: A fixed amount discount on the total order amount.
If user purchases a product worth 70 USD and you have set a 10 USD discount, the user will get a discount of 10 USD. Total amount to be paid by the user will be 60 USD.
### Usage Limits
You can set **Max Uses** and **Redeem Limit** for the coupon.
1. **Max Uses** is the total number of times the coupon can be used.
2. **Redeem Limit** is the number of times a single user can use the coupon.
### Minimum Basket Value
You can set the **minimum basket value** required to use the coupon. The coupon will be applied only if the **basket value is greater than or equal** to the **minimum basket value**.
**Default** value is `0`, so the coupon **can be applied to any order**.
### Apply Coupon To
You can set the **apply coupon to** field to apply the coupon to specific groups of products.
There are **three options**:
The coupon will be applied to the whole webstore.
The coupon will be applied to specific categories.
The coupon will be applied to specific packages.
### Note (Optional)
You can add a note to the coupon. The note will be displayed only to the admin and will not be visible to the customers.
### Publish/Expire Date
You can set the **publish date** and **expire date** for the coupon. The coupon will be active only between these dates.
Webstore will **automatically expire** the coupon after the **expire date** based on the **Server Time** and **MySQL Time**.
# Gift Cards
Source: https://docs.minestorecms.com/features/discounts/giftcards
Create and manage gift cards to offer discounts to your customers in the form of a gift card.
## Introduction
**Gift Cards** are a great way to offer discounts to your customers in the form of the wallet balance. Your customers can use the gift card balance to purchase products from your store. You can also sell gift cards to your customers.
## Creating a Gift Card
Go to the **Discounts > Gift Cards** tab in the sidebar.
Click on the **"+ Create a Gift Card"** button.
Fill in the gift card details like the **gift card name**, **value**, **expire date** and **note**.
Click on the **"Create a Gift Card"** button to create the gift card.
### Gift Card Name (Identifier)
You can set the **name** of the gift card. The name of the gift card will be used to identify the gift card during **checkout** process.
### Gift Card Value
You can set the **value** of the gift card. The value of the gift card will be stored on the gift card and can be used by the customer to purchase products from your store.
### Expire Date
You can set the **expire date** of the gift card. The gift card will be **invalidated** after the expiration date.
The gift card will be **invalidated** after the expire date based on the **Server Time** and **MySQL Time**.
### Note
You can set the **note** for the gift card. The note will be displayed to admin only and will not be visible to the customer.
## Selling a Gift Card
You can sell the gift card to your customers. The customer will receive an email with the gift card details after the purchase.
There are **two guides** to help you with the **selling of gift card**:
Here is detailed guide on how to configure SMTP to send emails to your customers.
Here is detailed guide on how to configure package to sell the gift card.
You need to have **SMTP** configured to send the gift card email to the customer.
# Sales
Source: https://docs.minestorecms.com/features/discounts/sales
Create and manage sales to offer global and automatic discounts for specific packages or categories.
## Introduction
**Sales** are a great way to offer global and automatic discounts to your customers. You can create sales to offer discounts on specific packages or categories. The sales will be applied automatically to the products that match the criteria.
## Creating a Sale
Go to the **Discounts > Sales** tab in the sidebar.
Click on the **"+ Create a Sale"** button.
Fill in the sale details like the **name**, **discount**, **apply sale to**, **minimum basket value** and **start/end date**.
You can configure the announcement settings to display a message on the webstore when the sale is active.
You can setup global commands to execute when the sale is active. The global commands will be executed automatically with every purchase during the sale.
Click on the **"Create a Sale"** button to create the sale.
### Apply Sale To
You can set the **apply sale to** field to apply the sale to specific groups of products.
The coupon will be applied to the whole webstore.
The coupon will be applied to specific categories.
The coupon will be applied to specific packages.
After selecting the **apply sale to** field, you can select the **categories** or **packages** to apply the sale to.
### Minimum Basket Value
You can set the **minimum basket value** required to use the sale. The sale will be applied only if the **basket value is greater than or equal** to the **minimum basket value**.
**Default** value is `0`, so the sale **can be applied to any order**.
### Start / End Date
You can set the **start** and **end date** for the sale. The sale will be **active** between the start and end date.
The sale will be **active** based on the **Server Time** and **MySQL Time**.
## Setting Up Announcement
You can configure the announcement settings to display a message on the webstore when the sale is active.
1. Enable **"Make an announcement of the sale"** option.
2. **Enter following details**:
* **Title**: Enter the title of the announcement.
* **Content**: Enter the description of the announcement.
* **Button Text**: Enter the button text for the announcement (Optional).
* **Button URL**: Enter the button URL for the announcement (Optional).
## Adding Custom Commands
You can setup custom commands to execute when the sale is active. The custom commands will be executed automatically with every purchase during the sale.
1. Scroll down to the **Custom Commands** section.
2. Click on the **"+ Add a Custom Command"** button.
3. **Enter following details**:
* **Package**: Select the package to execute the command after purchase.
* **Servers**: Select the servers to execute the command.
* **Command**: Enter the command to execute.
This feature is useful only for **specific packages** that require additional commands to be executed after purchase. For all packages, you can use the [Global Commands](/features/global-commands) feature.
### Available Variables
| **Variable** | **Meaning of the Variable / Replaces With** |
| ---------------- | ------------------------------------------- |
| `{username}` | User nickname |
| `{package_name}` | Package name |
| `{price}` | Package price |
| `{currency}` | Currency |
| `{coupon}` | Used coupon |
| `{uuid}` | UUID (Universally Unique Identifier) |
| `{time}` | Command execution time |
| `{date}` | Command execution date |
| `{customerIP}` | Customer IP |
| `{server}` | Server name |
# Donation Goals
Source: https://docs.minestorecms.com/features/donation-goals
You can create and manage donation goals to set targets and encourage donations from your customers.
## Introduction
**Donation Goals** are a great way to set targets and encourage donations from your customers. You can create **donation goals to raise funds** for a cause or charity. The donation goals will be displayed on the **donation page** of your webstore. It motivates customers to donate more and helps you achieve your fundraising targets.
You can create **multiple donation goals** and **track the progress** of each goal. It helps you to set targets and motivate customers to donate more.
**However, you can display only one donation goal at a time on the donation page.**
## Adding Donation Goal
Go to the **Donation Goals** tab in the sidebar.
Click on the **Create a Donation Goal** button to add a new donation goal.
Set the **name** for the donation goal to display on the homepage.
Set the **current amount** collected for the donation goal (by default, it is set to `0`).
Set the **goal amount** to achieve for the donation goal.
Click on the **Save** button to save the donation goal.
## Executing Global Commands when a Donation Goal is Reached
### Adding Global Commands
You can configure and execute **global commands** when a donation goal is reached. It allows you to trigger specific actions or events when a donation goal is achieved. You can set up **global commands** to send notifications, update the website, or perform any other action when a donation goal is reached.
**How to add global commands:**
1. Select **"Execute Global Commands when donation goal hits 100%"** option.
2. Select **servers** on which you want to execute the global commands.
3. Add **commands** that you want to execute when the donation goal is reached.
4. Click on the **Save** button to save the donation goal settings.
### Available Variables
| **Variable** | **Meaning of the Variable / Replaces With** |
| ----------------------- | ---------------------------------------------- |
| `{goal}` | Donation goal name |
| `{current_amount}` | Current amount |
| `{goal_amount}` | Total goal amount |
| `{reached_at}` | Goal reached date and time (YYYY-MM-DD H:i:s) |
| `{automatic_disabling}` | Is goal automatic disabling? (0 - NO, 1 - YES) |
| `{time}` | Command execution time |
| `{date}` | Command execution date |
# Featured Deals
Source: https://docs.minestorecms.com/features/featured-deals
You can create and manage featured deals to showcase packages on the home page.
## Introduction
**Featured Deals** are a great way to showcase packages on the home page. You can create **featured deals to highlight packages** and offer discounts to your customers. The featured deals will be displayed on the **home page** of your webstore.
## Configuring Featured Deals
1. **Go to Featured Deals**: Go to the **Featured Deals** tab in the sidebar.
2. **Enable Module**: Enable the **Featured Deals** module.
3. **Select Packages**: Select the packages you want to showcase as featured deals from the **dropdown**.
4. **Save Changes**: Click on the **Save** button to save the featured deals.
# Anomaly Detection
Source: https://docs.minestorecms.com/features/fraud/anomaly-detection
Automatically detect unusual patterns in revenue, transactions, geography, products and timing — and email the right admins when something stands out.
## **Introduction**
The **Anomaly Detection** module watches your store and flags **unusual patterns** in real time. It runs **every hour** on a schedule and writes any findings to a dedicated log that admins can review and resolve.
When an anomaly is detected, the platform automatically **emails every admin** who has opted in to notifications, and surfaces the same finding in the in-app notification bell.
No configuration is required — anomaly detection runs out of the box on every install. You only need to **opt admins in to email notifications** if you want alerts in your inbox.
## **What Gets Detected**
| **Anomaly Type** | **Trigger** |
| ------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Revenue Drop** | Today's revenue is **30% or more below** the average of the previous 7 days. |
| **Revenue Surge** | Today's revenue is **200% or more above** the average of the previous 7 days. |
| **Transaction Velocity** | The number of transactions in the last hour is **5× or more** the hourly average over the past 7 days. |
| **Geographic Anomaly** | A country with no recent activity suddenly shows ≥3 transactions, or a known country shows **3× or more** its daily average. |
| **Product Anomaly** | A new product gets ≥5 sales in a day with no historical sales, an existing product sees **3× or more** its daily average, or a top-seller (avg ≥3/day) gets zero sales today. |
| **Time Anomaly** | 10 or more transactions occur between **02:00 and 06:00** — outside normal buying hours. |
### Severity Levels
Each finding is automatically classified by how far it deviates from the baseline:
| **Severity** | **Used for** |
| ------------ | ----------------------------------------------------------------------------------------- |
| **Critical** | Revenue drops of 70% or more. |
| **High** | Revenue drops of 50–70%, large product/geographic surges, transaction velocity spikes. |
| **Medium** | Smaller-but-meaningful deviations, late-night activity, new countries with modest volume. |
| **Low** | Reserved for future detectors. |
## **Enabling Email Notifications for an Admin**
To receive email alerts when an anomaly is detected:
Click on the **Admin Panel**.
Navigate to the staff list where admin accounts are managed.
Open the admin's profile and make sure their **email address** is set.
Toggle **Enable Email Notifications** on for that admin.
Click **Save**.
Only admins with **both** an email address and the **Enable Email Notifications** flag receive anomaly emails. The in-app notification bell receives the same alerts regardless of the email flag.
## **Reviewing Anomalies**
To review detected anomalies:
Click on the **Statistics** tab in the sidebar.
Open the **Anomalies** sub-section.
Each anomaly shows its **type**, **severity**, a **description** comparing today's value against the historical baseline, and the **raw numbers** that triggered it.
Use the actions on the anomaly's detail page to move it to **Resolved** or **False Positive**, or leave it in **Investigating** while you dig in.
### Anomaly Statuses
| **Status** | **Meaning** |
| ------------------ | --------------------------------------------------------------------- |
| **Open** | Newly detected; nobody has reviewed it yet. |
| **Investigating** | An admin is actively looking at the finding. |
| **Resolved** | Cause was identified and the issue is closed. |
| **False Positive** | The pattern is benign (e.g. a planned promotion explained the surge). |
## **Running the Detection Manually**
The scheduler runs anomaly detection **every hour** automatically. To trigger a run manually (e.g. while testing), execute the artisan command:
```bash theme={null}
php artisan analytics:detect-anomalies
```
Manually running the detector creates **real** anomaly records (and may send real emails) — it is not a dry run. Use it only when you intend to flag findings for the current state of the store.
## **Quiet Periods**
The detectors are designed to fail quiet:
* A revenue drop is **not** flagged on a fresh store with no historical baseline.
* A product surge requires at least **5 sales** to be flagged.
* A geographic surge requires at least **3 sales** from a new country (or 5 from an existing one).
* A transaction velocity spike requires at least one transaction in the past 7 days as a baseline.
This avoids spamming admins during low-traffic launch periods.
# Chargeback Prevention
Source: https://docs.minestorecms.com/features/fraud/chargeback-prevention
Learn how to prevent chargebacks by setting up trigger blocks and preventing potentially fraudulent transactions.
## **Introduction**
**Chargeback Prevention** is a feature that allows you to prevent chargebacks by setting up trigger blocks and preventing potentially fraudulent transactions. You can configure trigger blocks based on various criteria, such as the number of transactions, the amount of the transaction, the payment method, and more.
We use **Artificial Intelligence** to detect potentially fraudulent transactions and prevent chargebacks by collected data across all transactions were made across MineStoreCMS Network.
## Chargeback Prevention Overview
**MineStoreCMS** allows you to set up custom values for the trigger blocks to prevent chargebacks. You can configure the following trigger blocks:
* **Chargeback Threshold**: Set the maximum chargeback-rate percentage allowed for a user.
* **Chargeback Time Period**: Set the time period for the chargeback rate calculation.
* **Username Threshold Blocker**: Deny customers from making transactions if they exceed chargeback threshold.
* **IP Address Threshold Blocker**: Deny transactions from IP addresses that exceed the chargeback threshold.
* **Chargeback Value Bypass**: Allow customers to check out if the total value of their chargebacks is less than X% of the value of their total purchases.
* **Local Ban Chargeback Threshold**: Automatically ban customers who made **X** chargebacks on your webstore.
**Default Settings** are the recommended settings for the Chargeback Prevention feature. You can adjust these settings based on your requirements.
# Chargebacks
Source: https://docs.minestorecms.com/features/fraud/chargebacks
Learn how to manage chargebacks and increase your chances of winning disputes.
## **Introduction**
**Chargebacks** are a common issue for **Minecraft webstores**. A chargeback occurs when a customer disputes a transaction with their bank or credit card company. Chargebacks can be **costly for businesses**, as they result in lost revenue and **additional fees**.
**MineStoreCMS** provides tools to help you manage chargebacks and increase your chances of winning disputes. You can view and manage chargebacks in the **Chargebacks** section of the **Admin Panel**.
There, you can view detailed information about each chargeback, including the **transaction ID, amount, status, and reason**.
**MineStoreCMS** does not handle chargebacks instead of you. We provide tools to help you manage chargebacks and increase your chances of winning disputes.
Our **tools** and **advices** helped **server owners** to win **90%** of disputes and **prevent** over 3000 potentially fraudulent transactions.
## Chargebacks
### Chargebacks List
The **Chargebacks** list displays all chargebacks made on your webstore. You can access the **Chargeback List** by navigating to the **Fraud > Chargeback List** tab in the **Admin Panel**.
**Chargebacks** handling available only for **PayPal IPN**, **Stripe**, and **Skrill** payment gateways.
### **Chargeback Details**
You can select a chargeback from the **Chargebacks** list to view detailed information about the chargeback. The **Chargeback Details** provide information that can help you understand the reason for the chargeback and take appropriate action.
Following information is available in the **Chargeback Details**:
* **Dispute ID**: Unique identifier for the chargeback dispute.
* **Status**: Current status of the chargeback (e.g., **Chargeback**, **Closed**, **Won**, **Lost**).
* **Payment Gateway**: Payment gateway used for the transaction (e.g., **PayPal IPN**, **Stripe** or **Skrill**).
* **Creation Date**: Date and time when the chargeback was created.
* **Username**: Username of the buyer.
* **UUID**: Unique identifier for the buyer.
* **IP Address**: IP address of the buyer.
* **Reason**: Reason provided by the buyer for the chargeback.
* **Chargeback Status**: Current status of the chargeback (e.g., `needs_response`, `won`, `lost`).
* **Case ID**: Unique identifier for the chargeback case.
* **Case Type**: Type of the chargeback case (e.g., `dispute`, `chargeback`).
### **Generating Evidence**
To increase your chances of winning a chargeback dispute, you need to provide **evidence** to support your case.
**MineStoreCMS** automatically collecting all data and building you a PDF file that includes and confirms intentions of user complete purchase.
You can generate evidence by clicking on the **Generate Evidence** button in the **Chargeback Details**. The evidence will be generated as a PDF file that you can submit to the payment gateway to support your case.
We won't mention what we include in the PDF file here, but you can check it by yourself :)
**Evidence** is generated automatically by **MineStoreCMS** and includes all necessary information to support your case. However, we recommend reviewing the evidence before submitting it to the payment gateway and explaining the situation in your own words.
### How I can increase my chances of winning a dispute?
1. **Provide Evidence**: Make sure to provide evidence to support your case. **MineStoreCMS** automatically generates evidence for you, but we also **recommend adding additional information** to support your case.
2. **Attach Screenshots**: If you have any additional information or screenshots (i.e. `Commands History`) that can help support your case, make sure to attach them to the evidence.
3. **Explain the Situation**: Provide a detailed explanation of the situation and why you believe the chargeback is invalid. Be sure to include any relevant information that can help support your case.
4. **Authorize Clients**: If you have In-Game Authorization enabled, make sure to mention that in your response to the chargeback dispute. This can help demonstrate that the buyer authorized the transaction.
Learn more about **Commands History** to operate with chargebacks and use it in disputes.
Learn how to enable **In-Game Authorization** to prevent chargebacks and authorize clients.
# IP Checking
Source: https://docs.minestorecms.com/features/fraud/ip-checking
Learn how to enable the IP Checking module to prevent fraud by checking the IP address of the buyer.
## **Introduction**
The **IP Checking** module allows you to **validate** that the user\`s IP matches the **billing address** entered. Also, you can **block** specific countries for accessing your webstore to prevent fraud.
## **Enabling IP Checking**
To enable the **IP Checking** module, follow the steps below:
1. Navigate to the **Fraud > IP Checking** tab in the **Admin Panel**.
2. Toggle the **GEO-IP Address Verification** switch to enable the module.
3. Make sure that [Collecting Data](/features/transactions/collecting-data) module is enabled to collect the IP address of the buyer.
4. **Save** the changes.
Learn how to enable the **Collecting Data** module to collect additional information during checkout.
## Blocking Specific Countries
You can block specific countries from accessing your webstore to prevent fraud. To block a country, follow the steps below:
1. Navigate to the **Fraud > IP Checking** tab in the **Admin Panel**.
2. Scroll down to the **Blocked Countries** section.
3. Select the countries you want to **block** from the **dropdown list**.
4. **Save** the changes.
**Blocked countries** will be **redirected** to the **blocked page** when they try to access your webstore.
# Spending Limit
Source: https://docs.minestorecms.com/features/fraud/spending-limit
Set up spending limits for your customers to prevent fraud for anomalous big transactions.
## Introduction
**Spending Limit** is the amount a **customer** can spend on your webstore in a specified period of time.
This feature is disabled by default to do not make it confusing for big customers. You can enable it in the **Admin Panel**.
## **Setting Up Spending Limit**
You can set up **Spending Limits** for your customers to prevent fraud for anomalous big transactions.
To set up a spending limit, follow the steps below:
Click on the **Admin Panel**.
Click on the **Fraud > Spending Limit** tab to access the spending limit management area.
Fill in the **required fields**:
* **Amount**: Configure the amount of the spending limit.
* **Period**: Select the period for the spending limit.
Click on the **Save** button to save the changes.
# Global Commands
Source: https://docs.minestorecms.com/features/global-commands
Global Commands is the way how you can run same command everytime when purchase is made.
## Introduction
**Global Commands** are a great way to run the same command every time a purchase is made. You can add **global command** once to this module and it will be executed every time a purchase is made.
**Note**: You can also configure **price conditions** for the global commands to run only when the price conditions are met.
## Enabling Global Commands
1. Go to the **Global Commands** tab in the sidebar.
2. Enable the **Global Commands** module.
3. Click on the **Add A New Global Command** button to add a new global command.
4. Configure the command you want to run every time a purchase is made.
* **Command**: Enter the command you want to run.
* **Select Servers To Run The Command**: Select the servers on which you want to run the command.
* **Online Check**: You can enable the **Check if the user is online?** option to run the command only when the user is online.
* **Minimal Price**: You can set the **minimal price** for the command to run only when the price conditions are met.
5. **Save Changes**.
You can add **multiple global commands** to run different commands every time a purchase is made.
## Placeholder Variables
You can use **placeholder variables** in the command that will be replaced with the actual values when the command is executed. The following placeholder variables are available:
| **Variable** | **Meaning of the Variable / Replaces With** |
| -------------- | ------------------------------------------- |
| `{username}` | User nickname |
| `{price}` | Package price |
| `{currency}` | Currency |
| `{uuid}` | UUID (Universally Unique Identifier) |
| `{time}` | Command execution time |
| `{date}` | Command execution date |
| `{customerIP}` | Customer IP |
# In-Game Auth Verification
Source: https://docs.minestorecms.com/features/in-game-auth
You can enable the "In-Game Auth Verification" feature to verify the player's identity before logging in to the webstore.
## Introduction
**In-Game Auth Verification** is a great way to verify the player's identity before logging in to the webstore. You can enable this feature to **prevent unauthorized access** to the webstore and ensure that only the player who owns the Minecraft account can log in.
This feature requires the player to **authenticate their identity in-game** before logging in to the webstore. It adds an extra layer of security to your webstore and ensures that only the player who owns the Minecraft account can access the webstore.
This feature is **optional** and can be enabled or disabled based on your requirements. This feature also good as the proof **against chargebacks**.
## How to Enable In-Game Auth Verification
1. [Install](/plugin/install) the **MineStore Plugin** on your Minecraft server.
2. Connect **Minecraft Server** to the Webstore by using **Plugin**.
3. Go to the **Settings > Authorization Settings** tab in the sidebar.
4. Select **Authorization Type** as **"In-Game Verification"**.
5. **Save Changes**.
Make sure to **configure** the **MineStore Plugin** on your Minecraft server to use the **In-Game Auth Verification** feature. The player needs to authenticate their identity in-game before logging in to the webstore.
# Links
Source: https://docs.minestorecms.com/features/links
You can easily create links to external websites or internal pages. This feature is useful for directing users to specific pages or resources.
## How to Add a Link?
To add a link to your webstore, follow the steps below:
Log in to your **Admin Panel**.
Navigate to the **CMS Settings > Links** tab.
Click on the **+ Add Link** button.
Fill in the required fields:
* **Display Name**: Enter the title of the link.
* **SVG Icon**: Find in the [LucidIcons](https://lucide.dev/icons/) library (`optional`).
* **URL**: Enter the URL of the link.
* **Select Display Location**: Choose where the link will be displayed on the webstore: `Header` (navigation bar) or `Footer`.
# Migration Tools
Source: https://docs.minestorecms.com/features/migration-tools
Easily migrate from other platforms to MineStoreCMS with the new migration tools. This feature allows you to import your packages, categories, and packages.
## Introduction
This is a **new feature** that was added in **MineStoreCMS v3.5.0**.
The **Migration Tools** allows you to easily migrate from other platforms to **MineStoreCMS**. This feature allows you to import your packages, categories, and packages from other platforms like **Tebex**.
**MineStoreCMS** supports the **Migration Tools** since version **v3.5.0**.
## Migrating from Tebex
1. First, find the **Migration Tools** tab in your **Admin Panel** sidebar.
2. Click on the **Migration Tools** tab.
To start a new platform migration from **Tebex**, follow these steps:
1. Select the **Tebex** platform from the dropdown menu.
2. Fill [Headless API Public Key](https://creator.tebex.io/developers/api-keys) and put it in the **"Headless API Public Key"** field.
3. Find the **Plugin API Secret Key** in your **Tebex Game Plugin** settings and put it in the **"Plugin API Secret Key"** field.
4. Select if you want to import **completed payments** from **Tebex** (Not Recommended).
**Note**: It could take up to **1 minute** to migrate the data from **Tebex** since it needs to cache new **settings data**.
# Multiple Languages
Source: https://docs.minestorecms.com/features/multiple-languages
You can add multiple languages to your webstore to reach a wider audience.
## Introduction
**Languages** are part of the **Theme Settings** that allow you to add multiple languages to your webstore. You can add multiple languages to your webstore to reach a wider audience and provide a better shopping experience for your customers.
## Selecting Languages
To select the languages for your webstore, follow the steps below:
Log in to your **Admin Panel**.
Navigate to the **Themes** tab and select the theme you want to edit.
Scroll down to the **"Language Settings"** section.
Select the **"Default Language"** for your webstore.
Select the **"Selectable Languages"** you want to add to your webstore.
Press **"Save"** or **"Update"** buttons next to the options to apply the changes.
## Editing Language Files
To edit the language files, follow the steps below:
1. Scroll down to the **"Available Languages"** section.
2. Select the language you want to edit.
3. Press the **"Edit"** button next to the language.
4. You will get redirected to the **Language Editor** where you can edit the language strings.
5. Press **"Save"** to apply the changes.
6. Rebuild the template to apply the changes to your webstore.
The language files are stored in the **`/frontend/src/locales`** directory. You can edit the language files directly by modifying the JSON files.
Learn how to build the template to apply changes after editing the theme files.
## Adding New Languages
### Frontend Configuration
To add a new language to your webstore, follow the steps below:
1. Open **file manager**.
2. Navigate to the **`/frontend/src/locales`** directory.
3. Press the **"New File"** button.
4. Make a new file with the language code (e.g., `en.json` for English).
5. Get the language strings from the **`en.json`** file and translate them to the new language.
6. Save the file and press **"Save"** to apply the changes.
### Backend Configuration
You also need to add the **new language to the backend**. To add a new language to the backend, follow the steps below:
1. Connect to your VPS by using **SFTP**.
2. Navigate to the **`/var/www/minestore/app/Http/Controllers`** directory.
3. Open the `SettingsController.php` file.
4. Use search to find the **`public static function getLanguages`** function.
5. Add the new language to the **`$languagePack`** array.
```php theme={null}
$languagePack = [
'af' => 'Afrikaans',
'ar' => 'Arabic',
// other languages
'zh-TW' => 'Chinese (Traditional)',
'id' => 'Indonesian', // Example: 'id' => 'Indonesian',
];
```
6. **Save** the file.
7. Go to the **Admin Panel** and select the new language from the **"Selectable Languages"**.
8. Press **"Update"** to apply the changes.
9. **Rebuild the template to apply the changes** to your webstore.
# Package's Commands
Source: https://docs.minestorecms.com/features/packages/commands
This article explains how to add commands to the package that will be executed when the package is purchased or any other event happened.
## **Commands**
**Commands** are a powerful feature that allows you to **execute actions** on the server when the package is purchased or any other event happened. You can add multiple commands to the package that will be executed in the order they are added on multiple or specified **Game server**.
## **Adding Commands**
To add commands to the package, follow the steps below:
Navigate to the **Admin Panel**.
Click on the **Packages** tab to access the package management area.
Select the package you want to add commands to.
Scroll down to the **Commands** section and press the **+ Add Command** button.
Select the **Minecraft servers** where the commands could be executed or need to be displayed in the **"Commands List"**.
Fill in the **command details**:
* **Event**: Select the event when the command will be executed.
* **Command**: Enter the command that will be executed. Make sure you **did not** put slash trail `/`.
* **Minecraft Servers**: Select the Minecraft servers where the command will be executed.
* **Check if the player online?"**: Enable this option to check if the player is online before executing the command.
* **Delay before executing**: Set the delay before executing the command (optional, by default `empty`).
* **Repeat Cycle**: Set the repeat cycle for the command (optional, by default `disabled`).
* **Should this command be executed only once on any of the selected servers?**: Enable this option to execute the command only once on any of the selected servers. This feature might be usable for big networks.
Press the **+ Add Command** button to add more commands to the package.
Press the **Save** button to save the package with the added commands.
## **Command Events**
**Command events** are the actions that **trigger** the command execution. You can specify the command to be executed when the **event happens**.
Triggers when the customer purchases the package.
Triggers when the customer chargebacks the payment for the package or makes a dispute.
Triggers when the package is removed from the customer. It will be removed based on the package settings or if the subscription failed.
Triggers when the subscription package renews. The command will be executed when the next recurring payment is made.
## **Command Variables**
**Command variables** are the placeholders that can be used in the commands. Variables can be used to **personalize the commands** for each customer. You can **select attached variables from the dropdown list** and use them in the commands.
| **Variable** | **Meaning of the Variable / Replaces With** |
| ---------------- | ------------------------------------------- |
| `{username}` | User nickname |
| `{package_name}` | Package name |
| `{price}` | Package price |
| `{currency}` | Currency |
| `{coupon}` | Used coupon |
| `{uuid}` | UUID (Universally Unique Identifier) |
| `{time}` | Command execution time |
| `{date}` | Command execution date |
| `{customerIP}` | Customer IP |
| `{server}` | Server name |
# Discord Roles
Source: https://docs.minestorecms.com/features/packages/discord-role
Learn how to attach Discord roles to packages.
## Introduction
The **Discord Roles** module allows you to attach Discord roles to **packages** on your webstore. So when a **user purchases a package**, they will **automatically** receive the corresponding **Discord role** on your **Discord server**. This feature is useful for managing permissions and providing exclusive benefits to your customers based on their purchases.
The **Discord Roles** module requires the **Discord Bot** feature to be enabled in the **Discord Settings** section. Make sure you have set up the **Discord Bot** before configuring **Discord roles** for **packages**.
Learn how to set up the Discord Bot to sync roles and permissions with your webstore.
## How to Attach Discord Roles to Packages?
To attach **Discord roles** to **packages**, follow the steps below:
Log in to your **Admin Panel**.
Go to the **Packages** section in the sidebar menu.
Edit the **package** to which you want to attach a **Discord role**.
Select the **Others** tab in the package settings.
Select the **Discord roles** that you want to attach to the **package**. Before that make sure you have enabled the **Discord Bot** feature in the **Discord Settings** section.
Attach exactly one command to the package, you can make a callback "fake" server, so this command will never be executed, if you don't want it. Also, make a chargeback command, so role will be taken away from the user if he will chargeback.
Press **Save** to apply the changes.
You can attach **multiple Discord roles** to a single package. This allows you to assign multiple roles to users based on their purchases.
Attach exactly one command to the package, you can make a callback "fake" server, so this command will never be executed, if you don't want it. Also, make a chargeback command, so role will be taken away from the user if he will chargeback.
# Giftcard Package
Source: https://docs.minestorecms.com/features/packages/giftcard-package
Gift card packages are a type of package that you can sell on your webstore. When a customer purchases a gift card, they receive a code that can be redeemed on the webstore. You can set the value of the gift card and the duration of the code.
## **SMTP Server**
You need to have an **SMTP server** configured in the Admin Panel to send emails to customers when they **purchase a gift card**.
Configure your SMTP server to send emails to customers when they purchase a gift card or to send invoices.
## **Creating Gift Card Packages**
To create a **new gift card package**, follow the steps below:
Navigate to the **Admin Panel**.
Click on the **Packages** tab to access the package management area.
Press the **+ Add New** button and select **Package** from the dropdown menu.
Fill in the **package details**:
* **Name**: Enter the name of the package.
* **Description**: Add a description of the package (optional).
* **Image**: Upload an image for the package (optional).
* **Category**: Select the category for the package.
* **Package Type**: Select **"Gift Card"** package type.
* **Price**: Enter the price of the gift card.
* **Discount**: Specify the discount amount for the gift card (optional).
* **Gift Card Amount**: Set the value of the gift card.
Press the **"Create the Package"** button to create the new gift card package.
## **Gift Card Redemption**
When a customer purchases a gift card, they receive a code that can be redeemed on the webstore.
Learn how to redeem a gift card on the webstore.
# Hybrid Package
Source: https://docs.minestorecms.com/features/packages/hybrid-package
Hybrid Packages are a combination of Gift card and Minecraft Commands packages. Learn how to create a Hybrid Package in the Admin Panel.
## **SMTP Server**
You need to have an **SMTP server** configured in the Admin Panel to send emails to customers so they can receive **gift card code**:
Configure your SMTP server to send emails to customers when they purchase a gift card or to send invoices.
## **Creating Hybrid Packages**
To create a **new hybrid package** that includes both a gift card and Minecraft commands, follow the steps below:
Navigate to the **Admin Panel**.
Click on the **Packages** tab to access the package management area.
Press the **+ Add New** button and select **Package** from the dropdown menu.
Select **"Minecraft Package & Giftcard"** package type.
Fill in the **package details**:
* **Name**: Enter the name of the package.
* **Description**: Add a description of the package (optional).
* **Image**: Upload an image for the package (optional).
* **Category**: Select the category for the package.
* **Package Type**: Select **"Gift Card"** package type.
* **Price**: Enter the price of the gift card.
* **Discount**: Specify the discount amount for the gift card (optional).
* **Minecraft Commands**: Add the Minecraft commands that will be executed when the package is purchased.
* **Gift Card Amount**: Set the value of the gift card.
Press the **"Create the Package"** button to create the new gift card package.
## **Gift Card Redemption**
When a customer purchases a gift card, they receive a code that can be redeemed on the webstore.
# Incremental Pricing
Source: https://docs.minestorecms.com/features/packages/incremental-pricing
Change a package price on each repeat purchase by the same player — discourage farming, encourage variety, or reward loyalty.
## **Introduction**
**Incremental Pricing** lets you define a **step ladder** of prices for the same package. The price a player sees depends on how many times **they** have already bought that package. After an optional reset window, the counter falls back to step 1.
Use it to **discourage repeat farming** (each subsequent purchase costs more), to **reward loyalty** (each next purchase is cheaper), or simply to push players toward variety in your store.
The step counter is **per player**, not global. Two different players each see the package at its **Step 1** price for their first purchase, regardless of how many other players have bought it.
## **How It Works**
1. You define **N steps** for the package. Each step has either a **fixed price** or a **discount %** off the base price.
2. When a player checks out, the platform counts that player's previous completed purchases of this package.
3. The **next step in line** is applied. After the last step is reached, every further purchase uses the **last step's price** indefinitely.
4. If a **reset window** is configured, completed purchases older than the window are ignored — the counter resets back to Step 1.
**Gifts count too.** A purchase counts toward the **recipient's** counter, not the buyer's, when the package is bought as a gift.
## **Configuring Incremental Pricing**
Go to **Packages** in the sidebar and open the package you want to configure.
Open the **Others** tab on the package edit screen.
Toggle **Incremental Pricing** on. The configuration panel appears.
Click **+ Add Step** to add a row. For each row, fill in either a **Price** in your store's base currency, or a **Discount %** off the package's normal price.
Pick a **Reset window value** and **unit** (Minute / Hour / Day / Week / Month / Year), or choose **No Period** to make the escalation permanent.
Click **Save** at the bottom of the page.
## **Step Fields**
| **Field** | **Meaning** |
| -------------- | -------------------------------------------------------------------------------------------------------------- |
| **Step #** | Order in the ladder. Step 1 applies to the player's first purchase, Step 2 to the second, and so on. |
| **Price** | Fixed full price charged for this step, in your store's base currency. Leave at `0` to use a discount instead. |
| **Discount %** | Optional percentage off the package's normal price for this step (applied when **Price** is `0`). |
The **last step's price is reused** for every further purchase past the ladder. If you want unlimited escalation, add more steps.
## **Reset Window**
| **Reset Unit** | **Effect** |
| ----------------------------------------- | ------------------------------------------------------------------------------------------------- |
| **No Period** | Permanent. A player's step level **never** resets. |
| **Minute** | Step counter resets after `N` minutes since the player's last completed purchase of this package. |
| **Hour** | Same as above, in hours. |
| **Day** / **Week** / **Month** / **Year** | Same, in larger units. |
The reset window is anchored to the **last completed payment's `updated_at`**, not to a fixed wall-clock interval. A player who keeps buying within the window never resets; one who stops will fall back to Step 1 after the window elapses.
## **Regional Pricing per Step**
If your package uses **Regional Pricing**, each step can also have its own per-region override. Click the **globe icon** next to the step's price to configure country- or continent-specific prices for that step.
| **Region Match** | **Behaviour** |
| ---------------- | ------------------------------------------------------------------------------ |
| **Country** | If a country override exists for the buyer's country at this step, it is used. |
| **Continent** | Used as a fallback when no country override matches. |
| **No match** | The step's base price (or discount-off-base) is used. |
## **Behaviour in the Cart**
* The cart shows the **next step's price** as the unit price for an authenticated player.
* For **guests** (no username yet), the cart shows the **Step 1** price.
* For **multi-quantity** orders, each unit in the quantity may land on a **different step**: e.g. buying 3 when the player is at Step 2 charges Step 2 + Step 3 + Step 4.
Incremental Pricing **interacts** with **Sales**, **Coupons** and **Perks**. The step price is the **base** to which discounts are then applied, in the order configured by your discount-stacking rules.
# Packages
Source: https://docs.minestorecms.com/features/packages/packages
Packages are the products that you can sell on your webstore. They can be digital products like ranks, items, or permissions. You can also sell gift cards at your webstore. To have a better understanding of packages, you can refer to the documentation below.
## **What are Packages?**
Packages are the products that you can sell on your webstore. They can be digital products like ranks, items, or permissions. You can also sell gift cards at your webstore. Each package can have a different price, duration, features and other settings. You can create packages for executing commands, giving permissions, or sending items to players in-game.
## **Creating Package**
Navigate to the **Admin Panel**.
Click on the **Packages** tab to access the package management area.
Press the **+ Add New** button and select **Package** from the dropdown menu.
Fill in the **package details**:
* **Name**: Enter the name of the package.
* **Description**: Add a description of the package (optional).
* **Image**: Upload an image for the package (optional).
* **Category**: Select the category for the package.
* **Package Type**: Minecraft Package (command execution) or Gift Card.
* **Price**: Enter the price of the package.
* **Discount**: Specify the discount amount for the package (optional).
* **Remove Package From Customer After**: Period of time after which the package will be removed from the customer (`Removed commands` will be executed).
* **Commands**: Add commands that will be executed when the package is purchased.
### **Package Visibility**
You can control the visibility of the package on the webstore by setting the following options:
* **Publish on Webstore At**: Set the date and time when the package will be available on the webstore.
* **Remove from Webstore At**: Set the date and time when the package will be removed from the webstore.
* **"Enable this package and make it visible?"**: Enable or disable the package visibility on the webstore.
You don't need to setup publish and remove dates if you want the package to be available on the webstore immediately.
### **Package Limits**
You can limit the purchase of the package by setting the following options:
1. **Quantity Limit Per User**: Set the maximum number of times a user can purchase the package.
2. **Global Quantity Limit**: Set the maximum number of times the package can be purchased globally (stocking).
3. **Required Packages**: Set the packages that must be purchased before this package can be purchased.
4. **Required To Have**: "All" or "One" of the required packages must be purchased before this package can be purchased.
### **Package Variables**
It is possible to **attach variables** to the package that can be used in the commands. Variables can be used to personalize the commands for each customer. You can **select attached variables from the dropdown list** and use them in the commands.
The customer will be asked to fill in the variables when purchasing the package. The variables will be replaced with the customer's input in the commands.
### **Featured Package**
You can mark a package as a featured package to highlight it on the webstore. Featured packages are **highlighted** and **more visible** to customers.
# Pay What You Want
Source: https://docs.minestorecms.com/features/packages/pay-what-you-want
You can let customers pay for packages using the "Pay What You Want" feature. You can set the minimum price of the package and let customers pay more than the minimum price.
## **What is Pay What You Want?**
The **Pay What You Want** feature allows you to let customers pay for packages using the amount they want. You can set the minimum price of the package and let customers pay more than the minimum price.
## **Configuring Pay What You Want Package**
1. Select (or create) the package you want to make a **Pay What You Want** Price.
2. Enter the **minimum price** in the **Price** field.
3. Enable the **"Pay What You Want"** option next to the price field.
4. **Save the package**.
The customer will be able to enter the amount they want to pay when purchasing the package. The minimum price will be used as a reference.
# Allow to Select Server
Source: https://docs.minestorecms.com/features/packages/select-server
This article will guide you on how to allow customers to select the server when purchasing a package.
## **Configuring Servers List to Select**
1. **Select the package** (or create one) you want to allow customers to select the server.
2. Scroll down to the **Commands List** section.
3. **Minecraft Servers**: Select the **Minecraft servers** where the package will be available.
4. Press the **"Configure"** button next to the **Minecraft Servers** field.
5. Check the **"Allow customers to select the server they want to receive purchased package on"** option.
6. Press the **Save Changes** button.
7. **Save the package**.
The customer will be able to select the server they want to receive the purchased package on when purchasing the package.
# Subscription Package
Source: https://docs.minestorecms.com/features/packages/subscription-package
You can also make a subscription package that allows customers to pay for the package periodically. You can set the period of charging the customer and the duration of the package.
## **Payment Methods**
Only the **following payment methods are available for subscription packages**:
Allow customers to pay for the package using PayPal IPN.
Allow customers to pay for the package using Stripe.
Allow customers to pay for the package using GoPay.
Allow customers to pay for the package using PayNow.
## **Configuring Subscription Package**
To make a subscription package, follow the steps below:
Go to the **Admin Panel** and select the package you want to make a subscription package (or create one).
Enable the **Recurring Payment** option in the package settings by selecting **"Charge the customer every X amount of time"**.
Set the **Charge Period** for the package. You can choose from **daily**, **weekly**, **monthly**, or **yearly** and specify the period of charging the customer.
Add commands to the commands list for event **"When the package is removed"** to execute when the next recurring payment is not made.
Add commands to the commands list for event **"When the subscription renews"** to execute when the next recurring payment is made.
# Virtual Currency
Source: https://docs.minestorecms.com/features/packages/virtual-currency-package
You can let customers pay for packages using virtual currency. You can set the price of the package in virtual currency and specify the server to charge the virtual currency.
## **Virtual Currency**
Virtual currency is a type of currency that players can use to purchase packages on your webstore. You can set the price of the package in virtual currency and specify the server to charge the virtual currency.
Make sure you have the [virtual currency enabled](/features/virtual-currency) and configured in the Admin Panel before creating virtual currency packages.
## **Configuring Virtual Currency Packages**
1. Select the package you want to make a virtual currency package (or create a new one).
2. Enter the price of the package in virtual currency.
3. Select **Virtual Currency** instead of real currency next to the price field.
4. Select the **Economy Server** where the virtual currency will be charged when the package is purchased.
Make sure that you have economy charge command setup for **Virtual Currency** in the Admin Panel.
# Patrons
Source: https://docs.minestorecms.com/features/patrons
Patrons Module allows you to make a page for your patrons to display their names and avatars.
## Introduction
This is a **new feature** that was added in **MineStoreCMS v3.3.5**.
The **Patrons Module** allows you to make a page for your **patrons** to display their **names and avatars**. You can create a **dedicated page** for your patrons to show appreciation and encourage more users to become patrons.
It helps you to show appreciation to your **patrons and encourage more users to become patrons**.
**MineStoreCMS** supports the **Patrons Module** since version **3.3.5**. You need also have a compatible components of the template (default theme includes it by default).
## Enabling the Patrons Module
To configure the **Patrons Module**, follow the steps below:
1. Log in to your **Admin Panel**.
2. Go to the **Patrons** tab.
3. Toggle the **Enable this module** switch to enable the Patrons Module on your webstore.
**Note**: It could take up to **1 minute** to enable the **Patrons Module** since it needs to cache new **settings data**.
## Extra Settings
You can configure the following settings for the **Patrons Module**:
* **Description**: Enter a description for the **Patrons Module** (supports HTML).
* **Values to Display**: Select the values to group **Patrons** by donation amount value (separate by comma).
**Note**: It takes **up to 5 minutes** to update **new patrons** after purchase.
## Where to Find the Patrons Page?
The **Patrons Page** is available at the following URL:
```
https://store.yourdomain.com/patrons
```
Also it is being displayed at the **footer** and below the **Recent Donations** section of the **Default Theme**:
# CashFree (India)
Source: https://docs.minestorecms.com/features/payment-gateways/cashfree
Accept payments in India with CashFree. This payment method is perfect for Indian countries.
## How to connect CashFree to Webstore?
### Step 1: Get your CashFree API key
1. Go to [CashFree](https://www.cashfree.com/) and sign in.
2. Go to the **API Keys**.
3. Get your `App ID` and `Secret Key` from the `API Keys` page.
### Step 2: Configure callback URL
1. Go to [CashFree](https://www.cashfree.com/) and sign in.
2. Go to the **Webhooks**.
3. Click on `Add Webhook`.
4. Enter the `Webhook URL` from your webstore dashboard (i.e. `https://v3.minestorecms.com/api/payments/handle/cashfree`) and click on `Add Webhook`.
### Step 3: Connect CashFree to your webstore
1. Go to your **webstore dashboard**.
2. Click on `Settings > Payment Gateways`.
3. Scroll down to `CashFree` and enable it.
4. Enter your `App ID`.
5. Enter your `Secret Key`.
6. Press **Save** button.
# Coinbase
Source: https://docs.minestorecms.com/features/payment-gateways/coinbase
Accept cryptocurrency payments with Coinbase Commerce.
## How to connect Coinbase to Webstore?
### Step 1: Get your Coinbase API key
1. Go to [Coinbase Commerce](https://commerce.coinbase.com/) and sign in.
2. Click on the `Settings` icon in the bottom left corner.
3. Click on `API Keys`.
4. Click on `Create an API Key`.
5. Enter a name for your API key and click on `Create API` key.
6. Copy the API key and keep it safe.
### Step 2: Setup Webhooks
1. Go to [Coinbase Commerce](https://commerce.coinbase.com/) and sign in.
2. Click on the `Settings` icon in the bottom left corner.
3. Click on `Webhooks`.
4. Click on `Create a Webhook`.
5. Enter the `Webhook URL` from your webstore dashboard (i.e. `https://v3.minestorecms.com/api/payments/handle/coinbase`) and click on `Create Webhook`.
6. Copy the `Secret` and keep it safe.
### Step 3: Connect Coinbase to your webstore
1. Go to your **webstore dashboard**.
2. Click on `Settings > Payment Gateways`.
3. Scroll down to `Coinbase` and press **Configure** button.
4. Enter your `API Key`.
5. Enter your `Webhook Secret`.
6. Enter **Coinbase** merchant currency.
7. Press **Save** button.
# CoinPayments
Source: https://docs.minestorecms.com/features/payment-gateways/coinpayments
Accept cryptocurrency payments with CoinPayments.
## How to connect CoinPayments to Webstore?
### Step 1: Get your CoinPayments API key
1. Go to [Coinpayments](https://www.coinpayments.net/) and sign in.
2. Click on the `Account` icon in the top right corner.
3. Get your `Merchant ID` and `Merchant Secret` from the `Account Settings` page.
4. Copy the `Merchant ID` and `Merchant Secret` and keep it safe.
### Step 2: Setup Webhooks
1. Go to [Coinpayments](https://www.coinpayments.net/) and sign in.
2. Go to the `Developer` tab.
3. Click on `IPN Settings`.
4. Enter the `IPN URL` from your webstore dashboard (i.e. `https://v3.minestorecms.com/api/payments/handle/coinpayments`) and click on `Update Settings`.
5. Press **Save** button.
### Step 3: Connect Coinpayments to your webstore
1. Go to your **webstore dashboard**.
2. Click on `Settings > Payment Gateways`.
3. Scroll down to `Coinpayments` and enable it.
4. Enter your `Merchant ID`.
5. Enter your `Merchant Secret`.
6. Press **Save** button.
# Cordarium
Source: https://docs.minestorecms.com/features/payment-gateways/cordarium
Cordarium is a business-free payment gateway that allows you to accept crypto payments in the easiest way possible.
## How to Configure Cordarium?
### Step 1: Getting Cordarium API Keys
1. Go to the [Cordarium](https://cordarium.com/) website.
2. **Sign up for an account** or **log in** if you already have an account.
3. Create a **webstore** on the Cordarium dashboard.
4. Select the **webstore** and go to the **Settings**.
5. Copy the **Server ID**, **Public Key**, and **Secret Key**.
6. Ensure that the **webstore** is **active**.
### Step 2: Enable Cordarium Payment Gateway
1. Go to the **Settings > Payment Gateways** tab in the sidebar.
2. Scroll down to the **Cordarium** section.
3. **Enable** the **Cordarium** option.
4. Enter the **Server ID**, **Public Key**, and **Secret Key**.
5. **Save Changes**.
Crypto payments do not support **subscriptions**. You can only use the Cordarium payment gateway for **one-time purchases**.
# dLocal Go
Source: https://docs.minestorecms.com/features/payment-gateways/dlocalgo
dLocal Go is a global payment gateway focused on Latin America, Africa, and Asia, supporting 600+ local payment methods.
## How to Configure dLocal Go?
### Step 1: Getting dLocal Go API Credentials
1. Go to the [dLocal Go](https://dlocalgo.com/) website.
2. **Sign up for an account** or **log in** if you already have one.
3. Open the **Dashboard** and navigate to **Integrations > API Keys**.
4. Copy the **X-Login** (API Key) and the **X-Trans-Key** (API Secret).
The **X-Trans-Key** is your secret — treat it like a password. Never expose it in client-side code or commit it to a public repository.
### Step 2: Configure the Notification URL
dLocal Go uses a single **notification URL** to confirm payments after the customer completes checkout on its hosted page.
In your dLocal Go dashboard, set the notification URL to:
```
https:///api/payments/handle/dlocalgo
```
The exact URL with your store's domain is shown next to the dLocal Go section in the admin panel.
### Step 3: Enable dLocal Go in the Admin Panel
Go to **Settings > Payment Gateways** in the sidebar.
Scroll down to the **dLocal Go** section.
Toggle the **dLocal Go** switch on, then click **Configure** to expand the settings.
Paste your **API Key (X-Login)** and **API Secret (X-Trans-Key)** in the corresponding fields.
Enter the **default country code** in **ISO 3166-1 alpha-2** format (e.g. `BR`, `MX`, `AR`, `CL`, `CO`, `PE`). This is the country dLocal Go will route the transaction through when the buyer's country cannot be inferred.
Enter the **currency** customers will be charged in (e.g. `USD`, `BRL`, `MXN`). The selected currency must be supported by dLocal Go for the chosen country.
Click on the **Save Changes** button.
## **Settings Reference**
| **Field** | **Meaning** |
| ---------------------------- | -------------------------------------------------------------------------------------------------------------- |
| **API Key (X-Login)** | Public API identifier issued by dLocal Go. |
| **API Secret (X-Trans-Key)** | Secret key paired with the API Key — used to sign payment requests. |
| **Default Country** | ISO 3166-1 alpha-2 country code, e.g. `BR`, `MX`, `AR`. Drives the available local methods on the hosted page. |
| **Charge Currency** | Currency in which customers are billed. Must be supported by dLocal Go for the selected country. |
## **How It Works**
1. The customer clicks **Pay with dLocal Go** at checkout.
2. The platform calls dLocal Go's `/v1/payments` API with the order ID, amount and currency, then **redirects the customer** to dLocal Go's hosted payment page.
3. The customer pays using any **local method** supported by dLocal Go for their country.
4. On completion, dLocal Go calls the notification URL on your store. The platform **verifies the payment** by calling dLocal Go's `/v1/payments/{id}` API and compares the amount before delivering the package.
If your store's base currency differs from the configured **Charge Currency**, the platform automatically **converts the order total** using the exchange rate configured in **Settings > Currencies**.
## **Handled Webhook Statuses**
| **dLocal Go Status** | **Effect on the Order** |
| -------------------- | --------------------------------------------------------- |
| `PAID` | Order is marked as paid and the package is delivered. |
| `REJECTED` | Order is marked as failed. |
| `CANCELLED` | Order is marked as failed. |
| `EXPIRED` | Order is marked as failed. |
| `REFUNDED` | Order is reversed (commands are revoked where supported). |
| Any other status | Acknowledged but not acted on (e.g. `PENDING`). |
## **Troubleshooting**
Make sure both **API Key** and **API Secret** are filled in **Settings > Payment Gateways > dLocal Go**, and that the dLocal Go switch is **enabled**.
Confirm the URL in your dLocal Go dashboard matches the one shown in your admin panel **exactly**, and that your store is reachable over HTTPS from the public internet.
If your **Charge Currency** differs from the store's base currency, the conversion currency must also exist in **Settings > Currencies** with a valid exchange rate.
# Enot.io
Source: https://docs.minestorecms.com/features/payment-gateways/enot
Accept payments in Russia and CIS countries with Enot.io. This payment method is perfect for Russian and CIS countries.
## How to connect Enot.io to Webstore?
### Step 1: Get your Enot.io Merchant ID and 2 API Secret Keys
1. Go to [Enot.io](https://enot.io/) and sign in.
2. Go to [Merchant tab](https://enot.io/merchant) and create a new merchant.
3. Copy the `Merchant ID` and `API Secret Key 1` and `API Secret Key 2` and keep it safe.
### Step 2: Connect Enot.io to your webstore
1. Go to your **webstore dashboard**.
2. Click on `Settings > Payment Gateways`.
3. Scroll down to `Enot.io` and enable it.
4. Enter your `Merchant ID`, `API Secret Key 1` and `API Secret Key 2`.
5. Press **Save** button.
# Free-Kassa
Source: https://docs.minestorecms.com/features/payment-gateways/freekassa
Accept payments in Russia and CIS countries with Free-Kassa. This payment method is perfect for Russian and CIS countries.
## How to connect Free-Kassa to Webstore?
### Step 1: Get your Free-Kassa Merchant ID and Secret Key
1. Go to [Free-Kassa](https://www.free-kassa.ru/) and sign in.
2. Go to [Merchant tab](https://www.free-kassa.ru/merchant) and create a new merchant.
3. Copy the `Merchant ID` and `Secret Key` and keep it safe.
### Step 2: Connect Free-Kassa to your webstore
1. Go to your **webstore dashboard**.
2. Click on `Settings > Payment Gateways`.
3. Scroll down to `Free-Kassa` and enable it.
4. Enter your `Merchant ID` and `Secret Key`.
5. Press **Save** button.
# GoPay
Source: https://docs.minestorecms.com/features/payment-gateways/gopay
Accept payments across the Europe with GoPay. This payment method is perfect for Czech Republic countries.
## How to connect GoPay to Webstore?
### Step 1: Get your GoPay API key
1. Go to [GoPay](https://www.gopay.com/) and sign in.
2. Go to the **Merchant Center**.
3. Get your `Go ID`, `Client ID` and `Client ID` from the `Merchant Center` page.
### Step 2: Configure Notification (Webhook) URL
1. Go to [GoPay](https://www.gopay.com/) and sign in.
2. Go to the **Merchant Center**.
3. Click on `Settings`.
4. Click on `Notifications`.
5. Enter the `Notification URL` from your webstore dashboard (i.e. `https://v3.minestorecms.com/api/payments/handle/gopay`) and click on `Save`.
### Step 3: Connect GoPay to your webstore
1. Go to your **webstore dashboard**.
2. Click on `Settings > Payment Gateways`.
3. Scroll down to `GoPay` and enable it.
4. Enter your `Go ID`.
5. Enter your `Client ID`.
6. Enter your `Client Secret`.
7. Press **Save** button.
# HotPay (Poland)
Source: https://docs.minestorecms.com/features/payment-gateways/hotpay
Accept payments in Poland with HotPay.
## How to connect HotPay to Webstore?
### Step 1: Get your HotPay API key
1. Go to [HotPay](https://hotpay.pl/) and sign in.
2. Go to the **Settings**.
3. Get your `Secret Hash` from the `Merchant Settings` page.
### Step 2: Connect HotPay to your webstore
1. Go to your **webstore dashboard**.
2. Click on `Settings > Payment Gateways`.
3. Scroll down to `HotPay` and enable it.
4. Enter your `Secret Hash`.
5. Press **"Save Changes"** button.
# Interkassa
Source: https://docs.minestorecms.com/features/payment-gateways/interkassa
Accept payments in Ukraine and CIS countries with Interkassa. This payment method is perfect for Ukrainian and CIS countries.
## How to connect Interkassa to Webstore?
### Step 1: Get your Interkassa Cashbox ID
1. Go to [Interkassa](https://www.interkassa.com/) and sign in.
2. Go to [Cashbox tab](https://www.interkassa.com/account/cashbox) and create a new cashbox.
3. Copy the `Cashbox ID` and keep it safe.
### Step 2: Connect Interkassa to your webstore
1. Go to your **webstore dashboard**.
2. Click on `Settings > Payment Gateways`.
3. Scroll down to `Interkassa` and enable it.
4. Enter your `Cashbox ID`.
5. Enter **Interkassa** merchant currency (i.e. `UAH` for Ukraine, `KZT` for Kazakhstan, `BYN` for Belarus, `GEL` for Georgia, `AMD` for Armenia, `AZN` for Azerbaijan, `TJS` for Tajikistan, `UZS` for Uzbekistan, `MDL` for Moldova, `KGS` for Kyrgyzstan, etc.).
6. Press **Save** button.
# MercadoPago
Source: https://docs.minestorecms.com/features/payment-gateways/mercadopago
Accept payments all across Latin America and South America with MercadoPago. This payment method is perfect for Latin American and South American countries.
## How to connect MercadoPago to Webstore?
### Step 1: Get your MercadoPago API key
1. Go to [MercadoPago](https://www.mercadopago.com/) and sign in.
2. Go to [Credentials tab](https://www.mercadopago.com.br/mlb/account/credentials) (example for Brazil link).
3. Copy the `Access Token` and keep it safe.
4. Configure `CheckoutPro` type of integration.
### Step 2: Configure Webhook
1. Go to Notifications tab in your MercadoPago account.
2. Select the `Webhooks` tab.
3. Click on `Create Webhook`.
4. Enter the `Notification URL` (i.e. `https://v3.minestorecms.com/api/payments/handle/mercadopago`).
5. Select the `All` option for `Events`.
### Step 3: Configure IPN
1. Go to Notifications tab in your MercadoPago account.
2. Select the `IPN` tab.
3. Click on `Create IPN`.
4. Enter the `Notification URL` (i.e. `https://v3.minestorecms.com/api/payments/handle/mercadopago`).
5. Select the `All` option for `Events`.
### Step 4: Connect MercadoPago to your webstore
1. Go to your **webstore dashboard**.
2. Click on `Settings > Payment Gateways`.
3. Scroll down to `MercadoPago` and enable it.
4. Enter your `Access Token`.
5. Enter **MercadoPago** merchant currency (i.e. `BRL` for Brazil, `ARS` for Argentina, `CLP` for Chile, `COP` for Colombia, `MXN` for Mexico, `PEN` for Peru, `UYU` for Uruguay, `VEF` for Venezuela, etc.).
6. Press **Save** button.
# Midtrans (Indonesia)
Source: https://docs.minestorecms.com/features/payment-gateways/midtrans
Accept payments in Indonesia with Midtrans.
## How to connect Midtrans to Webstore?
### Step 1: Get your Midtrans Server Key
1. Go to [Midtrans](https://midtrans.com/) and sign in.
2. Go to the **Settings**.
3. Click on `Access Keys`.
4. Copy the `Server Key` and keep it safe.
### Step 2: Configure Notification URL
1. Go to [Midtrans](https://midtrans.com/) and sign in.
2. Go to the **Settings**.
3. Click on `Notification/Webhook`.
4. Enter the `Notification URL` from your webstore dashboard (i.e. `https://v3.minestorecms.com/api/payments/handle/midtrans`) and click on `Save`.
### Step 3: Connect Midtrans to your webstore
1. Go to your **webstore dashboard**.
2. Click on `Settings > Payment Gateways`.
3. Scroll down to `Midtrans` and press **Configure** button.
4. Enter your `Server Key`.
5. Press **"Save Changes"** button.
# Mollie
Source: https://docs.minestorecms.com/features/payment-gateways/mollie
Accept payments all across Europe with Mollie. This payment method is perfect for European countries.
## How to connect Mollie to Webstore?
### Step 1: Get your Mollie API key
1. Go to [Mollie](https://www.mollie.com/) and sign in.
2. Click on the `Developers` tab.
3. Click on `API keys`.
4. Copy the `Live API key` and keep it safe.
### Step 2: Connect Mollie to your webstore
1. Go to your **webstore dashboard**.
2. Click on `Settings > Payment Gateways`.
3. Scroll down to `Mollie` and press **Configure** button.
4. Enter your `API key`.
5. Press **Save** button.
# PayPal IPN
Source: https://docs.minestorecms.com/features/payment-gateways/paypal-ipn
You can configure the PayPal IPN settings to receive instant payment notifications for successful transactions.
## Introduction
Recommended payment gateway that support all features. You can configure the **PayPal IPN** settings to receive instant payment notifications for successful transactions. It allows you to **automatically process payments** and update the player's account in real-time. You can enable the **PayPal IPN** feature to receive notifications for successful transactions and update the player's account with the purchased packages.
## How to Configure PayPal IPN
#### Step 1: Enable PayPal IPN Payment Gateway
1. Go to the **Settings > Payment Gateways** tab in the sidebar.
2. Scroll down to the **PayPal IPN** section.
3. **Enable** the **PayPal IPN** option.
4. Enter the **PayPal Email** to receive payments.
5. Disable **Sandbox Mode**.
6. **Save Changes**.
### Step 2: Configure PayPal IPN Settings
1. Log in to your **PayPal account**.
2. Navigate to your **Account Settings** page.
3. In the **Account Settings** page, click the **Website Payments** under Products and Services.
4. Click Update link under the **Instant payment notifications** option.
5. Click Choose **IPN Settings** button to specify your listener’s URL and activate the listener.
6. Enable **Receive IPN messages (Enabled)**.
7. Enter the IPN URL from your **webstore dashboard**.
8. Click **Save** to save the IPN settings.
Do not use enable **SandBox** mode for **PayPal IPN**. You need to have **sandbox** credentials to use the sandbox mode.
# PayPal Legacy
Source: https://docs.minestorecms.com/features/payment-gateways/paypal-legacy
We do not recommend using this payment gateway. Please use the PayPal IPN payment gateway for better security and reliability.
## How to Configure PayPal Legacy
### Step 1: Getting PayPal API Credentials
1. Log in to your **PayPal account**.
2. Go to **Account Settings**.
3. Click on **"Update"** in the **API Access** section.
4. Click on **"Request API Credentials"** (NVP/SOAP API).
5. Select **"Request API signature"** and click **"Agree and Submit"**.
6. Copy the **API Username**, **API Password**, and **Signature**.
### Step 2: Enable PayPal Legacy Payment Gateway
1. Go to the **Settings > Payment Gateways** tab in the sidebar.
2. Scroll down to the **PayPal Legacy** section.
3. **Enable** the **PayPal Legacy** option.
4. Enter **API Username**, **API Password**, and **Signature**.
5. Disable **Sandbox Mode**.
6. **Save Changes**.
**PayPal Legacy** method **do not support all features**. We recommend using the [PayPal IPN](features/payment-gateways/paypal-ipn) payment gateway for better security and reliability.
# PayTM (India)
Source: https://docs.minestorecms.com/features/payment-gateways/paytm
Accept payments in India with PayTM. This payment method is perfect for Indian countries.
## How to connect PayTM to Webstore?
### Step 1: Get your PayTM API key
1. Go to [PayTM](https://www.paytm.com/) and sign in.
2. Go to the **Project Settings**.
3. Get your `Merchant ID` and `Merchant Key` from the `Project Settings` page.
### Step 2: Configure callback URL
1. Go to [PayTM](https://www.paytm.com/) and sign in.
2. Go to the **Project Settings**.
3. Click on `Website`.
4. Enter the `Callback URL` from your webstore dashboard (i.e. `https://v3.minestorecms.com/api/payments/handle/paytm`) and click on `Save`.
### Step 3: Connect PayTM to your webstore
1. Go to your **webstore dashboard**.
2. Click on `Settings > Payment Gateways`.
3. Scroll down to `PayTM` and enable it.
4. Enter your `Merchant ID`.
5. Enter your `Merchant Key`.
6. Disable `Test Mode` if you want to accept live payments.
7. Press **Save** button.
# PayTR (Turkey)
Source: https://docs.minestorecms.com/features/payment-gateways/paytr
Accept payments in Turkey with PayTR. This payment method is perfect for Turkey
## How to connect PayTR to Webstore?
### Step 1: Get your PayTR Credentials
1. Go to [PayTR](https://www.paytr.com/) and sign in.
2. Go to the **Project Settings**.
3. Get your `Merchant ID`, `Merchant Key`, `Merchant Salt` from the `Project Settings` page.
### Step 2: Connect PayTR to your webstore
1. Go to your **webstore dashboard**.
2. Click on `Settings > Payment Gateways`.
3. Scroll down to `PayTR` and enable it.
4. Enter your `Merchant ID`.
5. Enter your `Merchant Key`.
6. Enter your `Merchant Salt`.
7. Press **Save** button.
We recommend to use *Turkish Lira* as the main currency in case if you are using **PayTR** as a payment gateway.
You can change the main currency in the `Settings > General` section. Only **TRY** currency is supported by **PayTR**, other currencies will be converted in **Turkish Lira**.
# PayU (Europe)
Source: https://docs.minestorecms.com/features/payment-gateways/payu-europe
Accept payments across the Europe with PayU. This payment method is perfect for European countries.
## How to connect PayU to your webstore?
### Step 1: Get your PayU API key
1. Go to [PayU](https://www.payu.com/) and sign in.
2. Go to the **Merchant Center**.
3. Get your `POS ID`, `Secret Key (MD5)`, `OAuth Client ID` and `OAuth Client Secret` from the `Merchant Center` page.
### Step 2: Configure Notification (Webhook) URL
1. Go to [PayU](https://www.payu.com/) and sign in.
2. Go to the **Merchant Center**.
3. Click on `Settings`.
4. Click on `Webhooks`.
5. Enter the `Notification URL` from your webstore dashboard (i.e. `https://v3.minestorecms.com/api/payments/handle/payu`) and click on `Save`.
### Step 3: Connect PayU to your webstore
1. Go to your **webstore dashboard**.
2. Click on `Settings > Payment Gateways`.
3. Scroll down to `PayU` and enable it.
4. Enter your `POS ID`.
5. Enter your `Secret Key (MD5)`.
6. Enter your `OAuth Client ID`.
7. Enter your `OAuth Client Secret`.
8. Select the **Currency** that you use for PayU Merchant Account.
9. Press **"Save Changes"** button.
# PayU (India)
Source: https://docs.minestorecms.com/features/payment-gateways/payu-india
Accept payments in India with PayU. This payment method is perfect for Indian countries.
## How to connect PayU to Webstore?
### Step 1: Get your PayU API key
1. Go to [PayU](https://www.payu.in/) and sign in.
2. Go to the **Payment Gateway**.
3. Get your `Merchant Key` and `Salt` from the `Payment Gateway` page.
### Step 2: Connect PayU to your webstore
1. Go to your **webstore dashboard**.
2. Click on `Settings > Payment Gateways`.
3. Scroll down to `PayU` and enable it.
4. Enter your `Merchant Key`.
5. Enter your `Salt`.
6. Disable `Test Mode` if you want to accept live payments.
7. Press **"Save Changes"** button.
# Qiwi
Source: https://docs.minestorecms.com/features/payment-gateways/qiwi
Accept payments in Russia and CIS countries with Qiwi. This payment method is perfect for Russian and CIS countries.
## How to connect Qiwi to Webstore?
### Step 1: Get your Qiwi API Public Key and Secret Key
1. Go to [Qiwi](https://qiwi.com/) and sign in.
2. Go to [API tab](https://qiwi.com/api) and create a new API.
3. Copy the `Public Key` and `Secret Key` and keep it safe.
### Step 2: Connect Qiwi to your webstore
1. Go to your **webstore dashboard**.
2. Click on `Settings > Payment Gateways`.
3. Scroll down to `Qiwi` and enable it.
4. Enter your `Public Key` and `Secret Key`.
5. Press **Save** button.
# Razorpay (India)
Source: https://docs.minestorecms.com/features/payment-gateways/razorpay
Accept payments in India with Razorpay. This payment method is perfect for Indian countries.
## How to connect Razorpay to your webstore?
### Step 1: Get your Razorpay API key
1. Go to [Razorpay](https://razorpay.com/) and sign in.
2. Go to the **Settings**.
3. Click on `API Keys`.
4. Copy the `Key ID` (i.e. `rzp_live_dkXXXXXXX`) and `Key Secret` and keep it safe.
### Step 2: Connect Razorpay to your webstore
1. Go to your **webstore dashboard**.
2. Click on `Settings > Payment Gateways`.
3. Scroll down to `Razorpay` and press **Configure** button.
4. Enter your `Key ID`.
5. Enter your `Key Secret`.
6. Enable **Production Mode** if you want to accept live payments.
7. Press **"Save Changes"** button.
# Skrill (Paysafecard)
Source: https://docs.minestorecms.com/features/payment-gateways/skrill
Accept payments with Skrill Quick Checkout. This payment gateway also supports Paysafecard payment method.
## How to connect Skrill to Webstore?
### Step 1: Get your Skrill Signature (Secret Word)
1. Go to [Skrill](https://www.skrill.com/) and sign in.
2. Go to the **Settings > Developer Settings > API / MQI / GSR / CVT Management**.
3. Scroll down to `Secret Word` section.
4. Set your `Secret Word` and click on the **Save** button.
5. Copy your `Secret Word`.
### Step 3: Connect Skrill to your webstore
1. Go to your **webstore dashboard**.
2. Click on `Settings > Payment Gateways`.
3. Scroll down to `Skrill` and enable it.
4. Enter your `Skrill Email`.
5. Enter your `Secret Signature` (`Secret Word`).
6. Press **"Save Changes"** button.
# Stripe
Source: https://docs.minestorecms.com/features/payment-gateways/stripe
Stripe is a popular payment gateway that allows you to accept credit card payments on your webstore.
## How to Configure Stripe?
### Step 1: Getting Stripe API Keys
1. Go to the [Stripe](https://stripe.com/) website.
2. **Sign up for an account** or **log in** if you already have an account.
3. Go to the **Developers > API keys** section.
4. Switch to the **Live mode** if you are ready to accept payments.
5. Copy the **Publishable key** and **save it**.
6. Click on the **Reveal secret key** button to view the **Secret key**.
### Step 2: Configuring Stripe Webhook
1. Go to the **Developers > Webhooks** section in the Stripe dashboard.
2. Click on the **Add endpoint** button to create a new webhook.
3. Enter the **endpoint URL** from your webstore dashboard (i.e. `https://v3.minestorecms.com/api/payments/handle/stripe`).
4. Select the **events** next events to send to the webhook:
* `checkout.session.completed`
* `invoice.payment_succeeded`
* `customer.subscription.pending_update_expired`
* `customer.subscription.deleted`
* `invoice.payment_failed`
* `charge.dispute.created`
* `charge.dispute.updated`
* `charge.dispute.closed`
5. Click on the **Add endpoint** button to save the webhook.
6. Get the **Signing secret** from the webhook settings.
### Step 3: Enable Stripe Payment Gateway
1. Go to the **Settings > Payment Gateways** tab in the sidebar.
2. Scroll down to the **Stripe** section.
3. **Enable** the **Stripe** option.
4. Enter the **Publishable key** and **Secret key**.
5. Enter the **Webhook Signing secret**.
6. **Save Changes**.
**Stripe** payment gateway requires **SSL certificate** to secure the payment transactions. Make sure you have a valid SSL certificate installed on your webstore.
## Stripe Billing Portal
It is necessary to provide a way for your customers to manage their subscriptions. Stripe provides a **Billing Portal** that allows your customers to update their payment methods, view invoices, and manage their subscriptions.
1. Go to the **Settings > Billing** tab in the sidebar.
2. Select the **"Customer Portal"** option.
3. Configure all required options according to your needs.
4. **Save Changes**.
There are links to configure and customize the **Billing Portal** in the **Stripe Dashboard**.
* **Test Mode**: [https://dashboard.stripe.com/test/settings/billing/portal](https://dashboard.stripe.com/test/settings/billing/portal)
* **Live Mode**: [https://dashboard.stripe.com/settings/billing/portal](https://dashboard.stripe.com/settings/billing/portal)
# Terminal3 (Paymentwall)
Source: https://docs.minestorecms.com/features/payment-gateways/terminal3
Accept multiple worldwide and local payment methods with Terminal3. This payment method is perfect for Asian countries.
## How to connect Terminal3 to Webstore?
### Step 1: Get your Terminal3 API key
1. Go to [Terminal3](https://terminal3.com/) and sign in.
2. Create the **Project** and get the `Project ID` and `Project Secret`.
3. Select for **API Mode** - `Checkout API`.
4. Copy the `Project ID` and `Project Secret` and keep it safe.
5. Configure the **Webhook URL** from your webstore dashboard (i.e. `https://v3.minestorecms.com/api/payments/handle/terminal3`).
### Step 2: Enable Terminal3 to your webstore
1. Go to your **webstore dashboard**.
2. Click on `Settings > Payment Gateways`.
3. Scroll down to `Terminal3` and enable it.
4. Enter your `Project ID`.
5. Enter your `Project Secret`.
6. Press **Save** button.
This payment gateway has a lot of regional payment methods that are perfect for Asian countries.
# Unitpay
Source: https://docs.minestorecms.com/features/payment-gateways/unitpay
Accept payments in Russia and CIS countries with Unitpay. This payment method is perfect for Russian and CIS countries.
## How to connect Unitpay to Webstore?
### Step 1: Get your Unitpay Shop ID and Secret Key
1. Go to [Unitpay](https://unitpay.ru/) and sign in.
2. Go to [Shops tab](https://unitpay.ru/shops) and create a new shop.
3. Copy the `Shop ID` and `Secret Key` and keep it safe.
### Step 2: Connect Unitpay to your webstore
1. Go to your **webstore dashboard**.
2. Click on `Settings > Payment Gateways`.
3. Scroll down to `Unitpay` and enable it.
4. Enter your `Shop ID` and `Secret Key`.
5. Press **Save** button.
# PayNow FAQ
Source: https://docs.minestorecms.com/features/paynow/faq
Frequently asked questions about PayNow Checkout integration with MineStoreCMS.
## 1. What is PayNow Checkout?
**PayNow Checkout** ensures **Full Chargeback Protection**, safeguarding revenue by managing disputes and eliminating fraud risks, while delivering **Global Tax Compliance** with seamless tax handling and reporting worldwide.
This collaboration was established to provide **MineStoreCMS** (starts with **v3.5**) users with a seamless payment experience, enabling them to accept payments from customers worldwide. With **PayNow Checkout**, you can easily manage your transactions, subscriptions, and customer plans while ensuring compliance with local tax regulations.
**Note**: **PayNow Checkout** is a third-party payment processor. **MineStoreCMS** does not handle any payments or store any sensitive information. All transactions are processed through **PayNow Checkout**, and you will need to create an account with them to use this feature.
## 2. How does PayNow Checkout work?
**PayNow Checkout** acts as your merchant of record, handling all chargebacks and disputes on your behalf. This means that you can focus on running your business while **PayNow** takes care of the payment processing and compliance aspects.
When a customer makes a purchase through your **MineStoreCMS** store, they will be redirected to the **PayNow Checkout** page to complete the payment. Once the payment is successful, the customer will be redirected back to your store, and the transaction will be recorded in your **MineStoreCMS** dashboard.
## 3. What are the fees associated with PayNow Checkout?
**PayNow Checkout** charges a **3.99%** platform fee, plus payment gateway processing fees. There are no monthly or setup fees associated with using **PayNow Checkout**.
You can find more information about the payment gateway processing fees on the [PayNow Payment Methods](https://paynow.gg/payment-methods) page.
## 4. Do I need to verify my identity to use PayNow Checkout?
Yes, **PayNow Checkout** requires KYC (Know Your Customer) verification to ensure compliance with local regulations. You will need to provide some personal information and documentation to verify your identity before you can start using the service.
## 5. How do I set up PayNow Checkout with MineStoreCMS?
To set up **PayNow Checkout** with **MineStoreCMS**, follow the [setup guide](https://docs.minestorecms.com/features/paynow/onboarding) that provides step-by-step instructions on creating a PayNow account, verifying your email, and configuring your store settings.
## 6. What payment methods are supported by PayNow Checkout?
**PayNow Checkout** supports a wide range of payment methods, including **PayPal, Credit Cards, IDeal, MercadoPago, Pix, Debit Cards, Amazon Pay**, and many others. You can find the complete list of supported payment methods on the [PayNow Payment Methods](https://paynow.gg/payment-methods) page.
## 7. How do I contact PayNow support?
If you have any questions or issues related to **PayNow Checkout**, you can contact their support team through the [PayNow Support](https://discord.gg/paynow) page. They will be able to assist you with any inquiries or concerns you may have regarding your account or transactions.
## 8. Where the money goes?
**PayNow Checkout** acts as your merchant of record, meaning that all payments are processed through their platform. The money from your sales will be deposited into your **PayNow Wallet** account, and you can withdraw it to your bank account or use it for other transactions within the **PayNow** ecosystem.
## 9. How do I withdraw money from my PayNow Wallet?
To withdraw money from your **PayNow Wallet**, follow these steps:
1. Log in to your **PayNow** account.
2. Go to the **Wallet** section.
3. Click on the **Withdraw** button.
4. Enter the amount you want to withdraw and select your bank account.
5. Confirm the withdrawal request.
6. The funds will be transferred to your bank account within a few business days.
## 10. What should I do if I encounter issues with PayNow Checkout?
If you encounter any issues with **PayNow Checkout**, you can reach out to their support team through the [PayNow Support](https://discord.gg/paynow) page. They will be able to assist you with any technical issues or inquiries related to your account or transactions.
If you think the issue is related to **MineStoreCMS**, please contact our support team through the [MineStoreCMS Support](https://minestorecms.com/discord) page. We will be happy to assist you with any questions or concerns you may have.
## 12. Why currency is not compatible with PayNow Checkout?
**PayNow Checkout** supports only `USD`, `EUR`, and `GBP` currencies due specific reasons. One of these currencies must be your **MineStoreCMS Primary Currency**.
If you want to change your **MineStoreCMS Primary Currency**, follow next steps:
1. Go to the **Settings** page in your **MineStoreCMS** dashboard.
2. Select the **"Currency Management"** tab.
3. Choose the desired currency from the dropdown list.
4. Click on the **"Save Changes"** button.
5. Your **MineStoreCMS Primary Currency** will be updated to the selected currency.
Keep in mind that you will need to update your **package prices and any other currency-related settings** in your store to reflect the new primary currency.
## 13. Features disabled with PayNow Checkout
**PayNow Checkout** does not support the following features:
* **Flexible Subscription Payment Type**: You cannot set up flexible subscription payment types with **PayNow Checkout**, as we do originally, letting people purchase packages as regular payment (single billing cycle) or subscription (recurring billing).
* **Other Payment Methods**: You cannot enable other payment methods if you are using **PayNow Checkout**. You can only use **PayNow Checkout** as a payment method nor other payment methods. Because of legal reasons, you cannot use **PayNow Checkout** with other payment methods.
# Onboarding Guide
Source: https://docs.minestorecms.com/features/paynow/onboarding
Learn how to integrate PayNow Checkout that provides a seamless payment experience for your customers and chargeback protection for your business.
This **integration** is available for **MineStoreCMS** **v3.5** and **above**.
## Introduction
**PayNow Checkout** ensures **Full Chargeback Protection**, safeguarding revenue by managing disputes and eliminating fraud risks, while delivering **Global Tax Compliance** with seamless tax handling and reporting worldwide.
Streamline **Subscription Management** with automated **billing**, **renewals**, and customer plans. Enable **Borderless Payments** with 75+ methods, including **PayPal, Credit Cards, IDeal, MercadoPago, Pix, Debit Cards, Amazon Pay and others**, as they act as your merchant of record for compliant global sales.
Frequently asked questions about PayNow Checkout integration with MineStoreCMS.
## Benefits & Conditions
* **3.99%** Platform Fee + [Payment Gateway Processing Fees](https://paynow.gg/payment-methods).
* **No monthly & setup fees**.
* **PayNow** handles all **chargebacks** and **disputes**.
* **KYC (Know Your Customer)** verification is required.
* **VAT and taxes** are being handled by the **PayNow Checkout**.
## Setup Guide
### Step 1: Create a PayNow Account
1. Go to the [PayNow Website](https://dashboard.paynow.gg/auth/register).
2. Select next option: **"I want to monetize my game server"**, scroll down and press **"Continue"** button.
3. Fill in the required information:
* **Country or Region**: Select your country or region.
* **Email**: Enter a valid email address.
* **First Name**: Enter your **real** first name of the person who will be responsible for the account.
* **Last Name**: Enter your **real** last name of the person who will be responsible for the account.
* **Password**: Create a strong password.
* **Confirm Password**: Re-enter the password to confirm.
4. Accept the [User Agreement](https://paynow.gg/user-agreement), [Terms of Use](https://paynow.gg/terms-of-service), and [Privacy Policy](https://paynow.gg/privacy-policy).
5. Click on the **"Register"** button.
### Step 2: Verify Your Email
1. Check your email inbox for a **verification email** from **PayNow**.
2. Click on the **"Confirm Email"** button in the email.
3. You will be redirected to the **PayNow** website, where you can log in with your email and password.
4. Enter your **email** and **password** to log in.
**Note**: If you don't see the email in your inbox, check your **spam** or junk folder.
### Step 3: Creating the PayNow Checkout Store
1. After logging in, click on the **"Create Store"** button.
2. Fill in the required information:
* **Name**: Enter a name for your store (i.e. `GrassCraft Network`).
* **Slug**: Enter a unique identifier for your store (i.e. `grasscraft-network`).
* **Currency**: Select the currency for your **Checkout Integration** (i.e. `USD`, `EUR`, `GBP`). **Cannot** be changed later and must be the same as your **MineStoreCMS Primary Currency**.
3. Select the **Platform** as **"Minecraft (Offline)"** (screenshot below).
4. Select the **Integration Type** as **"Third-Party Integration"** (screenshot below).
5. Select the **Second Integration Type** as **"MineStoreCMS (Third-Party)"** (screenshot below).
6. Enter your **MineStoreCMS Store URL** (i.e. `https://store.grasscraft.net`) (screenshot below).
7. Enter **Support & Contact Email**. Could be personal or business email.
### Step 4: Setup Payouts
To withdraw money from your **PayNow Wallet**, you need to set up your **Payouts**. This is where you will enter your preferred payout method, such as **PayPal** or **Bank Transfer** and fill in small **tax form**.
You might need:
* **Payout Information**: Bank account details or PayPal email for receiving payments.
* **Tax Information**: Tax ID or relevant tax documentation.
After you got what you need, follow these steps:
1. Click on the **"Setup Payouts"** tab in the **Top Navigation Bar**.
2. Press on yellow **"Setup Payouts"** button.
3. Follow the instructions to **set up your payout method**.
**IMPORTANT**: Enter your **real** data of the person who will be responsible for the account and receiving funds. This is important for **KYC** verification and to avoid any issues with your payouts!
**Note**: You will not be able to use **PayNow Checkout** until you complete all onboarding steps, including setting up your **Payouts**.
### Step 5: Complete KYC Verification
**IMPORTANT**: The **legal entity** of the person who will be responsible for the account and receiving funds must be the same as the one used in **Payouts** setup!
To comply with **KYC** (Know Your Customer) regulations, you need to verify your identity. This is a standard procedure for all payment processors.
1. Click on the **"Verify Your Identity"** tab in the **Top Navigation Bar**.
2. Follow the instructions to **complete your KYC verification**.
3. You will need to provide:
* **Proof of Identity**: A government-issued ID (passport, driver's license, etc.).
* **Proof of Address**: A utility bill or bank statement with your name and address.
* **Selfie**: A selfie with your ID to verify your identity.
4. Click on the **"Submit"** button to send your verification request.
**Note**: The verification process may take some time. You will receive an email notification once your account is verified.
**IMPORTANT**: You will not be able to use **PayNow Checkout** until you complete all onboarding steps, including KYC verification.
### Step 6: Receive Your API Keys
1. Get back on [PayNow Onboarding Page](https://dashboard.paynow.gg/onboarding).
2. Copy your **Store ID** (i.e. `1237457373828282`) and save it for later.
3. Press **"Generate API Key"** button.
4. Copy your **API Key** (i.e. `pnapi_v1_1234567890abcdef`) and save it for later.
**IMPORTANT**: Your **API Key** is sensitive information. Do not share it with anyone or expose it in public repositories.
### Step 7: Setup PayNow in MineStoreCMS
1. Go to your **MineStoreCMS PayNow Checkout Onboarding Page**. (Can be found at `Settings > Payment Gateways > PayNow Checkout > Configure`).
2. Go to the **"Complete Integration"** Onboarding Tab.
3. Paste your **Store ID** and **API Key** from the previous step.
4. Click on the **"Complete Setup"** button.
**Done!** You have successfully set up **PayNow Checkout** with **MineStoreCMS**.
## Post-Setup Steps
You might **refresh** the **PayNow Checkout Management** page after 5-10 minutes to see the **integration status** and notifications.
After the setup is **complete**, you will get redirected to the **PayNow Checkout Management** page, where you can manage your store settings, see the integration status and notifications.
After you complete the setup, **MineStoreCMS** Webstore & **PayNow** will start syncing automatically every 5 minutes.
It will sync:
* **Settings**: Your **PayNow Checkout** settings will be synced with **MineStoreCMS**.
* **Packages**: Your **MineStoreCMS** packages will be synced with **PayNow Checkout**.
* **VAT**: Your **MineStoreCMS** VAT settings will be synced with **PayNow Checkout**.
* **Other**: Other settings and configurations will be synced as well.
**Note**: You can check the sync status and logs in the **PayNow Checkout Management** page.
## Manual Syncing
**IMPORTANT**: You should not need to do this manually, as it is done automatically every 5 minutes. However, if you encounter any issues with the synchronization, you can run these commands to force a manual sync.
You can also manually sync your **PayNow** settings and transactions with **MineStoreCMS** by using the following command:
```bash theme={null}
cd /var/www/minestore
php artisan paynow:sync-settings
php artisan paynow:sync
php artisan paynow:parse-logs
```
You should also check if the **required services** are running by using the **following command**:
```bash theme={null}
service minestore_schedule status
service minestore_queue status
```
If the **services are running**, you should see a message indicating that they are **active**. If they are not running, you can start them using the **following command**:
```bash theme={null}
service minestore_schedule restart
service minestore_queue restart
```
# Technical Issues
Source: https://docs.minestorecms.com/features/paynow/technical
Frequently asked questions about PayNow Checkout & MineStoreCMS technical aspect integration.
## Introduction
You don't really need to read or do anything here. Perform the guides only if you were instructed to do so by our support team.
## 1. How to manually sync PayNow & MineStoreCMS?
You need to perform next commands by using SSH:
```bash theme={null}
cd /var/www/minestore
php artisan paynow:sync-settings
php artisan paynow:sync
php artisan paynow:parse-logs
```
This will sync your PayNow settings and transactions with **MineStoreCMS**. Keep in mind that you should not need to do this manually, as it is done automatically every 5 minutes. However, if you encounter any issues with the synchronization, you can run these commands to force a manual sync.
## 2. How to check if required services are running?
You can check if the required services are running by using the following command:
```bash theme={null}
service minestore_schedule status
service minestore_queue status
```
If the services are running, you should see a message indicating that they are active. If they are not running, you can start them using the following command:
```bash theme={null}
service minestore_schedule restart
service minestore_queue restart
```
## 3. How to check if PayNow is enabled in MineStoreCMS?
You can check if **PayNow** is enabled in **MineStoreCMS** by going to the **Settings** page in your **MineStoreCMS** dashboard. Under the **Payment Methods** section, you should see **PayNow** listed as an available payment method. If it is not listed, you may need to enable it in the settings.
# Perks
Source: https://docs.minestorecms.com/features/perks
Automatic store-wide discounts unlocked by package purchases, active subscriptions or manual admin grants.
## **Introduction**
**Perks** are persistent discounts that follow a customer after they purchase a specific package, hold an active subscription, or are granted one manually from the admin panel. Unlike a coupon, the perk is **tied to the user** — it applies automatically on every future checkout while it is still active, with no code to type in.
Perks make it easy to offer **member benefits**, **subscriber-only discounts** or **VIP rewards** without managing coupon codes.
## **Enabling Perks**
Perks are managed from the **Perks** tab in the admin sidebar. No master toggle is required — each perk individually carries an **Enable** switch.
Click on the **Admin Panel**.
Click on the **Perks** tab to access the perk management area.
Click on the **Create Perk** button to open the perk wizard.
## **Configuring a Perk**
A perk is configured through a **five-step wizard**.
### Step 1 — Basics
Set the perk's identity and the discount it grants.
| **Field** | **Meaning** |
| --------------- | ------------------------------------------------------------------------------------------- |
| **Name** | Display name shown in the admin and to the customer. |
| **Description** | Optional internal note. |
| **Discount** | Percentage discount, `0–100`. `0%` is allowed (use it for tracking without lowering price). |
| **Enable** | Master switch for this perk. Disabled perks are ignored at checkout. |
### Step 2 — When Can Be Active
Restrict when the perk applies. All schedule fields are **optional** — a perk with no schedule is always active.
| **Field** | **Meaning** |
| ----------------------- | -------------------------------------------------------------------------- |
| **Active From → Until** | Date range during which the perk is honoured. |
| **Days of week** | Limit to specific weekdays (e.g. weekends only). |
| **From / Until (time)** | Time-of-day window. Supports **overnight windows** (e.g. `22:00 → 02:00`). |
A grant survives outside the schedule window — only the **application** of the discount at checkout is gated. When the window opens again, the same grant becomes effective.
### Step 3 — Where Applies (Scope)
Define which items the discount affects. A perk needs **at least one scope** or it stays dormant. You can add multiple scopes.
| **Scope Type** | **Effect** |
| --------------- | --------------------------------------------------------------- |
| **Whole Store** | Applies to every item in the cart, including items added later. |
| **Category** | Applies to all packages inside the selected category. |
| **Package** | Applies to a single package only. |
### Step 4 — Triggers
Define how users **earn** the perk. A perk needs at least one trigger. Multiple triggers are allowed (e.g. earn the perk by buying *any* of several packages).
| **Trigger Type** | **How the perk is granted** |
| ---------------- | ----------------------------------------------------------------------------------------------- |
| **Purchase** | Granted right after the user buys the selected trigger package. |
| **Subscription** | Granted while the user holds an active subscription to the selected package; revoked on cancel. |
| **Admin Only** | Granted manually from the admin panel — no package needed. |
For Purchase and Subscription triggers, also configure **Duration**:
| **Duration** | **Meaning** |
| ---------------- | ------------------------------------------------------------------------------------- |
| **Permanent** | The perk stays forever (unless manually revoked). |
| **Days** | The perk expires `N` days after the trigger fired. |
| **While Active** | Only meaningful for **subscription** triggers — the perk stays while the sub is paid. |
### Step 5 — Stacking
Control how this perk combines with other discounts on the same checkout.
| **Field** | **Meaning** |
| -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Stack with types** | Discount types this perk is allowed to combine with: **Coupon**, **Sale**, **Giftcard**, **Cumulative**, **Perk**. |
| **Stack with perks** | Allow this perk to combine with other perks on the same checkout. |
| **Stack priority** | Order in which perks are applied when multiple stack together (higher first). |
| **Exclusive group** | Tag that prevents duplicate-flavoured perks from stacking. Two perks in the same group will resolve to **only the highest-discount one** at checkout (e.g. subscription tiers). |
**Example of Exclusive Group:** you have a "−10% for Diamond subscribers" and "−15% for Emerald subscribers" perk. A user holding both subs would otherwise get −25%. Put both perks in an exclusive group called `subscription_tier` and only the −15% one will apply.
## **Manual Grant and Revoke**
Admins can manually grant or revoke perks from a customer's profile.
Go to **Customers** in the sidebar and open the relevant user.
Scroll to the **Perks** section on the customer detail page.
Click **Grant Perk** to add a new perk to the user, optionally with an expiry date and a note. Use **Revoke** next to an active perk to remove it immediately.
## **Lifecycle**
Perks react automatically to common payment events:
| **Event** | **What happens to the perk** |
| ----------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- |
| **Purchase succeeded** | Perk is granted to the buyer for every matching trigger in the cart. |
| **Refund / chargeback** | All grants tied to the refunded payment are immediately revoked. |
| **Subscription cancelled** | A **scheduled revoke** is set at the subscription's renewal date — the user keeps the perk for the period they paid for (grace period). |
| **Resubscribed during grace** | The scheduled revoke is cleared — the perk continues uninterrupted. |
## **Statistics**
Each perk has its own **Statistics** page (button on the perk row) showing how many active grants currently exist, how many users have used it, and a chart of usage over the perk's active window.
## **Limitations**
A perk with **no scope** or **no trigger** is dormant — it will never apply to a checkout. The wizard will warn you when this is the case.
`0%` perks **do not lower the price**, but they still appear in the discount stacking chain. Use them carefully if other perks depend on the stacking order.
# User Profiles
Source: https://docs.minestorecms.com/features/profiles
You can enable user profiles to display information about clients on your webstore. Profiles will show the users avatar, username, amount spent, recent purchases, and more.
## Introduction
The **User Profiles** feature allows you to enable user profiles on your webstore to display information about clients. User profiles show the user's avatar, username, amount spent, recent purchases, and other details. The User Profiles feature enhances the user experience by providing transparency and personalization to your customers.
This feature is **enabled by default** in the MineStoreCMS. You can customize the user profile settings to display specific information about the user and control the visibility of the profile on the webstore.
It is possible to disable the User Profiles feature if you do not want to display user information on the webstore.
## Configuring User Profiles
To configure the User Profiles, follow the steps below:
1. Log in to your **Admin Panel**.
2. Navigate to the **CMS Settings > Profile Page** tab.
3. Customize the following settings:
* **Enable User Profiles**: Toggle the switch to enable or disable user profiles on the webstore (by default `enabled`).
* **Synchronization between Webstore and Minecraft Plugin**: Enable this option to synchronize user profiles between the webstore and the Minecraft plugin (`optional`).
* **Username Display Format**: Build own custom format by using available variables: `{prefix}`, `{username}` and `{group}`.
* **Display User's Group**: You can enable it to display the user's group under the username.
* **Group Display Format**: Build own custom format by using available variables: `{group}`, `{prefix}` and `{username}`.
4. Press **Save Settings** to apply the changes.
# Promoted Packages
Source: https://docs.minestorecms.com/features/promoted-packages
You can choose packages to promote during the checkout process with special discounts to increase sales and revenue.
## Introduction
**Promoted Packages** are a great way to increase sales and revenue by offering special discounts on packages during the checkout process. You can choose packages to promote and offer discounts to your customers. The promoted packages will be displayed on the **checkout page** of your webstore. It encourages customers to purchase more packages and increases your revenue.
## Adding Promoted Package
Go to the **Promoted Packages** tab in the sidebar.
Enable the **Promoted Packages** module.
Click on the **Create a Promoted Package** button to add a new promoted package.
Select the package you want to promote from the **dropdown**.
Set special **discount** price for the promoted package.
Click on the **Save** button to save the promoted package.
# Player Referrals
Source: https://docs.minestorecms.com/features/referral-system
Track and manage player referrals to your webstore.
## **Introduction**
The **Player Referral** feature allows customers to specify who **referred** them to your webstore, enabling you to **track** the number of **referrals** made by each **referrer**. This feature can be configured for **statistical purposes only**—ideal for tracking **media promotions**—or to **execute specific commands** for every purchase made through a **referral**.
**Player Referrals** can be used to **track** the number of **referrals** made by each **referrer**.
## **Enabling Player Referrals Module**
To enable the **Player Referrals** module, follow the steps below:
Click on the **Admin Panel**.
Click on the **Player Referrals** tab to access the player referral management area.
Toggle the **Player Referrals** switch to enable the module on the top of the page.
## Configuring Player Referrals
### Create a Referral Code
To create a **referral code**, follow the steps below:
1. Press the **"+ Add Referrer"** button.
2. Fill in the **required fields**:
* **Creator Name**: Enter the name of the referrer to display on admin dashboard (i.e. `MrBeast`).
* **Creator Code**: Enter the identifier that users enter during checkout (i.e. `BEAST`).
* **Sharing Part**: Set the percentage of the purchase that will be displayed as a reward for the referrer (only for statistical purposes).
3. Press the **"+ Create the Referral Code"** button.
### Assign Commands to Referral Codes
You can assign **commands** to **referral codes** to execute specific actions when a purchase is made through a **referral**. To assign a command, follow the steps below:
1. Enable the **"Enable command execution after success transaction made by using this creator code?"** toggle.
2. Scroll down to the **"Minecraft Server Commands"** section.
3. Press the **"+ Add Command"** button.
4. Configure **commands** to be executed when a purchase is made through the **referral code**.
Learn more about configuring commands for webstore.
#### Available Variables
You can use the following variables in the **command** field:
| **Variable** | **Meaning of the variable** | **Replaces with** |
| ----------------- | --------------------------- | ----------------------- |
| `{inviter}` | Inviter nickname | Inviter's nickname |
| `{inviter_uuid}` | Inviter UUID | Inviter's UUID |
| `{inviterIP}` | Inviter IP address | Inviter's IP address |
| `{referral}` | Referral username | Referral's username |
| `{referral_uuid}` | Referral UUID | Referral's UUID |
| `{referralIP}` | Referral IP address | Referral's IP address |
| `{time}` | Command execution time | Execution time |
| `{date}` | Command execution date | Execution date |
| `{currency}` | Currency | Currency name or symbol |
# Currency Management
Source: https://docs.minestorecms.com/features/settings/currency-management
Manage the primary and additional currencies for your webstore to make your customers experience more convenient.
## Introduction
The **Currency Management** section allows you to manage the primary and additional currencies for your webstore. You can set the primary currency for your webstore and add additional currencies to make the shopping experience more convenient for your customers.
The primary currency is used for displaying prices on your webstore. Additional currencies can be used to show prices in multiple currencies, allowing customers to view prices in their preferred currency.
## How to Access Currency Management?
1. Log in to your **Admin Panel**.
2. Navigate to the **Settings** tab.
3. Click on the **Currency Management** sub-tab.
## Currency Management Overview
1. **Default Currency**: Set the primary currency for your webstore. This currency will be used to display prices on your webstore.
2. **Allowed Currency List**: Add additional currencies to allow customers to view prices in multiple currencies. Customers can switch between currencies using the currency switcher on the webstore.
# Discord Settings
Source: https://docs.minestorecms.com/features/settings/discord-settings
Manage your Discord settings to integrate your webstore with Discord.
## Introduction
The **Discord Settings** section allows you to manage your Discord settings to integrate your webstore with Discord.
You can configure the **Discord settings** to enable Discord **notifications for purchases** and display the **information about Discord Server** on your webstore.
**MineStoreCMS** supports Discord **Webhooks** to send notifications to your Discord server. You need to have a Discord server and the required permissions to set up Discord Webhooks.
## How to Access Discord Settings?
Log in to your **Admin Panel**.
Go to the **Settings** section in the sidebar menu and click on **"Discord Settings"**.
## Discord Settings Overview
1. **Discord Webhook URL**: Enter the **Discord Webhook URL** to send notifications to your Discord server. You can create a new Webhook in your Discord server settings and copy the Webhook URL to paste it here.
2. **Server ID**: Enter the **Discord Server ID** to display the information about your Discord server on the webstore. You can get the Server ID from your Discord server settings.
3. **Discord Invite Link**: Enter the **Discord Invite Link** to allow customers to join your Discord server directly from the webstore.
### How to Create a Discord Webhook?
1. Open your Discord server.
2. Right-click on the channel where you want to send notifications.
3. Click on **"Edit Channel"**.
4. Navigate to the **"Integrations"** tab.
5. Click on **"Create Webhook"**.
6. Enter the **Webhook Name** and **Avatar**.
7. Copy the **Webhook URL** and paste it in the **Discord Webhook URL** field in the Admin Panel.
8. Press **"Save"** to apply the changes.
### How to Get Discord Server ID?
1. Open your Discord server.
2. Right-click on the server name.
3. Click on **"Copy ID"** to copy the Server ID.
4. Paste the Server ID in the **Server ID** field in the Admin Panel.
5. Press **"Save"** to apply the changes.
## How to Sync Discord Roles?
You can sync your Discord server roles with the webstore to manage roles and permissions. You need to set up the **Discord Bot** and **Discord Settings** to sync roles.
Learn how to set up the Discord Bot to sync roles and permissions with your webstore.
# Game Type
Source: https://docs.minestorecms.com/features/settings/game-type
Switch the visual style of player avatars between Minecraft and Hytale across your webstore.
## **Introduction**
The **Game Type** setting controls **which avatar service** the webstore uses when rendering player heads, bodies and helmets. It is purely visual — package delivery, RCON / plugin commands, and any Minecraft-specific behaviour stay untouched.
Set this once during initial setup. The choice is cached for 5 minutes after changes — a fresh switch may take a moment to propagate.
## **Choosing a Game Type**
To configure the game type:
Click on the **Admin Panel**.
Click on the **Settings** tab in the sidebar, then open the **Game Type** sub-section.
Choose **Minecraft** or **Hytale** with the radio buttons.
Click on the **Save Changes** button.
## **Available Options**
| **Game Type** | **Avatar Services Used** |
| ------------- | --------------------------------------------------------------------------------------------- |
| **Minecraft** | `mc-heads.net` (head, body) and `minotar.net` (helm, armor bust). Default for fresh installs. |
| **Hytale** | `hyvatar.io` for every avatar kind (head, body, helm, bust, guest placeholder). |
## **Where the Setting Affects Rendering**
The selected service is used everywhere the platform renders a player avatar:
* **Header / user bar** — the user's head icon in the top-right corner.
* **Admin Customers list** — head icon next to each customer row.
* **Customer detail page** — large body render at the top of the profile.
* **Statistics dashboards** — head icons in top-spender / top-player tables.
* **Checkout** — recipient avatar when buying a gift.
* **Default frontend store pages** — wherever a username is shown.
The same setting drives both server-rendered Blade avatars and the frontend's `` / `` components — switching it in one place updates the entire site.
## **For Theme Developers**
If you are building a custom theme or template, render avatars using the helper rather than hard-coding `mc-heads.net` URLs.
### Frontend components
The default Next.js frontend exposes two components in `@/components/base/avatar/`:
* **``** — client-side, reads the current game type from the settings store via the `useGameType()` hook.
* **``** — server-rendered, takes the game type as a prop.
Both delegate URL construction to the shared `buildAvatarUrl()` helper in `@/lib/avatar.ts`, which mirrors the backend `AvatarHelper` exactly.
Do **not** hard-code `mc-heads.net` or any other avatar service in your theme — when a store owner switches Game Type, hard-coded URLs will not follow and players will see a broken icon.
# Maintenance Mode
Source: https://docs.minestorecms.com/features/settings/maintenance-mode
Prevent access to view your webstore packages and categories while you perform maintenance tasks.
## How to Enable Maintenance Mode?
1. Log in to your **Admin Panel**.
2. Navigate to the **Settings** tab.
3. Click on the **General Settings** sub-tab.
4. Scroll down to the **Maintenance Mode** section.
5. Press **"Configure"** button to open modal window.
6. Toggle the **"Enable Maintenance Mode"** switch to activate the maintenance mode.
7. Enter **allowed IP addresses** to allow specific IPs to access the webstore while in maintenance mode.
8. Press **"OK"** button to apply the changes.
# General Settings
Source: https://docs.minestorecms.com/features/settings/settings
Configure your webstore settings, including the store name, logo, and favicon.
## How to Access General Settings?
1. Log in to your **Admin Panel**.
2. Navigate to the **Settings** tab.
3. Click on the **General Settings** sub-tab.
## General Settings Overview
### Webstore Name
Change the **"Webstore Name"** field to update the name of your webstore. This name will be displayed on the webstore header and in the browser tab.
### Webstore Description
Update the **"Webstore Description"** field to add a brief description of your webstore. This description will be displayed on the webstore homepage.
### Minecraft Server IP
Enter the **"Minecraft Server IP"** to display the public IP address of your Minecraft server on the webstore. This feature required to get the server status and display it on the webstore.
### Webstore Logo & Favicon & Meta Banner
Upload your **"Webstore Logo"**, **"Favicon"**, and **"Meta Banner"** images to customize the appearance of your webstore. The **"Webstore Logo"** will be displayed on the webstore header, the **"Favicon"** will be displayed in the browser tab, and the **"Meta Banner"** will be displayed on social media platforms when sharing your webstore link.
# Email Settings
Source: https://docs.minestorecms.com/features/settings/smtp-settings
Configure your SMTP settings to send emails to your customers about purchases or gift cards.
## Introduction
The **Email Settings** section allows you to configure your SMTP settings to send emails to your customers about purchases or gift cards. You can customize the SMTP settings to use your email service provider's SMTP server to send emails from your webstore.
We are not providing email services. You need to have an email service provider to use the SMTP settings.
## How to reach SMTP Settings?
1. Log in to your **Admin Panel**.
2. Navigate to the **Settings** tab.
3. Click on the **Email Settings** sub-tab.
## SMTP Settings Overview
1. **SMTP Hostname**: Enter the SMTP server address provided by your email service provider.
2. **SMTP Port**: Specify the port number for the SMTP server (e.g., `587`).
3. **SMTP User**: Enter the username for your email account.
4. **From Address**: Set the email address from which emails will be sent.
5. **SMTP Password**: Set the password for your email account.
You can test the SMTP settings by pressing the **"Test SMTP Settings"** button or by making [Manual Payment](/features/payments/manual-payment) to check if the email is sent successfully.
## **How to edit Email Templates?**
1. Open SFTP or FTP client and connect to your server.
2. Navigate to the `/var/www/minestore/resources/views/emails/` directory.
3. Edit the email template files to customize the email content.
# Staff Page
Source: https://docs.minestorecms.com/features/staff-page
You can make a public staff page to display information about your staff team members on your webstore.
## Introduction
This module allows you to create a public **Staff Page** to display information about your staff team members on your webstore (e.g., moderators, administrators, developers, etc.). The Staff Page is useful for showcasing your team members and providing transparency to your customers about the people behind the scenes.
The Staff Page module automatically works only if **Minecraft plugin** connected with the webstore by using MySQL database.
However, you can manually add staff members to the Staff Page by following the steps below.
## Configuring the Staff Page
To configure the Staff Page, follow the steps below:
Log in to your **Admin Panel**.
Navigate to the **CMS Settings > Staff Page** tab.
Toggle the **Enable this module** switch to enable the Staff Page on your webstore.
Select **Groups** that you want to display on the Staff Page. You can choose multiple groups to display.
Press **Save** to apply the changes.
You can also display user prefix before the username on the Staff Page. The user prefix is fetched from the Minecraft plugin database.
## Adding Staff Members
To add a staff member to the Staff Page, follow the steps below:
1. Scroll down to the **"Groups & Users Sorting Settings"** section.
2. Press the **+ Add a New User** button.
3. Fill in the required fields:
* **Username**: Enter the username of the staff member.
* **UUID**: Enter the UUID of the staff member.
* **Prefix**: Enter the user prefix of the staff member.
* **Group**: Select the group to which the staff member belongs.
4. Press **Save** to add the staff member to the Staff Page.
The **UUID** is a unique identifier for each Minecraft player. You can find the UUID of a player by using online services such as [NameMC](https://namemc.com/).
## Sorting Staff Members and Groups
You can sort the staff members and groups on the Staff Page just by dragging and dropping them. The order in which the staff members and groups are displayed on the Staff Page can be customized according to your preferences.
# Taxes
Source: https://docs.minestorecms.com/features/taxes
Create and collect taxes from your customers based on their location.
## **Introduction**
**Taxes** feature allows you to **create and collect taxes** from your customers based on their location by **adding percent to the final price**. You can set up tax rates for different regions and apply them to your **packages**. Taxes are automatically calculated based on the **customer's location** and the **tax rates** you have set up.
**Taxes** are **automatically calculated** based on the customer's location and the tax rates you have set up based on the **IP address of the customer**.
## **Setting Up First Tax**
To set up your first tax, follow the steps below:
Click on the **Admin Panel**.
Click on the **Taxes** tab to access the tax management area.
Press the **+ New Tax** button.
Fill in the required fields:
* **Name for tax**: Enter the name of the tax.
* **Country**: Select the country for which the tax applies.
* **Percentage**: Set the percentage of the tax.
* **Include in price**: Toggle to include the tax in the final price depending on your preference.
Click on the **Save** button to save the changes.
# Teams
Source: https://docs.minestorecms.com/features/teams
Create and manage your team members and assign them to specific tasks.
## **What is the Team Module?**
This module allows you to create and manage your team members. You can assign team members to specific tasks and **manage their permissions**. The Team module is useful for organizing your team and ensuring that each member has the necessary access to perform their tasks.
You can **prevent unauthorized access** to your application by assigning specific permissions to each team member. This ensures that only authorized team members can **access sensitive areas** of your webstore.
## **Creating a Team Member**
To create a **new team member**, follow the steps below:
1. Go to the **Admin Panel**.
2. Click on the **Team** tab to access the team management area.
3. Press the **+ New User** button.
4. Fill in the required fields:
* **Username**: Enter the username for the team member.
* **Password**: Set the password for the team member. Team members can change their password after logging in.
* **Permissions**: Specify the permissions for the team member to view, create/edit and delete components for specific modules of the webstore (e.g., `Manage Packages`, `Manage Orders`, or `Manage Users`).
# Edit Theme
Source: https://docs.minestorecms.com/features/themes/editing-theme
You can edit your theme settings to customize the appearance of your webstore.
## Introduction
You can edit your theme settings to customize the appearance of your webstore. You can change the **colors**, fonts, and other settings to match your brand.
## Theme Settings
To edit your **theme settings**:
1. In the left sidebar of the admin panel, click **Themes** tab.
2. Select the theme you want to edit.
3. Click **Edit** button.
## Recolor Theme
You can recolor your default theme to match your webstore branding and style in seconds. You just need to select the primary color, and other colors will be automatically generated based on the primary color.
Learn how to recolor your default theme to match your webstore branding and style.
## Theme Editing Tools
### Build Template
This function allows you to **build the template**. You can build the template to **apply changes after editing** the theme files.
**You need to build the template after making changes to the theme files to apply the changes to your webstore.**
You can also manually build the template by running the following command in the terminal:
```bash theme={null}
service minestore_frontend restart
```
### File Manager
File Manager allows you to edit the theme files directly. You can edit the HTML, CSS, JavaScript and Typescript files of your theme.
Learn how to use the File Manager to edit your theme files.
Join our Discord server for support and assistance.
### Frontend Application Logs
Logs allows you to view the logs of your frontend application to debug issues. You can simply press the **"View Logs"** button to view the logs for `service minestore_frontend`.
You can also manually view the logs by running the following command in the terminal:
```bash theme={null}
service minestore_frontend status
```
### Changing Default Theme Mode
You can also change the default theme mode to **"Dark"** or **"Light"** mode. This will change the default theme mode for your webstore.
1. Scroll down to the **"General Settings"** section.
2. Select the **"Theme"** you want to use - **"Dark"**, **"Light"** or **"System"** (by default `dark`).
3. Scroll down until the **"Language Settings"** section.
4. Click **"Save Changes"** button to save the changes.
### Enabling/Disabling Particle Animation
You can enable or disable the particle animation on the homepage of your webstore.
1. Scroll down to the **"General Settings"** section.
2. Toggle the **"Header Particles Animation"** switch to enable or disable the particle animation.
3. Scroll down until the **"Language Settings"** section.
4. Click **"Save Changes"** button to save the changes.
# File Manager
Source: https://docs.minestorecms.com/features/themes/file-manager
You can easily edit the theme files and upload new files using the File Manager.
## Introduction
You can easily edit the theme files and upload new files using the **File Manager**. The File Manager allows you to edit the HTML, CSS, JavaScript, and TypeScript files of your theme.
## File Manager
### Editing Theme Files
To access the **File Manager**:
Log in to your **Admin Panel**.
Navigate to the **Themes** tab and select the theme you want to edit.
Click on the **Theme File Manager** button to open the File Manager.
You can edit the theme files directly using the File Manager.
Press **Save File** to apply the changes for edited file.
The File Manager allows you to edit the theme files directly. Make sure to back up your files before making any changes.
### Uploading Files
You can also upload new files or overwrite existing files using the File Manager. To upload a file:
1. Select the **file** or **folder** where you want to upload the file.
2. Press **Right Click** and select **Upload file**.
3. Choose the file you want to upload and press **Upload**.
You can only upload files with following extensions: `png, jpg, jpeg, gif, svg, webp, css, scss, js, ts, tsx, html, json`.
# Third-Party Templates
Source: https://docs.minestorecms.com/features/themes/install-theme
You can install third-party templates to customize the appearance of your webstore after purchasing them from the marketplace.
## Introduction
You can install **third-party templates** to customize the appearance of your webstore after purchasing them from the marketplace. These templates are created by third-party developers and can be installed on your webstore to change the look and feel of your webstore.
Before installing a third-party template, make sure to **backup** your current theme settings. If you have made any customizations to your current theme, they will be lost when you install a new template.
## Install Third-Party Template
To install a **third-party template**:
1. **Purchase** a third-party template from the **[Marketplace](https://minestorecms.com/marketplace)**.
2. Make a **backup** of your current theme settings by using **SFTP** or **File Manager**. You can also press "Create a Theme" button to make a backup of your current theme settings.
3. Go to your admin panel and click on the **Themes** tab.
4. Click on the **"Install Theme"** button.
5. Wait for the theme to be installed.
After installing a third-party template, you can customize the appearance of your webstore by **editing the theme settings**.
Keep in mind that some third-party templates may require additional setup steps. Make sure to read the **documentation** provided by the template developer.
## How the Install Runs
Theme installation is **asynchronous** — the request returns immediately and a background job carries out the work. A **progress modal** in the admin shows the current stage in real time, and the page does not need to stay open for the install to complete.
The job runs through these stages in order:
| **Stage** | **What happens** |
| ---------------- | --------------------------------------------------------------------------------------------------------- |
| **Downloading** | Fetches the theme archive from the marketplace using your license key. |
| **Validating** | Validates the ZIP for size, path traversal, file types, and free disk space (requires \~3× archive size). |
| **Backing Up** | Snapshots the current theme (`frontend/` + `public/assets/`) before any file is touched. |
| **Extracting** | Replaces the live frontend with the new theme's files. |
| **Configuring** | Writes the frontend `.env` (API URL, store URL) for the new theme. |
| **Restarting** | Restarts the frontend process so the new theme is served. |
| **Health Check** | Waits for the frontend to respond as healthy before marking the install as completed. |
## Automatic Backup and Rollback
Every install **automatically backs up the current theme** before any files are replaced. You do not need to make a manual backup unless you want an extra off-server copy.
If any stage fails (download error, invalid archive, not enough disk space, broken theme files, frontend not coming back up):
1. The job is marked as **failed** with the exact error in the progress modal.
2. The previous theme is **automatically rolled back** from the backup taken in the **Backing Up** stage.
3. Your store keeps running on the previous theme — there is no broken in-between state.
## Archive Validation
The platform pre-validates the theme archive before extracting anything to prevent broken or malicious uploads:
* **Size limit** — archives over the configured maximum are rejected.
* **Path traversal protection** — entries with `..` or absolute paths are rejected.
* **File type allow-list** — only theme-relevant file types are allowed inside the archive.
* **Disk space check** — the install is refused if the host does not have at least 3× the archive size free.
A failing validation **aborts the install before any files are written**. The previous theme remains untouched — no rollback is needed.
## Logs and Install History
Every install attempt is recorded in `Themes > Logs`, including:
* The theme ID and triggering admin.
* The final status (completed / failed) and the failure reason if any.
* Per-stage messages with timestamps, useful for diagnosing issues with a specific theme.
The logs view supports **auto-refresh** and **level filters** so you can watch a long install live.
## Third-Party Templates Features
Keep in mind that some third-party templates may not include all the features of the default theme. Make sure to check the **features** of the template before purchasing it.
MineStoreCMS provides a **default theme** that includes all the features of the platform. You can use the default theme if you want to have access to all the features of the platform.
# Recolor Theme
Source: https://docs.minestorecms.com/features/themes/recolor-theme
You can recolor your default theme to match your webstore branding and style in seconds.
## Introduction
You can recolor your default theme to match your webstore branding and style **in seconds**. You just need to select **primary color** and other colors will be **automatically** generated based on the primary color.
## Recolor Theme
To recolor your **theme**:
1. In the left sidebar of the admin panel, click **Themes** tab.
2. Select the theme you want to recolor.
3. Scroll down to the **"General Settings"** section.
4. Select the **"Main Color"** you want to use by using the color picker.
5. Scroll down until the **"Language Settings"** section.
6. Click **"Save Changes"** button to save the changes.
# Collecting Data
Source: https://docs.minestorecms.com/features/transactions/collecting-data
Learn how to enable the Collecting Data module to collect additional information during checkout.
## **Introduction**
The **Collecting Data** module allows you to collect additional information from customers during the checkout process. You can enable this module to **collect data** such as the **email address**, **full name**, and **billing address** of the buyer. This information is useful to prevent chargeback and **authorize clients**.
That's how it looks during the **checkout process**:
## **Enabling Collecting Data**
To enable the **Collecting Data** module, follow the steps below:
Click on the **Admin Panel**.
Click on the **Transactions** tab to access the transaction management area.
Toggle the **Enable Collecting Client's Data** switch to enable the module.
**Personal Data** you collect during the checkout process only available for your and for your store. **We do not store any data.** So, you are responsible for the data you collect.
# Commands History
Source: https://docs.minestorecms.com/features/transactions/commands-history
Commands History displays information and status of commands attached to the transaction.
## **Introduction**
The **Commands History** section displays all commands executed for the transaction. You can view the **command name, package, server, status, and execution date**.
## Resend Commands
You can also **resend specific commands** or **all commands** attached to the transaction. To resend command, just press the **Resend** button.
# Manual Payments
Source: https://docs.minestorecms.com/features/transactions/manual-payment
Create Manual Payments for your customers to pay for their orders.
## **Creating Manual Payment**
1. Go to the **Admin Panel**.
2. Click on the **Transactions** tab to access the transaction management area.
3. Press the **+ Add Manual Payment** button.
4. Fill in the required fields:
* **Username**: Enter the username of the customer.
* **Transaction Price**: Set the amount that transaction will be made.
* **Description**: Enter a description for the manual payment.
* **Email**: Enter the email of the customer.
* **Payment Method**: Select the payment method for the manual payment.
* **Note** (`optional`): Add any additional notes for the manual payment.
* **Transaction ID** (`optional`): Enter the transaction ID for the manual payment.
5. Select **Packages To Deliver**.
6. Toggle the **"Execute commands attached to selected packages"** in case you want to execute commands after the payment is made.
7. Toggle the **"Send email to the customer"** in case you want to email the customer.
8. Press the **+ Create a Payment** button.
Learn more about the Transactions module.
# Overview
Source: https://docs.minestorecms.com/features/transactions/overview
Learn about the key features of the Transactions module.
## **Introduction**
**Transactions** is a core module that allows you to manage all transactions made on your webstore. You can view detailed information about each transaction, including the **information of the buyer**, **payment method**, **transaction status**, **commands history**, and more.
**Transactions** module allows you to **view detailed information** about each transaction made on your webstore.
## Transactions Overview
### Transactions List
The **Transactions** list displays all transactions made on your webstore. You can access the **Transactions** list by navigating to the **Transactions** tab in the **Admin Panel**.
All **"Pending"** payments getting **automatically removed** after **short period** of time. If you want to keep them, you can change the status to **"Completed"**.
### Transaction Details
You can view detailed information about each transaction by clicking on the transaction in the **Transactions** list. The transaction details page provides information about the buyer, payment gateway, transaction status, payment amount, and more.
#### **Buyer Information**
* **Transaction ID**: Unique identifier for the transaction.
* **Transaction Status**: Current status of the transaction (e.g., **Pending**, **Completed**, **Error**, **Chargeback**).
* **Payment Gateway**: Payment gateway used for the transaction (e.g., **PayPal**, **Stripe**, **Coinbase**, **MercadoPago** etc.).
* **Transaction Amount (Price)**: Total amount paid by the buyer.
* **Taxes**: Taxes applied to the transaction (if any are set up).
* **Date**: Date and time when the transaction was made.
* **Username**: Username of the buyer.
* **UUID**: Unique identifier for the buyer.
* **IP Address**: IP address of the buyer.
* **Email**: Email address of the buyer.
* **Full Name**: Full name of the buyer.
* **Billing Address**: Billing address of the buyer.
**Email**, **Full Name**, and **Billing Address** are only available if you have the **"Collecting Data"** module enabled.
Learn how to enable the **Collecting Data** module to collect additional information during checkout.
#### **Commands History**
The **Commands History** section displays all commands executed for the transaction. You can view the command name, status, and execution date.
Learn more about the **Commands History** and how to view executed commands for transactions.
#### **Referrals**
The **Referrals** section displays information about the referral code used for the transaction. You can view the referrer's name, code, and reward percentage.
Learn more about the **Referral System** and how to set up referral codes for your webstore.
#### **Packages**
The **Packages** section displays information about the package purchased in the transaction. You can view the package name, price, quantity, and total amount.
#### **Applied Coupons**
The **Applied Coupons** section displays information about the coupons applied to the transaction. You can view the coupon code, discount amount, and total amount after the discount.
#### **Used Gift Cards**
The **Used Gift Cards** section displays information about the gift cards used for the transaction. You can view the gift card code, amount, and total amount after the gift card discount.
#### **Notes**
The **Notes** section allows you to add notes to the transaction. You can add notes to the transaction to keep track of important information.
Only admins can view and add notes to the transaction.
# Variables
Source: https://docs.minestorecms.com/features/variables
Variables are used to attach dynamic data to your packages. You can allow your customers to customize their packages by setting up variables like player name, color, or size.
## **What are Variables?**
The **variable feature** allows you to request **custom information from the customer**. For example, you can ask which prefix the customer wants for their VIP rank. To do this, configure the `{custom_prefix}` variable and add it to the command for execution. We'll guide you through using variables to set up the `{custom_prefix}` option.
## **Creating Variable**
To create a **new variable**, follow the steps below:
Navigate to the **Admin Panel** of your webstore.
Click on the **Variables** tab to access the variable management area.
Press the **+ Create a Variable** button.
Complete the following fields:
* **Name**: Enter the name of the variable (e.g., `Custom Prefix`).
* **Description**: Add a description of the variable (optional).
* **Variable Identifier**: Specify the variable identifier (e.g., `custom_prefix`).
* **Variable Type**: Choose the type of variable (e.g., `Input Text`, `Input Digit`, or `Dropdown`).
Press the **Save** button to create the new variable.
## **Dropdown Variable**
In case if you want to create a dropdown variable, you also need to add options to the variable. Here's how you can do it:
1. Scroll down to the **Variable Options** section after selecting the `Dropdown` variable type.
2. Press the **+ Add Variable Option** button.
3. Fill in the **Option Name** field with the name of the option that will be displayed to the customer (e.g., `Red`).
4. Fill in the **Option Value** field with the value that will be used in the command (e.g., `red`).
5. Fill in the **Additional Fee** field with the price that will be added to the package price if the customer selects this option (optional, can be empty).
## **Using Variables in Packages**
After creating the variable, you can add it to your **package's command**. You just simply need to add the variable identifier to the command.
Here's an example of how you can use the `{custom_prefix}` variable in a package command:
```bash theme={null}
lp user {username} set prefix {custom_prefix} {group}
```
# Virtual Currency
Source: https://docs.minestorecms.com/features/virtual-currency
You can let your customers purchase items using virtual currency that they earned on your Minecraft server.
## Introduction
**Virtual Currency** is a great way to let your customers purchase items using virtual currency that they earned on your Minecraft server. You can make packages that can be **purchased only** with virtual currency. It motivates players to **earn more virtual currency** and spend it on your webstore.
**Virtual Currency is not real money**. It is a virtual currency that players earn on your Minecraft server. They can use this virtual currency to purchase items on your webstore.
You need to have a **Minecraft server** with a **Vault-hooked economy plugin** and **MineStore Plugin** installed and configured to **webstore MySQL** to use the Virtual Currency feature.
## How to Enable Virtual Currency
To enable this feature:
1. Go to the **Settings > Currency Management** tab in the sidebar.
2. Scroll down to the **Virtual Currency** section.
3. **Enable** the **Virtual Currency** option.
4. Give a **name** to the virtual currency (e.g., `Coins`, `Tokens`, `KQ`, etc.).
5. Configure command to **charge** the virtual currency from the player when they purchase a package on the Minecraft server. (e.g., `eco remove {username} {amount}`).
You can use **placeholders** in the command to charge the virtual currency. For example, `{username}` will be replaced with the player's username, and `{amount}` will be replaced with the package price.
You need to connect your webstore to the Minecraft server to use the Virtual Currency feature.
## Security Recommendations
We highly recommend you to use **Virtual Currency** feature with caution. Here are some security recommendations to keep in mind:
1. Configure **secure connection** between your webstore and Minecraft server through MySQL by whitelisting IPs.
2. Enable **In-Game Verification** auth method to verify the player's identity before let them purchase packages with virtual currency.
Enable In-Game Auth Verification to verify the player's identity before logging in to the webstore.
# API Reference
Source: https://docs.minestorecms.com/frontend/api-reference
Learn more about MineStoreCMS REST API Endpoints and how to use them.
This documentation **may contain mistakes or inaccuracies**. Please, report **any issues to us**, and we will fix them as soon as possible.
If you have any questions or need help, **please feel free to reach out to us.**
### Welcome
Press the **button below** to view the **API Reference**.
Learn more about the API Endpoints.
# Default Template
Source: https://docs.minestorecms.com/frontend/default-template
Learn more about MineStoreCMS Default Template.
## **MineStoreCMS Default Template**
**Default Template** built with **TailwindCSS** and **Next.js**. It is a **fully responsive** template that works on all devices. The template is **highly customizable** and **easy to use**.
It contains all available features for **MineStoreCMS**.
## Boilerplate Template (Sandbox)
You can get the **Boilerplate Template** of the default template from the [GitHub Repository](https://github.com/MineStoreCMS/minestore-next-official).
**Features:**
* Utilizes the Next.js framework for efficient and scalable frontend development.
* Seamlessly integrates with MineStoreCMS Software, providing a robust foundation for building engaging user interfaces.
* Easy setup and deployment with simple commands.
**Getting Started:**
1. Install dependencies: `pnpm install`
2. Build the project: `pnpm run build`
3. Start the application: `pnpm run start`
**Developer Mode:**
To leverage developer mode and streamline your development workflow, use the following command: `pnpm run dev`
**Acknowledgments:**
We extend our sincere gratitude to TripleZone for their dedication and valuable contributions to enhancing the MineStore ecosystem. Together, we empower the MineStore Community with innovative solutions and collaborative efforts.
Experience the power of Next.js and elevate your MineStore frontend development with this official template!
*(Replace `pnpm` with your preferred package manager if necessary.)*
# Overview
Source: https://docs.minestorecms.com/frontend/overview
Learn more about MineStoreCMS Frontend Application.
## **MineStoreCMS Frontend**
**Technical Overview:**
1. **Language**: JavaScript (TypeScript)
2. **Framework**: Next.js 14.x^ (Latest for v14)
3. **Database**: None (Uses RESTful API)
4. **Operating System Services**: `minestore_frontend` (Frontend & Updater Service).
5. **Location**: `/var/www/minestore/frontend`.
6. **Environment File**: `.env` (Contains webstore URL (REST API) for `NEXT_PUBLIC_API_URL`).
## How to Restart Frontend Service?
There are two ways to restart the frontend service: [Using the Admin Panel](/features/themes/editing-theme) or Manually by running the following command:
```bash theme={null}
sudo systemctl restart minestore_frontend
```
## How to Debug Frontend Application?
You can debug the frontend application by viewing the logs in [Admin Panel](/features/themes/editing-theme#frontend-application-logs). You can also view the logs by running the following command in the terminal:
```bash theme={null}
sudo systemctl status minestore_frontend
```
## How to Edit Frontend Theme?
You can edit the frontend theme by using the [File Manager](/features/themes/file-manager) in the Admin Panel. You can edit the HTML, CSS, JavaScript and TypeScript files of your theme.
You can also [recolor your default theme to match your webstore branding and style in seconds](/features/themes/recolor-theme). You just need to select the **primary color**, and other colors will be automatically generated based on the primary color.
If you need to fully rework template and want to keep `NextJs` Framework, you can get [Sandbox Template](https://github.com/MineStoreCMS/minestore-next-official) of the frontend application and run it **locally**.
# Webstore Setup
Source: https://docs.minestorecms.com/installation/configuration
Configure your webstore by following the steps in the documentation after installation.
## **Access Configuration Page**
To access the configuration (installation) page, navigate to your webstore URL and append `/install` to the end of the URL. For example, if your webstore URL is `https://example.com`, you would navigate to `https://example.com/install`.
## **Configuration Steps**
The configuration page will guide you through the process of setting up your webstore. You will be asked to enter information about your webstore, upload logo, setup Discord integration and etc.
## 1. **Diagnostic Check**
Usually, the first step is a diagnostic check to ensure that installer installed all required software and extensions. If there are any issues, you will be prompted to resolve them before continuing.
1. **License Key**: Enter your MineStoreCMS license key if it is not already filled in.
2. **PHP Timezone**: Make sure PHP timezone extension is enabled and working.
3. **PHP Version**: Make sure your server is running PHP 8.2 FPM.
Join our Discord server for support and assistance.
## 2. **Webstore Information**
1. **Webstore Name**: Enter the name of your webstore.
2. **Webstore Description**: Enter a brief description of your webstore for SEO purposes.
3. **Primary Currency**: Select the main currency for your webstore.
4. **Primary Language**: Select the primary language for your webstore.
5. **Webstore Logo**: Upload a logo for your webstore.
## 3. **Monitoring Details**
1. **Minecraft Server IP**: Enter the domain (or IP address) of your Minecraft server.
2. **Minecraft Server Port**: Enter the port of your Minecraft server (by default \`25565).
3. **Discord Server ID**: Enter the ID of your Discord server.
4. **Discord Invite URL**: Enter the invite URL of your Discord server.
5. **Discord Webhook URL**: Enter the webhook URL of your Discord server.
* Open Discord and go to **your** server.
* Go to **Server Settings > Integrations > Webhooks**.
* Click **"New Webhook"**.
* Name your webhook, select a channel, and optionally set an avatar.
* Click **"Copy Webhook URL"**.
* **Save Changes**.
6. **Sharing Metrics**: Enable or disable sharing metrics with MineStoreCMS.
## 4. **Database Configuration**
If your server was clean before installing MineStoreCMS, the installer will automatically create the necessary database and user for you, unless an issue occurs.
**You don't need to do anything here.**
However, you can manually configure database settings if you want to use an existing database.
1. **Database Host**: Enter the hostname of your database server.
2. **Database Port**: Enter the port of your database server (by default `3306`).
3. **Database Name**: Enter the name of the database you want to use.
4. **Database User**: Enter the username of the database user.
5. **Database Password**: Enter the password of the database user.
If you had already configured database server before installing MineStoreCMS, you need to [manually create](https://test.com/) a database and user for MineStoreCMS.
## 5. **Admin Account**
1. **Admin Username**: Enter the username for the admin account.
2. **Password**: Enter the password for the admin account.
3. **Password Confirmation**: Confirm the password for the admin account.
## 6. **Restart Server**
After you have completed all steps, you need to restart your server to apply the changes. You can do this by running the following command in your terminal:
```bash theme={null}
reboot
```
## 7. **Installation Complete**
If all steps are completed successfully, you will see a success message and a button to navigate to your webstore and admin panel.
However, if there are any issues, you need to resolve them before continuing. You need to check most common installation issues below and if you can't resolve them, you can ask for help in our [Discord Support Server](https://minestorecms.com/discord).
Check most common installation issues and how to resolve them.
Join our Discord server for support and assistance.
# Pointing Domain to VPS
Source: https://docs.minestorecms.com/installation/configuring-dns
After you purchased a VPS, you need to configure the DNS settings to point your domain to the VPS IP address.
Before installing **MineStoreCMS**, you need to configure your domain’s DNS settings.
We recommend using **Cloudflare** as your DNS provider.
## **Cloudflare Benefits**
* **Security**: Cloudflare provides protection against DDoS attacks, SQL injection, and other threats.
* **Performance**: Cloudflare uses a global network of servers to cache and deliver content faster.
* **Reliability**: Cloudflare’s network is highly available and resilient.
* **Analytics**: Cloudflare offers detailed insights on your website’s traffic and performance.
* **Free SSL**: Cloudflare provides free SSL certificates to secure your website.
* **DNS Management**: Cloudflare has a user-friendly interface for managing your DNS records.
## **Configuring DNS with Cloudflare**
Cloudflare is a popular DNS provider that offers a range of services to secure and optimize your website. To configure your domain with Cloudflare, follow these steps:
Visit the Cloudflare website and click on the **Sign Up** button to create an account. Enter your email address and create a password to complete the sign-up process.
After registering, click **"Add a Site"** to add your domain name to Cloudflare. Follow the on-screen instructions to input your domain into the system.
Update your domain's nameserver (NS) records to the addresses provided by Cloudflare. This is done in the domain management panel of your domain registrar.
Once the nameservers have been updated, configure the DNS records for your domain in the Cloudflare dashboard. Add the necessary records such as A, CNAME, and MX records.
To use **MineStoreCMS**, add an **A record** for your domain that points to the IP address of your **VPS** server. Optionally, add a **CNAME record** for the `www` subdomain to redirect traffic from `www.example.com` to `example.com`.
You can find your VPS IP address in the server management panel of your hosting provider or email you received from them.
**Examples:**
**For root domain (`example.com`):**
* **Type**: A
* **Name**: @
* **Value**: VPS IP Address
**For subdomain (`store.example.com`):**
* **Type**: A
* **Name**: store
* **Value**: VPS IP Address
After completing the steps, check your Cloudflare account to ensure your domain’s status is shown as **‘Active’**. This indicates that Cloudflare is successfully managing your domain.
Cloudflare provides free SSL certificates for your domain. To enable SSL, go to the **SSL/TLS** section in the Cloudflare dashboard and select the **Full** SSL mode.
## **Configuring DNS with Other Providers**
If you are using a different DNS provider, the steps may vary. However, the general process involves updating your domain’s nameservers and configuring the DNS records for your domain.
Log in to your domain registrar’s website and update the nameservers to the addresses provided by your DNS provider. This is usually done in the domain management panel.
After updating the nameservers, configure the DNS records for your domain. Add the necessary records such as A, CNAME, and MX records based on your hosting provider’s requirements.
Add an **A record** for your domain that points to the **IP address of your VPS**.
Check your domain’s DNS settings to ensure the changes have been applied correctly. You can use online tools like **DNS Lookup** to verify the DNS records for your domain.
If you encounter any issues while configuring your domain’s DNS settings, contact your DNS provider’s support team for assistance.
Install webstore on your server with a few simple commands by using our installer.
# Docker Installation
Source: https://docs.minestorecms.com/installation/docker
Install MineStoreCMS as a Docker or Podman container — an alternative to the bare-metal installer for users who prefer container workflows or need multi-instance hosting on a single VPS.
## **Introduction**
The **Docker install path** is an additional way to install MineStoreCMS alongside the bare-metal **[installer.sh](/installation/installation)**. It packages the full stack (nginx, php-fpm, Next.js, workers, scheduler, Discord bot) into a single application container that talks to a separate **MariaDB** container.
Docker mode supports **multiple isolated instances** on the same VPS out of the box — useful if you host more than one store from a single server.
Both **Docker** and **Podman** runtimes are supported. The installer auto-detects which one you have and uses the appropriate `compose` command.
## **Requirements**
* A VPS running **Ubuntu 22.04+ / Debian 12+** or **RHEL 9 / Rocky 9 / AlmaLinux 9**.
* Root access (or a user with `sudo`).
* A valid **MineStoreCMS license key**.
* Optional but recommended: a domain pointing to your VPS for SSL.
The installer pulls in **Docker 20.10+** (or **Podman 4.x+**) and the `compose` plugin automatically as part of the dependency step below.
## **Installation**
The installer is a **6-step interactive wizard**: instance name → license → domain → reverse-proxy choice → DB mode → confirm.
SSH into your VPS as `root` or a user with `sudo` privileges.
```bash theme={null}
sudo apt-get update
sudo apt-get install -y \
git docker.io docker-compose-plugin \
gettext-base iproute2 curl
sudo systemctl enable --now docker
```
```bash theme={null}
sudo dnf install -y \
git docker docker-compose-plugin \
gettext iproute curl
sudo systemctl enable --now docker
```
`gettext` / `gettext-base` provides `envsubst`, which the installer uses to render the `docker-compose.yaml` template. `iproute2` provides `ss`, used for port-collision checks.
```bash theme={null}
sudo git clone https://github.com/MineStoreCMS/minestorecms-container.git /srv/minestorecms-src
```
```bash theme={null}
cd /srv/minestorecms-src
sudo bash installers/docker-installer.sh
```
Enter the **instance name** (e.g. `greencraft`), your **license key**, the **domain** you want to use, and pick a **reverse-proxy** option (see below).
The first build takes **3–5 minutes** — the image fetches the tarball for your license, installs system packages, Composer dependencies and the frontend.
Once the wizard finishes, open `https:///admin` and complete the in-browser setup.
**Need SSL via Let's Encrypt?** If you plan to pick the `certbot` option in the wizard, install `certbot` and the matching plugin first:
```bash theme={null}
# Nginx
sudo apt-get install -y certbot python3-certbot-nginx
# Apache
sudo apt-get install -y certbot python3-certbot-apache
```
Caddy and "Install Caddy" options issue certs automatically — no `certbot` needed.
## **Reverse-Proxy Options**
The installer can generate a host-level vhost for several web servers, or skip proxying entirely if you handle TLS upstream (e.g. Cloudflare).
| **Option** | **Best for** |
| ----------------- | -------------------------------------------------------------------------------------------- |
| **Caddy** | The simplest option — auto-issues a Let's Encrypt certificate, no extra steps. |
| **Install Caddy** | If no web server is running, the installer installs Caddy and configures it. |
| **Nginx** | Generates an `nginx` vhost and runs `certbot --nginx -d ` if you choose certbot SSL. |
| **Apache2** | Generates an `apache2` vhost and runs `certbot --apache -d ` if you choose certbot. |
| **Skip** | The container only binds to `127.0.0.1:` — route to it from your own proxy. |
When the host **already runs** a web server, the installer detects it and marks that option as **(Recommended)** — pressing Enter accepts the recommendation.
## **Day-2 Operations — `minestore` CLI**
After installation, the host exposes a `minestore` command for ongoing operations.
```bash theme={null}
sudo minestore list # all instances on this host
sudo minestore status # container health
sudo minestore logs [service] # tail container logs
sudo minestore artisan # run any artisan command
sudo minestore update # rebuild image + restart (preserves data)
sudo minestore backup # tarball of all volumes + db dump
sudo minestore restore --from
sudo minestore destroy # remove one instance
sudo minestore uninstall # remove ALL instances and the CLI
sudo minestore proxy create|regenerate|remove|list
sudo minestore install-systemd # autostart units (Podman)
```
## **Multi-Instance Hosting**
Each instance lives under `/opt/minestore//` with its own `docker-compose.yaml`. Compose project names are auto-prefixed as `minestore-`, so containers, networks and volumes from different instances **never collide**.
**Example — running GreenCraft and RedCraft on the same VPS:**
```bash theme={null}
sudo minestore create greencraft # picks port 80 if free
sudo minestore create redcraft # offers a high port (e.g. 18001) or
# installing Caddy as a shared front-end
```
The first instance takes port `80` by default. The installer offers to install Caddy and route by domain for subsequent instances.
## **Updating**
```bash theme={null}
sudo minestore backup
sudo minestore update
```
`update` runs `compose build --no-cache` — the image fetches the latest tarball for your license, the entrypoint runs `artisan migrate --force`, and the frontend is rebuilt only when `package.json` actually changed. All persistent state (database, `.env`, uploads, installed theme) survives the rebuild because it lives in **named volumes**.
Auto-update via the admin **"Upgrade"** button is **disabled** in Docker mode — it would write to the immutable image layer. Use `sudo minestore update ` from the host instead.
## **Persistent Data**
The following volumes survive container rebuilds:
| **Volume** | **Contents** |
| ------------ | ----------------------------------------------------- |
| `env` | Your Laravel `.env` file. |
| `storage` | Laravel `storage/` (logs, sessions, framework cache). |
| `pub-img` | User-uploaded images under `public/img/`. |
| `pub-assets` | Theme assets and other generated files. |
| `frontend` | Installed frontend (default theme or a third-party). |
| `db-data` | MariaDB data directory. |
## **Backups**
`minestore backup ` creates a single tarball containing:
* An atomic snapshot of every named volume above.
* A `mysqldump` of the database.
Restore with `minestore restore --from `. The restore replaces the current state — back up beforehand if you want to keep it.
## **Podman Notes**
**Rootful Podman** is recommended (`sudo bash docker-installer.sh`). Rootless Podman cannot bind to privileged ports (80/443) without:
```bash theme={null}
sudo sysctl net.ipv4.ip_unprivileged_port_start=80
```
* `HEALTHCHECK` is preserved because the installer passes `--format=docker` to `podman compose build`.
* For boot-time autostart: `sudo minestore install-systemd ` generates Podman systemd units under `/etc/systemd/system/`.
* **SELinux** — the default named volumes are unaffected by SELinux labels. If you switch to bind mounts, append `:Z` to each mount.
## **Troubleshooting**
Run `sudo minestore logs `. The most common causes are: the DB container not yet ready, an invalid license key, or first-run `pnpm install` timing out on a slow disk.
DNS for the domain is not yet pointing to the host, or port 80 is firewalled. Fix DNS and then `sudo minestore proxy regenerate `.
Expected — auto-update is disabled in container mode. Run `sudo minestore update ` from the host instead.
Confirm `compose build` actually re-fetched the tarball — `--no-cache` is used automatically by `minestore update`. Verify the running version with `sudo minestore artisan "about"`.
## **Next Steps**
Configure your webstore by following the post-install setup.
Install the plugin or use RCON to connect your Minecraft server.
# Installation
Source: https://docs.minestorecms.com/installation/installation
MineStoreCMS provides an easy-to-use installer that allows you to install webstore on your server with a few simple commands.
## **Introduction**
To install **MineStoreCMS** on your server, follow the steps below. Before you begin, ensure that your server meets the [requirements](/installation/requirements).
Prefer a containerized stack or planning to run **multiple stores on one VPS**? See the [Docker installation guide](/installation/docker) as an alternative to the bare-metal installer described on this page.
**Recommended software** for connecting to your server and installing MineStoreCMS:
1. **[MobaXterm](https://mobaxterm.mobatek.net/download.html)** (Windows) / **[Terminal](https://support.apple.com/guide/terminal/welcome/mac)** (macOS)
2. **Notepad++** (Windows) / **[Visual Studio Code](https://code.visualstudio.com/download)** (Windows, macOS, Linux)
## **Connect to Your VPS Server**
You'll need to connect to your VPS server via **SSH**. If you're unfamiliar with the process, follow these steps:
1. Open **MobaXterm** or **Terminal**.
2. Click on the **"Session"** button located in the top left corner of the MobaXterm window.
3. Click on the **"SSH"** button.
4. Enter your server **IP address** in the **"Remote host"** field.
5. Enter your server **username** in the **"Username"** field.
6. Click on the **"OK"** button.
7. Enter your server **password** when prompted.
8. You are now connected to your server via **SSH**.
## **Installation Steps**
To install **MineStoreCMS** on your VPS, simply run the following command in your terminal:
```bash theme={null}
bash <(curl -s https://minestorecms.com/installer.sh)
```
The installer will guide you through the process. You will be asked to enter your **license key**, **domain name**, and other necessary details during the installation.
## **Post-Installation Steps**
After the installation is complete, you need to fully restart your VPS server. You can do this by running the following command in your terminal:
```bash theme={null}
reboot
```
## **Alternative: Docker Install**
If you prefer a **containerized stack**, want to **run multiple stores on one VPS**, or run **Podman** instead of Docker, use the Docker install path. The image is OCI-compliant and the installer auto-detects the runtime.
Install MineStoreCMS as a container with an interactive wizard, a `minestore` CLI for day-2 ops, and a reverse-proxy generator for Caddy / Nginx / Apache2.
## **Next Steps**
Configure your webstore by following the steps in the documentation after installation.
Install the required plugin to connect your Minecraft server with MineStoreCMS or use RCON.
# Installation Issues
Source: https://docs.minestorecms.com/installation/installation-issues
Check most common installation issues and how to resolve them.
## 1. How I can manually create database and user for MineStoreCMS?
Make sure you have a database server installed on your server. You can use MySQL, MariaDB, or any other database server that is supported by MineStoreCMS.
To manually create a database and user for MineStoreCMS, follow the steps below:
```bash theme={null}
# Log in to your database server
sudo mysql
```
```sql theme={null}
CREATE DATABASE minestore;
CREATE USER 'minestore_user'@'%' IDENTIFIED BY 'YOUR_MYSQL_PASSWORD';
GRANT ALL PRIVILEGES ON minestore.* TO 'minestore_user'@'%';
FLUSH PRIVILEGES;
```
Replace `minestore`, `minestore_user`, and `YOUR_MYSQL_PASSWORD` with your desired database name, username, and password. If you host your Minecraft and database server on the same machine, you can use `localhost` instead of `%`.
## 2. How I can recreate the database and user for MineStoreCMS?
If you want to recreate the database and user for MineStoreCMS, follow the steps below:
```bash theme={null}
# Log in to your database server
sudo mysql
```
```sql theme={null}
DROP DATABASE minestore;
CREATE DATABASE minestore;
DROP USER 'minestore_user'@'%';
CREATE USER 'minestore_user'@'%' IDENTIFIED BY 'YOUR_MYSQL_PASSWORD';
GRANT ALL PRIVILEGES ON minestore.* TO 'minestore_user'@'%';
FLUSH PRIVILEGES;
```
## 3. ERR\_TOO\_MANY\_REDIRECTS Issue (Cloudflare)
If you are using Cloudflare and facing `ERR_TOO_MANY_REDIRECTS` issue, it means, that you're probably using "Flexible" Cloudflare mode and MineStore SSL certificate.
To resolve this issue, follow the steps below:
1. Login to **Cloudflare Account & Select the domain**.
2. Go to **Pages > Rules**
3. Create a rule and fill it with your store URL with the /\* at the end. Example: **store.example.com/\*.**
4. Set the **"SSL"** to **"Full"** mode for this rule.
5. **Save the rule.**
## 4. How to get SSL Certificate for my domain?
You can get a **free SSL certificate** for your domain by using Let's Encrypt or Cloudflare.
```bash theme={null}
certbot --nginx
```
Follow the on-screen instructions to generate an SSL certificate for your domain.
## 5. My webstore is not loading after installation but I can access the admin panel.
If you can access the admin panel but the webstore is not loading, it means there is an issue with frontend application.
1. Make sure you have **SSL certificate** installed on your server.
2. Make sure you **restarted VPS server after installation**.
3. Get **logs** from the frontend application to see the error by running the following command:
```bash theme={null}
cd /var/www/minestore
service minestore_frontend status
```
If you can't resolve the issue, you can ask for help in our [Discord Support Server](https://minestorecms.com/discord) by providing the error logs.
# Adding Minecraft Server
Source: https://docs.minestorecms.com/installation/minecraft-server
Learn how to connect your Minecraft servers to MineStoreCMS.
Download the official MineStoreCMS plugin for your Minecraft server.
## **Introduction**
**MineStoreCMS** need to connect to your Minecraft server to execute commands and get information about the server. To connect your Minecraft server to MineStoreCMS, you need to install the **MineStoreCMS plugin** on your Minecraft server.
## **How to add Minecraft Server?**
1. **Login to your Admin Panel**: Go to your MineStoreCMS Admin Panel and login with your credentials.
2. **Navigate to Minecraft Servers Tab**: Follow the path `Settings > Minecraft Servers`.
3. **Add New Minecraft Server**: Click on the `Add a New Server` button.
4. **Select Delivery Method**: Choose the delivery method for your server. You can choose between **Plugin (recommended)** or **RCON**.
## **Plugin Delivery Method (Recommended)**
1. **Server Name**: Enter the name of your server.
2. **Server Secret Token**: Generate a secret token for your server. This token will be used to authenticate your server with MineStoreCMS.
3. **Install Plugin**: Download the official MineStoreCMS plugin and install it on your Minecraft server.
4. **Webstore & Server Connection**: Press **"Next"** to receive command instructions to run on your Minecraft server.
5. **Execute Commands**: Run the commands on your Minecraft server console to connect your server with MineStoreCMS.
6. **Verify Connection**: Press **"Test Plugin Connection"** button to check if your server is connected successfully.
If you use Cloudflare and facing `API Key is invalid` issue, you need add a new rule in your Cloudflare account. Follow the [guide to resolve the issue](https://minestorecms.com/docs/faq#cloudflare-api-key-invalid)
## **RCON Delivery Method**
1. **Server Name**: Enter the name of your server.
2. **RCON Host IP**: Enter the IPv4 address of your Minecraft server.
3. **RCON Port**: Enter the RCON port of your Minecraft server.
4. **RCON Password**: Enter the RCON password of your Minecraft server.
5. **Webstore & Server Connection**: Press **"Next"** to receive command instructions to run on your Minecraft server.
# Requirements
Source: https://docs.minestorecms.com/installation/requirements
Before you start installing MineStoreCMS, make sure your Virtual Server (VPS) meets the following requirements.
## VPS Specifications
Before you start installing MineStoreCMS, make sure your server meets the following requirements:
**VPS Specifications:**
* 2GB RAM
* 1 CPU Cores
* 10GB Disk Space
**Note:**
1. You can not install **MineStoreCMS** on web-hosting or shared hosting. You need a VPS or Dedicated Server to install **MineStoreCMS**.
2. The above specifications are the **recommended minimum requirements**. You can install **MineStoreCMS** on a server with higher specifications for better performance.
3. If you are using a server with lower specifications, you may face performance issues.
4. You still can install **MineStoreCMS** on a server with **lower specifications**, but it is **not recommended**.
5. You can't install **MineStoreCMS** on the same server with a web server panel (i.e. Plesk, cPanel, etc.).
6. We do not support **Apache 2** web server due the limitation from Apache 2 regardless `ProxyPassMatch` issues. You need to use **Nginx** to receive official support.
## Operating System
| OS | Version | Supported |
| ---------- | ------- | --------- |
| **Ubuntu** | 18.04 | ❌ |
| | 20.04 | ⚠️ |
| | 22.04 | ✅ |
| | 23.04 | ✅ |
| | 24.04 | ✅ |
| **Debian** | 8 | ❌ |
| | 9 | ✅ |
| | 10 | ✅ |
| | 11 | ✅ |
| | 12 | ✅ |
| **CentOS** | 8^+ | ❌ |
## Software Requirements
There are **no strict limits** about installed software, since we install all required software during the installation process.
MineStoreCMS could be installed on the same server with Pterodactyl.
If you use any sort of web server panel (i.e. Plesk, cPanel, etc.), you should install MineStoreCMS on a separate server.
# Introduction
Source: https://docs.minestorecms.com/introduction
Welcome to MineStoreCMS Documentation. Here you will find all the information you need to get started with MineStoreCMS starting from installation to customization.
[//]: # "
"
[//]: # "
"
## What is MineStoreCMS?
**MineStoreCMS** is the next generation of **Self-Hosted Minecraft Server Webstore**. It is a modern, fast, and easy-to-use webstore that allows you to sell **digital products** on your Minecraft server. It is built with the latest technologies and is designed to be easy to use and customize.
## Getting Started
To get started with **MineStoreCMS**, you need to [purchase](https://minestorecms.com/dashboard) and install it on your server. You can follow the steps below to install **MineStoreCMS on your server**.
Make sure your VPS Server meets the requirements for MineStoreCMS
Install webstore on your server with a few simple commands by using our installer
Configure your Minecraft server to work with MineStoreCMS by using our official plugins or RCON connection
# Overview
Source: https://docs.minestorecms.com/plugin/overview
Learn more about the Official MineStoreCMS Minecraft Plugin.
# Table of Contents
1. [Configuration](#configuration)
2. [Permissions](#permissions)
3. [Placeholders](#placeholders)
## Configuration
### config.yml
```yaml theme={null}
# MineStore Configuration
# This is the configuration file for MineStore.
# Only enable debug if requested by a MineStore developer.
debug: false
# This is the language that is used by the plugin. This config option is required. Available languages: en_US, cs_CZ, ru_RU, ua_UA but you can create your own language file.
language: en_US
# Store URL is the URL to your MineStore website. This config option is required.
store-url: "https://store.example.com"
weblistener:
secret-enabled: false
# This is the secret key that is used to authenticate the webhooks. This config option is required if secret-enabled is set to true.
secret-key: extraSecretKey
api:
key-enabled: false
# This is the secret key that is used to authenticate the API. This config option is required if key-enabled is set to true.
key: apiSecretKey
# From this point on, all config options are optional.
auth:
# This is the amount of time in seconds that the player has to authenticate their Minecraft account with MineStore website.
timeout: 300
store-command:
# If this config option is set to true, the player will be sent a link to the MineStore website when they run the /minestore store command.
enabled: false
mysql:
# If this config option is set to true, the plugin will use MySQL database to store data.
enabled: true
# This is the host of the MySQL database. This config option is required if MySQL is enabled.
ip: localhost
# This is the port of the MySQL database. This config option is required if MySQL is enabled.
port: 3306
# This is the username of the MySQL database. This config option is required if MySQL is enabled.
username: root
# This is the password of the MySQL database. This config option is required if MySQL is enabled.
password: superSecretPassword
# This is the name of the MySQL database. This config option is required if MySQL is enabled.
database: minestore
buy-gui:
# If this config option is set to true, the player will be able to buy packages from the GUI.
enabled: true
# All of the following config options are optional and are used to customize the GUI.
back:
# Item that is used to go back to the previous menu.
item: BARRIER
# Name of the item that is used to go back to the previous menu.
name: Back
# Lore of the item that is used to go back to the previous menu.
description: Go back to the previous menu!
category:
# Title of the GUI that is used to display categories.
title: Testing Title
# Name of the item that is used to go to the category menu.
name: %category%
subcategory:
# Title of the GUI that is used to display subcategories.
title: %category%
# Name of the item that is used to open the subcategory menu.
name: %subcategory%
package:
# Title of the GUI that is used to display packages.
title: %subcategory%
# Name of the item that is used to open the package menu.
name: %package%
# Lore of the item that is used to open the package menu.
description: %description%
# Format of the price of the package.
price: 'Price: %price%USD'
```
## Language
### en\_US.yml
```yaml theme={null}
auth:
# Message that is sent to the player when they try to authenticate their Minecraft account with MineStore website.
initial-message: You are trying to login in to our store. CLICK HERE to confirm authorization! If
you are not able to click run /minestore auth.
# Message that is sent to the player when they successfully authenticate their Minecraft account with MineStore website.
success-message: You have successfully logged in to our store!
# Message that is sent to the player when they try to authenticate their Minecraft account with MineStore website but they do not have a pending auth.
failure-message: You do not have pending auth!
# Message that is sent to the player when they fail to authenticate their Minecraft account with MineStore website due to timeout.
timeout-message: You have failed to log in to our store!
store-command:
# Message that is sent to the player when they run the /minestore store command.
message: Visit our store Click
to open the store!'>here!
buy-gui:
# Message that is sent to the player when they click on package item.
message: To buy %package% click HERE!
```
## Permissions
* **minestore.auth**
* Allows the player to use the `/minestore auth` command. This command allows the player to authenticate their Minecraft account with MineStore website.
* **minestore.buy**
* Allows the player to use the `/buy` command. This command allows the player to display GUI.
* **minestore.reload**
* Allows the player to use the `/minestore reload` command. This command reloads the config.yml file.
* **minestore.setup**
* Allows the player to use the `/minestore setup` command. This command allows the player to edit the config.yml file in-game.
* **minestore.store**
* Allows the player to use the `/store` command. This command sends the player link to the MineStore website.
## Placeholders
* TopDonators
* **%ms\_top\_donator\_username\_number%**
* Example: %ms\_top\_donator\_username\_1% will return the username with the most amount of money donated.
* Example result: `Notch`
* **%ms\_top\_donator\_price\_number%**
* Example: %ms\_top\_donator\_price\_1% will return the amount of money donated by the user with the most amount of money donated.
* Example result: `1000000`
* LastDonators
* **%ms\_last\_donator\_username\_number%**
* Example: %ms\_last\_donator\_username\_1% will return the username of the last person to donate.
* Example result: `Steve`
* **%ms\_last\_donator\_price\_number%**
* Example: %ms\_last\_donator\_price\_1% will return the amount of money donated by the last person to donate.
* Example result: `100`
* **%ms\_last\_donator\_package\_number%**
* Example: %ms\_last\_donator\_package\_1% will return the name of the package the last person to donate bought.
* Example result: `VIP`
* DonationGoal
* **%ms\_donation\_goal\_current%**
* Example: %ms\_donation\_goal\_current% will return the current amount of money donated.
* Example result: `400`
* **%ms\_donation\_goal\_target%**
* Example: %ms\_donation\_goal\_target% will return the target amount of money to be donated.
* Example result: `1000`
* **%ms\_donation\_goal\_percentage%**
* Example: %ms\_donation\_goal\_percentage% will return the percentage of the donation goal that has been reached.
* Example result: `40`
* **%ms\_donation\_goal\_bar\_number%**
* Example: %ms\_donation\_goal\_bar\_10% will return a bar that represents the percentage of the donation goal that has been reached.
* Example result if percentage is 50%: 
# Authorization
Source: https://docs.minestorecms.com/rest-api/endpoint/auth/username
POST /auth/username
Validate the provided username and return an authentication token if valid.
# Apply Coupon & Giftcard
Source: https://docs.minestorecms.com/rest-api/endpoint/cart/apply-discount
POST /cart/acceptCoupon
Validates and applies a coupon or gift card to the user's cart if eligible. Provides appropriate messages based on the coupon or gift card status.
# Coupon Data
Source: https://docs.minestorecms.com/rest-api/endpoint/cart/coupon/get
POST /cart/getCoupon
Returns details about the coupon currently applied to the user's cart, including type and discount amount or percentage.
# Remove Coupon
Source: https://docs.minestorecms.com/rest-api/endpoint/cart/coupon/remove
POST /cart/removeCoupon
Removes the coupon from the user's cart and updates the cart items' prices accordingly.
# Cart Data
Source: https://docs.minestorecms.com/rest-api/endpoint/cart/get
POST /cart/get
Fetches the user's cart and items, including any associated promotions, coupons, gifts, and referral codes.
# Promoted Packages
Source: https://docs.minestorecms.com/rest-api/endpoint/cart/get-promoted-packages
POST /cart/getPromoted
Fetches a list of promoted items available in the cart along with their details such as price, availability, and quantity limits.
# Selecting Servers List
Source: https://docs.minestorecms.com/rest-api/endpoint/cart/get-select-servers
POST /cart/getSelectServers
Fetches the list of selectable servers associated with items in the user's cart. Only items that allow server selection and are of type 'CMD_SERVER' are included.
# Gift Card Balance
Source: https://docs.minestorecms.com/rest-api/endpoint/cart/giftcard/get
POST /cart/getGift
Retrieves details of a gift card based on the gift card name provided. The response includes the starting balance, ending balance, and currency.
Returns an error message if the gift card is not found or has an empty balance.
# Remove Giftcard
Source: https://docs.minestorecms.com/rest-api/endpoint/cart/giftcard/remove
POST /cart/removeGiftcard
Removes the gift card from the user's cart and updates the gift card's balance accordingly.
# Add Package
Source: https://docs.minestorecms.com/rest-api/endpoint/cart/packages/add
POST /cart/add/{id}
Adds an item to the user's cart with optional promotion and payment type.
# Change Price
Source: https://docs.minestorecms.com/rest-api/endpoint/cart/packages/change-price
POST /cart/changePrice/{id}
Allows updating the custom price for a specific item in the user's cart. The item must allow custom pricing, and the new price must not be less than the item's initial price.
# Update Quantity
Source: https://docs.minestorecms.com/rest-api/endpoint/cart/packages/reload
POST /cart/reload/{id}
Updates the quantity of a specific item in the user's cart based on the item ID and provided count.
# Remove Package
Source: https://docs.minestorecms.com/rest-api/endpoint/cart/packages/remove
POST /cart/remove/{id}
Removes an item from the user's cart based on the item ID.
# Set Selected Server
Source: https://docs.minestorecms.com/rest-api/endpoint/cart/packages/set-selected-server
POST /cart/setSelectedServer/{id}
Associates a selected server with a specific item in the user's cart. Ensures the selected server is valid for the item.
# Set Variable
Source: https://docs.minestorecms.com/rest-api/endpoint/cart/packages/set-variable
POST /cart/setVariable/{id}
Updates the variable value for a specific item in the user's cart. It handles variable pricing based on item configuration and user selection.
# Remove Referral
Source: https://docs.minestorecms.com/rest-api/endpoint/cart/remove-referral
POST /cart/removeReferral
Removes any existing referral code from the user's cart. If no referral code is set, an appropriate message is returned.
# Set Referral
Source: https://docs.minestorecms.com/rest-api/endpoint/cart/set-referral
POST /cart/setReferral
Applies a referral code to the user's cart if the referral code exists and is valid.
# Categories List
Source: https://docs.minestorecms.com/rest-api/endpoint/categories/get
GET /categories/get
Retrieves a hierarchical list of categories along with their subcategories.
The list is filtered to include only categories that are not deleted and are enabled.
Each category includes its image URL, description, and URL, as well as a nested list of its active subcategories.
# Get Discord OAuth URL
Source: https://docs.minestorecms.com/rest-api/endpoint/discord-oauth/auth-url
GET /auth/discord
Generates a Discord OAuth URL for user authentication. Requires Discord integration to be enabled and configured. You should setCookie for the discord_username, discord_id, discord_linked after successful auth callback (example available in our default template).
# Check Authorization
Source: https://docs.minestorecms.com/rest-api/endpoint/game_auth/check_auth
POST /game_auth/check/{username}
# Initiate Authorization
Source: https://docs.minestorecms.com/rest-api/endpoint/game_auth/init_auth
POST /game_auth/init/{username}
# Announcements
Source: https://docs.minestorecms.com/rest-api/endpoint/get-announcement
GET /announcement/get
Fetch the latest announcement that is marked as an index announcement.
# Custom Page
Source: https://docs.minestorecms.com/rest-api/endpoint/get-pages
POST /pages/get
Fetch a page using the provided URL. Returns the page data if found.
# Patrons Page
Source: https://docs.minestorecms.com/rest-api/endpoint/get-patrons
GET /patrons/get
Retrieves the list of patrons based on their contributions.
# Webstore Settings
Source: https://docs.minestorecms.com/rest-api/endpoint/get-settings
GET /settings/get
Fetch the current configuration settings of the website, including header, footer, recent donators, top player, donation goals, and more.
# Staff Page
Source: https://docs.minestorecms.com/rest-api/endpoint/get-staff
GET /staff
Retrieve staff information grouped by player group for staff page.
# Category Packages
Source: https://docs.minestorecms.com/rest-api/endpoint/packages/get
POST /categories/get/{url}
This endpoint retrieves details of a specific category, including its items and subcategories. It also handles limits, discounts, and custom price options for the items.
# Featured Deals
Source: https://docs.minestorecms.com/rest-api/endpoint/packages/get-featured-deals
POST /items/getFeaturedDeals
Returns a list of featured deals, with item details, prices, discounts, and availability. The result depends on the user's authorization status.
- If the user is not logged in, the response will include featured items without user-specific limits.
- If the user is logged in, the response will include user-specific details such as quantity limits and cumulative category pricing.
# Get Item (Guest)
Source: https://docs.minestorecms.com/rest-api/endpoint/packages/get-guest-items
POST /items/get/guest/{id}
Fetch details of a specific item for guests, including price, discount, availability, and limits.
# Get Item (Authorized)
Source: https://docs.minestorecms.com/rest-api/endpoint/packages/get-items
POST /items/get/{id}
Get detailed information about a specific item, including price adjustments, limits, and promotional prices.
# Check Status
Source: https://docs.minestorecms.com/rest-api/endpoint/payments/checkStatus
POST /payments/checkStatus
Retrieves the current status of a payment. Rate limited to 18 requests per minute per IP address.
# Create Payment
Source: https://docs.minestorecms.com/rest-api/endpoint/payments/create
POST /payments/create
Handles the payment creation process, including validation, checking for sales, handling virtual currency, and processing payments through various methods.
# Available Methods
Source: https://docs.minestorecms.com/rest-api/endpoint/payments/get
POST /payments/get
Fetches a list of payment methods available based on the cart's content and subscription status.
# Profile Page
Source: https://docs.minestorecms.com/rest-api/endpoint/profile/profile
GET /profile/{username}
Retrieve detailed profile information for a specific user by username.
# Check Accessibility
Source: https://docs.minestorecms.com/rest-api/endpoint/user/check-accessibility
GET /checkAccessibility
Checks if the site is under maintenance, verifies if the user's IP is allowed, and checks if the country of the user's IP is banned. Also tracks visits to the site.
# Get User
Source: https://docs.minestorecms.com/rest-api/endpoint/user/get
POST /user
Get user details including virtual currency balance if applicable.
# Introduction
Source: https://docs.minestorecms.com/rest-api/introduction
Learn more about MineStoreCMS REST API Endpoints and how to use them.
This documentation **may contain mistakes or inaccuracies**. Please, report **any issues to us**, and we will fix them as soon as possible.
If you have any questions or need help, **please feel free to reach out to us.**
## Welcome
**Welcome to the MineStoreCMS REST API documentation.** Here you will find all the information you need to interact with our API. The API is organized around **REST**. Our API has predictable **resource-oriented URLs**, accepts **form-encoded request bodies**, returns **JSON-encoded responses**, and uses **standard HTTP response codes, authentication, and verbs.**
## Authentication
You need to authenticate user to allow them purchase packages, view their cart, and more. To authenticate a user, you need to use the **Bearer Token**. You can get the token by using the **Authorization** endpoint.
You also need to include the **Bearer Token** in the **Authorization** header of your request by using **Cookies** or **Headers**.
Learn more about the Authorization endpoint.
You can check how we implemented the **Authorization** endpoint in our [Official Template Repository](https://github.com/MineStoreCMS/minestore-next-official).