Skip to content
PhilipB edited this page Aug 13, 2026 · 3 revisions

EconomyCraft API v1

The API is included in the normal EconomyCraft Fabric and NeoForge jars. Server owners do not install a separate API mod.

Public classes use this package:

com.reazip.economycraft.api.v1

What the API covers

  • Read, add, remove or set a UUID's balance.
  • Pay money from one UUID to another as one atomic operation.
  • Use EconomyCraft's official money formatting.
  • Resolve configured buy and sell prices for an item.
  • Read price categories and their entries.
  • Read leaderboard entries by UUID and balance.
  • Attach an optional namespaced source to a mutation.
  • Listen for successful balance changes.

The API works with UUIDs, including offline players.


Documentation

Clone this wiki locally