Skip to content

Configuration

PQguanfang edited this page Mar 15, 2026 · 2 revisions

Configuration

Timezone and Auto Save

timezone: system
auto-save-minutes: 5
notify-on-bank-transfer: true

Language Settings

config-files:
  language: en_US
  per-player-language: true
  force-parse-mini-message: true

Database Settings

SQLite

database:
  jdbc-url: "jdbc:sqlite:plugins/EconomyLimit/data/economylimit.db"
  jdbc-class: "org.sqlite.JDBC"
  properties:
    user: ""
    password: ""

MySQL

database:
  jdbc-url: "jdbc:mysql://127.0.0.1:3306/economylimit?useSSL=false&autoReconnect=true"
  jdbc-class: "com.mysql.cj.jdbc.Driver"
  properties:
    user: "root"
    password: "123456"

PostgreSQL

database:
  jdbc-url: "jdbc:postgresql://127.0.0.1:5432/economylimit"
  jdbc-class: "org.postgresql.Driver"
  properties:
    user: "postgres"
    password: "123456"

H2

database:
  jdbc-url: "jdbc:h2:./plugins/EconomyLimit/data/economylimit"
  jdbc-class: "org.h2.Driver"
  properties:
    user: "sa"
    password: ""

Rule Example

rules:
  daily:
    display-name: "{lang:rules.daily.name}"
    reset:
      mode: DAILY
      time: "00:00"
    limits:
      - limit: 50000
      - condition:
          type: PERMISSION
          value: economylimit.rule.daily.vip
        limit: 100000
      - condition:
          type: PERMISSION
          value: economylimit.rule.daily.bypass
        limit: -1

Condition Types

  • ANY
  • PERMISSION
  • WORLD
  • PLAYER
  • OP

Language-Based Rule Names

rules:
  daily:
    name: "Daily earnings"
  weekly:
    name: "Weekly earnings"

If your rule uses:

display-name: "{lang:rules.daily.name}"

then different players can see different rule names depending on their selected language.

Clone this wiki locally