Home›Java›Mods›CoinsAPI
CoinsAPI
ModsJava

CoinsAPI

Java mod listed for Minecraft 1.20–1.21. Downloads from the MC Java Mods app on Android.

⬇ Download on Spigot
[​IMG]

CoinsAPI – The flexible currency API for Minecraft
Simple, fast, and modern coin system for your server & network

───────────────────────────────────────────────

What is CoinsAPI?
A lightweight economy core for Spigot/Paper with YAML/MySQL storage, PlaceholderAPI, a clean developer API, optional Vault bridge, and network sync via Redis.

───────────────────────────────────────────────

✨ Highlights

───────────────────────────────────────────────

✅ Compatibility

───────────────────────────────────────────────

⚙️ Installation
  1. Drop CoinsAPI.jar into /plugins.
  2. Start the server once.
  3. Edit config.yml (currency name, start balance, MySQL, Redis, webhook).
  4. (Optional) Install PlaceholderAPI / Vault if you use them.

───────────────────────────────────────────────

⌨️ Commands

Permissions

───────────────────────────────────────────────

Example config.yml
Code (YAML):

lang
: "en"

coins
:
  display-name
: "Coins"
  start-balance
: 100

storage
:
  type
: "YAML"           # "YAML" or "MYSQL"
  mysql
:
    host
: "localhost"
    port
: 3306
    database
: "minecraft"
    user
: "root"
    password
: "password"
    useSSL
: false

async
:
  enabled
: true

redis
:
  enabled
: false
  host
: "127.0.0.1"
  port
: 6379
  password
: ""
  channel
: "coinsapi:balance"

vault
:
  enabled
: true

history
:
  enabled
: true
  max-per-player
: 250

webhook
:
  enabled
: false
  url
: ""
  large-transfer-threshold
: 10000

bstats
:
  enabled
: true
  service-id
: 0
 
───────────────────────────────────────────────

PlaceholderAPI
Scoreboard example:
Code (Text):

Balance: %coins_balance% %coins_name%
 
───────────────────────────────────────────────

Developer API
Code (Java):

// Get service
CoinsService coins = org. bukkit. Bukkit. getServicesManager ( ). load (CoinsService. class ) ;
if (coins != null ) {
    long bal = coins. getBalance (player. getUniqueId ( ) ) ;
    coins. transfer (player. getUniqueId ( ), target. getUniqueId ( ), 50 ) ;
}
 
Events (simple):
Code (Java):

@EventHandler
public void onPay (CoinsPayEvent e ) {
    if (e. getAmount ( ) > 1000000 ) e. setCancelled ( true ) ; // block very large transfers
}

@EventHandler
public void onChange (CoinsBalanceChangeEvent e ) {
    // log or react to balance changes
}
 
Vault: if Vault is present and enabled in config, CoinsAPI registers as Economy provider automatically.

───────────────────────────────────────────────

❓ FAQ
PlaceholderAPI not detected?
Install PlaceholderAPI and restart the server.
Vault not working? Ensure Vault is installed and vault.enabled: true.
Global balances? Use the same MySQL DB across servers; enable Redis for live updates.
No horizontal lines? Spigot BBCode doesn’t support [HR]; this page uses colored unicode lines.

───────────────────────────────────────────────

Changelog
Spoiler: 1.1.0
• Player & Admin GUI
• Transaction history command
• Vault economy bridge
• Redis-based network sync (optional)
• Developer events (pay, balance change, account create)
• Discord webhook notifications
• bStats opt-in (service-id configurable)

───────────────────────────────────────────────

Screenshots / Videos

───────────────────────────────────────────────

Get Started
  1. Drop the JAR into /plugins
  2. Start the server
  3. Configure config.yml (MySQL/Redis/Vault/Webhook as needed)
  4. (Optional) Install PlaceholderAPI / Vault

───────────────────────────────────────────────

⚡ Support & Feedback
Questions or suggestions? Send a message or open an issue!

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

CoinsAPI is a free Minecraft Java mod. Compatible with Minecraft 1.20, 1.20.6, 1.21. Downloaded 57 times (via Spigot). Download it and open it directly in the game.

Explore more