-
Notifications
You must be signed in to change notification settings - Fork 6
Configuration
NotPatch edited this page Dec 30, 2025
·
1 revision
Controls the database connection.
-
type— Database type:sqliteormysql(orpostgresif supported). -
host— Database host (MySQL/Postgres). -
port— Database port (default MySQL 3306). -
database— Database name. -
username/password— Credentials for DB connection. -
pool-size— Maximum connection pool size. -
minimum-idle— Minimum idle connections to keep. -
keepalive-time— Keep-alive time in milliseconds. -
maximum-lifetime— Maximum lifetime of pooled connections in milliseconds. -
connection-timeout— Connection attempt timeout in milliseconds.
Notes:
- For
sqlitemost host/port fields are ignored. - Adjust pool and timeout values according to server load.
-
lang— Locale code used for messages (e.g.en_US,tr_TR).
Permission nodes used by commands/features.
-
order— Base permission to use ordering features (e.g.norder.use). -
order-menu— Permission to open order menu (e.g.norder.menu). -
order-admin— Admin permission for management commands (e.g.norder.admin). -
order-limit— Permission prefix for per-player order limits. Usenorder.limit.<number>. -
order-expiration— Permission prefix for custom expiration durations. Usenorder.expiration.<days>. -
use-highlight— Permission to use item highlight feature (e.g.norder.highlight).
-
date-format— Date/time format string used across plugin (example:dd-MM HH:mm:ss). - Dates are formatted using the plugin's configured format.
Command aliases configuration.
-
commands.order.aliases— List of aliases for the order command (e.g.norder,sipariş). -
commands.order-admin.aliases— Aliases for admin command (e.g.norderadmin,siparişadmin).
General plugin settings.
-
highlight-fee— Fee charged to highlight an order (numeric, currency). -
send-webhooks— Boolean; whether to send configured webhooks on events. -
min-price-per-item— Minimum allowed price per item. -
max-price-per-item— Maximum allowed price per item.
Broadcast sub-section:
-
settings.broadcast.enabled— Iftrue, new orders may be broadcast to the server. -
settings.broadcast.min-total-price— Minimum total order value (price * amount) required to trigger broadcast.
Formatting for compact number display.
-
suffixes— Ordered list of suffixes appended as numbers scale (e.g."",K,M,B,T). -
decimal-places— Number of decimals to keep when formatting (e.g.1formats1500as1.5K).
Examples:
-
decimal-places: 1->1500=>1.5K -
decimal-places: 2->1500=>1.50K
Visual progress bar configuration used in messages/menus.
-
progress-bar.length— Width/characters of the bar (integer). -
progress-bar.complete-symbol— Character used for completed portion (e.g.█). -
progress-bar.incomplete-symbol— Character used for incomplete portion (e.g.░). -
progress-bar.complete-color— Color code prefix for completed segment (Minecraft-style, e.g.&a). -
progress-bar.incomplete-color— Color code prefix for incomplete segment (e.g.&7).
Notes:
- Color codes use the plugin/text color format (usually
&followed by a code).
-
blacklist-items— List of material/item names that are not allowed for orders (use official material enum names, e.g.BEDROCK,COMMAND_BLOCK).
Per-item price overrides. If an item is listed here, the specified min-price-per-item and max-price-per-item apply to that item instead of the global limits.
Example structure:
-
per-item-price.DIAMOND.min-price-per-item— Minimum for DIAMOND. -
per-item-price.DIAMOND.max-price-per-item— Maximum for DIAMOND.
Notes:
- If an item is not listed, global
settings.min-price-per-itemandsettings.max-price-per-itemapply.
- Numeric fields accept decimal numbers (currency).
- Boolean flags control feature toggles (e.g.
send-webhooks,broadcast.enabled). - Permission prefixes (
order-limit,order-expiration) are appended with.<value>to create specific permissions. - Date and number formatting follow the configured
date-formatandnumber-formatsettings respectively.
Use this reference to explain or show examples on the wiki when needed. Replace values for your server.