πŸ‘©β€πŸ’»config.yml

Database Types

SQLite (Default)

SQLite is the default database type, perfect for small to medium servers.

database:
  type: "SQLite"

Features:

  • No additional setup required

  • File-based storage (database.db)

  • Automatic creation in plugin folder

  • Suitable for single-server setups

MySQL

MySQL is recommended for large servers or multi-server networks.

database:
  type: "MySQL"
  mysql:
    host: "localhost"
    port: 3306
    database: "bshop"
    username: "user"
    password: "password"

Features:

  • Connection pooling with HikariCP

  • Multi-server support

  • Better performance for high-traffic servers

  • Centralized data management

Logging Configuration

Basic Settings

Configuration Options

Option
Type
Default
Description

enabled

Boolean

true

Enable/disable transaction logging

rotate

Boolean

true

Enable automatic log rotation

max_file_size_mb

Integer

10

Maximum log file size in MB

max_backup_files

Integer

5

Number of backup files to keep

Log Location:

Alerts

Alert Placeholders

Placeholder
Description

%player%

Player name

%type%

Transaction type (Buy/Sell)

%amount%

Item quantity

%item_id%

Item identifier

%price%

Transaction price

%shop%

Shop name

%date%

Transaction date

Discord Integration

Setting Up Discord Webhook

  1. Create a Discord server or use existing one

  2. Go to Server Settings > Integrations > Webhooks

  3. Create a new webhook

  4. Copy the webhook URL

  5. Paste it in discord_webhook_url

Last updated