Preview with sample plugins These plugins are made up to show how the site will look: none of them exist and nothing can be downloaded. Leave the preview
VanillaMine Plugins
PocketLedger icon

PocketLedger 1.6.2

Simple, fast economy with /pay and /balance, SQLite or MySQL storage, and an async API other plugins can rely on.

Sample data Older version Works on API 5.46.0 EconomyAPI plugins
Download .phar
33k 4.8 (4) 2025-12-24

Description

PocketLedger

The money plugin other plugins can build on. Balances are stored in SQLite (default) or MySQL, every change is logged, and nothing ever blocks the main thread.

For server owners

  • /balance, /pay <player> <amount>, /baltop
  • Admin command /eco give|take|set <player> <amount>
  • Starting balance, currency name and number format in config.yml
  • A transaction log you can search with /eco log <player>
# plugins/PocketLedger/config.yml
starting-balance: 100
currency: { singular: "coin", plural: "coins", symbol: "©" }
storage:
  type: sqlite        # or mysql
  mysql: { host: 127.0.0.1, database: ledger, user: ledger, password: "" }

For developers

use brambleworks\pocketledger\Ledger;

Ledger::get()->balance($player)->onCompletion(
	fn(float $coins) => $player->sendMessage("You have $coins coins"),
	fn() => $player->sendMessage("Your balance is not available right now")
);

Every call returns a promise. Transfers are atomic: Ledger::get()->transfer($from, $to, 25.0, reason: "market").

Migrating from another economy

/eco import <file.yml> reads the usual money.yml layouts. Back up first.

Changelog

  • MySQL connection is retried after a timeout

Versions

VersionAPIReleasedDownloads
2.1.3 5.0.0 – 5.99.0 4 days ago 17,531 –
2.1.0 5.0.0 – 5.99.0 2026-08-23 8,765 –
2.0.0 5.0.0 – 5.99.0 2026-05-23 4,383 –
1.6.2 5.0.0 – 5.99.0 2025-12-24 2,191 –

Reviews

tinderbox_dev ★★★★★ 15 days ago

I build my minigame rewards on it. The promise API is a pleasure.

fernandflint ★★★★★ 2026-09-10

Does one thing and does it well.

lumenotter ★★★★☆ 2026-08-01

Clean API. The import from our old money.yml worked first time.

cobblemum ★★★★★ 2026-06-22

Rock solid. We have 40k transactions a week on MySQL and never lost a coin.

Reviews are off in the preview.