Pré-visualização com plugins de exemplo Estes plugins são inventados para mostrar como o site vai ficar: nenhum deles existe e nada pode ser baixado. Sair da pré-visualização
VanillaMine Plugins
Ícone do PocketLedger

PocketLedger 2.1.3

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

Dados de exemplo Funciona na API 5.46.0 EconomiaPlugins de API
Baixar .phar
33k 4.8 (4) há 4 dias

Descrição

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.

Mudanças

  • Fixed /pay accepting amounts with more than two decimals

Versões

VersãoAPIPublicadaDownloads
2.1.3 5.0.0 – 5.99.0 há 4 dias 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 –

Avaliações

tinderbox_dev ★★★★★ há 15 dias

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.

As avaliações estão desativadas na pré-visualização.