Minecraft plugin · 2026

BlackMarket

Daily black market for Paper servers: up to three rare items each night, with stock shared by the whole server.

BlackMarket emblem: a locked chest under a crescent moon with a price tag

Overview

BlackMarket is a daily black market for Paper servers, built for the VolteraMC Survival server. Every night at midnight the market opens with up to three rare items, picked at random from a list the staff fills by hand. Stock is shared by the whole server: when it is gone, it is gone.

Staff can sell anything, from vanilla items to custom items and spawners, priced in money through Vault or in Souls through ExcellentEconomy. Players buy one item per click, and anything that does not fit in their inventory waits in a mailbox.

How it works

  1. Staff stock the market

    An admin opens the input menu, drops in the items, closes it, and types a price in chat, such as 10k, 2,5jt, or 250 souls. Identical items are grouped, so three cow spawners become one listing with a stock of 3.

  2. A new selection every night

    At 00:00 in the configured time zone, the market picks up to three listings that still have stock and skips yesterday’s items when there are enough others. Unsold stock stays on the list for a later day.

  3. Buy, confirm, receive

    Players click an offer, confirm, and get exactly one item. Stock is global, and each listing can also cap how many a single player may buy per day.

Highlights

  • No double sales

    Each purchase is checked and completed in one step on the server thread, so two players can never both buy the last item.

  • Nothing gets lost

    Listings, selections, and mailboxes live in SQLite with a backup on every start, and every sale is written to a monthly log.

  • Java and Bedrock

    Menus use the server’s resource-pack textures, and Bedrock players through Floodgate get plain menus instead.

Tech stack

Plugin
  • Java 25
  • Paper API
  • Vault
  • ExcellentEconomy
Data
  • SQLite
Interface
  • MiniMessage
  • Resource-pack menus
  • Floodgate
Build
  • Maven

Challenges & lessons

The hard part of a shared market is the moment two things change at once. Purchases run in a single step on the server thread, and if staff change a price while a player is confirming, the purchase is cancelled instead of charging the wrong amount.