Blocksmith logo
NextCredits

Features

NextCredits is the ultimate lightweight credits plugin for your Minecraft server. It gives you a second currency that lives completely outside of your economy plugin, a fully configurable shop system to spend it in, and it was designed from the ground up for networks: MySQL as the single source of truth, optional Redis for instant updates, and every credit change written to a transaction log.

FeaturesDescription
Unlimited ShopsCreate as many shop menus as you want, each one in its own file.
Unlimited ProductsDefine products in separate files and reuse them across multiple shops.
Shop DiscountsRun timed discount campaigns on a single product, a whole category, or the entire shop.
Multi-Server SyncKeep balances consistent across your whole network with MySQL, plus optional Redis for instant updates. No proxy plugin needed.
Transaction LogsEvery give, take, set, pay and purchase is recorded in the database.
Safe TransactionsCredits are debited before rewards are given, so a failed purchase never hands out free products.
Confirmation MenuOptional confirmation screen before a purchase goes through.
Discord WebhooksSend give, take, set and purchase notifications straight into a Discord channel.
Player-to-Player PayLet your players transfer credits to each other with /nextcredits pay.
Data ConverterMigrate from RivalCredits, or move between SQLite and MySQL with a single command.
PlaceholderAPI SupportShow credit balances anywhere, in multiple formats.
Custom CommandsRename the main and shop commands and their aliases to whatever fits your server.

Installation

Here is a quick guide on how to install NextCredits on your Minecraft server.

If you need any help please join our Discord Server.

Download the Plugin

First, download the latest version of NextCredits from SpigotMC.

Be alert: This plugin is only available on its official SpigotMC page. Any versions found on third-party sites like 9Minecraft.net are unauthorized and may contain malware. Always download from official sources to stay safe.

Upload to your server

Drag & Drop the plugin jar to your plugins folder.

Install Dependencies

PluginRequired
PlaceholderAPINo
RivalCreditsNo
MySQLNo
RedisNo
NextCredits works out of the box with SQLite. MySQL is only required if you want cross-server synchronization, and Redis is an optional layer on top of it. RivalCredits is only needed once, if you're migrating your old data over.

Restart your server

Make sure the plugin loads correctly and all files are automatically generated.

Cross-server synchronization

If you run a network and want every server to share the same balances, you'll need MySQL. Open config.yml and enable both mysql and sync-cross-server.

mysql:
  enabled: true
  host: localhost
  port: 3306
  database: db_nextcredits
  user: root
  password: ''
  useSSL: false

# Cross-server synchronization
# Required MySQL to use this
sync-cross-server: true
# The interval to refresh online cached users from MySQL (in seconds)
sync-interval: 30
# Maximum users to include in a single sync query
sync-batch-size: 100
OptionDescription
save-intervalHow often cached balances are written to the database, in seconds. 0 saves immediately but is not recommended.
sync-cross-serverPeriodically reload online players' balances from the database.
sync-intervalHow often that refresh happens, in seconds.
sync-batch-sizeHow many users are pulled per sync query.

Instant updates with Redis

The periodic sync above is enough for most networks, but if you want balance changes to show up on the other servers right away, you can enable Redis. MySQL always stays the source of truth, Redis is only used as a fast "this player's balance changed" signal: the server that changed a balance publishes the player's UUID, and every other server reloads that one player from the database.

redis:
  enabled: true
  host: localhost
  port: 6379
  password: ''
  database: 0
  ssl: false
  timeout: 2000
  channel: "nextcredits:sync"
OptionDescription
channelThe Redis pub/sub channel used for the invalidation signal. Keep it identical on every server.
timeoutConnection and socket timeout, in milliseconds
passwordLeave empty if your Redis instance has no password
Redis sync requires MySQL. If mysql.enabled is false, NextCredits logs a warning and Redis sync never starts. A wrong password stops the sync as well, so check your console after enabling it.

Information

No proxy plugin is needed. NextCredits synchronizes purely through MySQL, with Redis as the optional instant-update layer, so you never have to install anything on your BungeeCord or Velocity proxy.

If you need any help please join our Discord Server.