Configuration

This page covers all configuration options in EasySell.

config.yml

The main configuration file controls core plugin settings.

Full Default Configuration

License-Key: "GET LICENSE FROM DISCORD.GG/PIKZSTUDIOS"

database:
  type: sqlite # Options: sqlite, mysql
  sqlite:
    file: data
  mysql:
    host: localhost
    port: 3306
    database: easysell
    username: root
    password: password

sell-gui:
  title: "Put items in here to sell them!"

item-worth: true
item-worth-lore:
  - "&7Worth: &a$%worth%"

Configuration Options

License Key

Your EasySell license key obtained from discord.gg/pikzstudios.


Database Settings

Choose between sqlite or mysql for data storage.

SQLite Configuration

  • file - Name of the SQLite database file (creates data.db)

MySQL Configuration

Option
Description

host

MySQL server address

port

MySQL server port (default: 3306)

database

Database name

username

MySQL username

password

MySQL password


Sell GUI Settings

  • title - The title displayed on the sell GUI inventory

  • Supports color codes (&c, &a, etc.)

  • Supports hex colors (#RRGGBB)

Examples:


Item Worth Display

Enable or disable the real-time item worth display in item lore.

  • true - Show worth in item lore while viewing inventory

  • false - Disable worth display feature

Customize the lore lines added to items showing their worth.

Placeholders:

  • %worth% - The formatted sell value of the item (includes quantity)

Examples:

sounds.yml

Configure sound effects for the plugin.

  • successfully-sold - Sound played when items are sold successfully

Available Sounds: Use any valid Minecraft sound namearrow-up-right.

Popular Options:

  • ENTITY_PLAYER_LEVELUP

  • ENTITY_EXPERIENCE_ORB_PICKUP

  • BLOCK_NOTE_BLOCK_PLING

  • UI_BUTTON_CLICK


Reloading Configuration

After making changes to any configuration file, reload the plugin:

Note: Some changes may require a full server restart.


Last updated