Configuration
Obfeco's main configuration file config.yml controls how the plugin behaves.
Storage Settings
storage-type:(Default:SQLITE)- Valid types:
SQLITE,MYSQL,YAML - YAML stores data in individual files per player/currency.
- SQLITE is recommended for single servers.
- MYSQL is recommended for multi-server networks.
- Valid types:
Database Settings (MySQL Only)
database:
host: localhost
port: 3306
database: obfeco
username: obf
password: your_password
pool-size: 10
connection-timeout: 30000
max-lifetime: 1800000
Cache Settings
These settings help improve performance by reducing direct database access.
batch-save-interval:(Seconds) Time between database saves.auto-save-on-quit:(Boolean) Automatically save player data when they leave.use-caffeine:(Boolean) Use Caffeine library for high-performance caching.
Formatting Settings
Customize how currency amounts are displayed.
formatting:
thousands: k
millions: M
billions: B
trillions: T
quadrillions: Q
decimal-places: 2
Vault Integration
vault:
enabled: true
primary-currency: dollars # Which currency Vault will use
PlaceholderAPI Integration
placeholder:
enabled: true
top-cache-minutes: 5 # How long to cache leaderboard placeholders
Logging Settings
Enable or disable console and file logging for transactions.
logging:
console: false
file: true
admin-transactions: true
user-transactions: true