Transaction Logging

Obfeco can write every admin change and player payment to a daily log file, so you can answer "where did this player's money come from?" without digging through the console.

Settings

yaml
logging:
  console: false
  file: true
  admin-transactions: true
  user-transactions: true
Key Default Description
console false Show Obfeco's info lines (startup, hooks, admin command replies in the console). Warnings and errors always show.
file true Write transactions to log files.
admin-transactions true Log give, take and set.
user-transactions true Log pay.

Log files

One file per day in plugins/Obfeco/logs/, named obfeco-YYYY-MM-DD.log. Each line records who did what:

[2026-10-27 14:03:11] Console gave 250.0 gems to Steve
[2026-10-27 14:05:42] Alex took 50.0 dollars to Steve
[2026-10-27 14:07:09] Steve paid 10.0 dollars to Alex
[2026-10-27 14:09:30] Alex set 1000.0 coins to Steve

The format is fixed: [time] <actor> <gave|took|set|paid> <amount> <currency> to <target>. Amounts are the raw number, not the formatted one. Only successful changes are logged.

Changes made by other plugins through Vault or the developer API aren't logged here; those plugins usually keep their own records.

Console output

With console: false, a console give/take/set doesn't print a success line, which keeps logs clean when another plugin runs those commands in bulk. A console command that fails still logs a warning naming the player, currency and amount, whatever console is set to.