Vista previa con plugins de ejemplo Estos plugins son inventados para enseñar cómo quedará el sitio: ninguno existe y no se puede descargar nada. Salir de la vista previa
VanillaMine Plugins
Icono de 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.

Datos de ejemplo Funciona en la API 5.46.0 EconomíaPlugins de API
Descargar .phar
33k 4.8 (4) hace 4 días

Descripción

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.

Cambios

  • Fixed /pay accepting amounts with more than two decimals

Versiones

VersiónAPIPublicadaDescargas
2.1.3 5.0.0 – 5.99.0 hace 4 días 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 –

Reseñas

tinderbox_dev ★★★★★ hace 15 días

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.

Las reseñas están desactivadas en la vista previa.