CobbleDollarsCommandShop

CobbleDollarsCommandShop

CobbleDollars addon for configurable command-driven shops, ideal for servers and NPC-based setups

by
109 Downloads
neoforgeeconomyutility
Rent Server with this Mod

Screenshots

Bank accepted items exemple
Bank
Tooltip

About this Mod

CobbleDollars Command Shops

CobbleDollars Command Shops is an addon for CobbleDollars. It adds command-driven shops that can be opened by name and fully managed on the server. The mod is built for servers that want more control over shop behavior, stock handling, access rules, and transaction logging without moving gameplay authority to the client.

What it adds

  • multiple custom shops with categories and offers
  • custom prices and custom item counts per offer
  • per-player stock for limited offers
  • unlimited or finite stock
  • automatic restocks with interval or daily reset rules
  • optional purchase bonuses for bulk buys
  • access rules for shops, categories, and offers
  • support for player tags, advancements, dimensions, time ranges, and scoreboard values
  • one global bank for all shops or a local bank per shop
  • precise bank and shop matching with item, stack, tag, mod, match.include, and match.exclude
  • exact stack matching, including item data/components
  • shop enable/disable controls at runtime
  • server-side validation and persistent stock data

Server-side first

This mod is designed to be server-authoritative.

It does not replace CobbleDollars itself, does not replace CobbleDollars NPCs, and does not move shop logic to the client. It only takes over shop sessions opened through this addon.

If the same jar is installed on the client, the mod can also provide optional client-side UI enhancements. The core shop logic still remains on the server.

Commands

Public commands:

  • /cdshops open <shop>
  • /cdshops list
  • /cdshops visibility list

Admin commands (permission level 2):

  • /cdshops open <shop> <targets>
  • /cdshops reload
  • /cdshops restock <shop> all <players>
  • /cdshops restock <shop> offer <offer> <players>
  • /cdshops stock <shop> <player>
  • /cdshops visibility <shop> status
  • /cdshops visibility <shop> enable
  • /cdshops visibility <shop> disable [message]
  • /cdshops stats summary [window]
  • /cdshops stats top <shops|offers|players|items> [window] [limit]
  • /cdshops stats shop <shop> [window]
  • /cdshops stats player <player|uuid> [window]
  • /cdshops stats item <item> [window]
  • /cdshops where

Configuration

On first server start, the mod generates its config files in:

config/cobbledollarscommandshops/
  CONFIG_GUIDE.md
  audit.json
  feedback.json
  global_bank.json
  shops/
    general_store/
      shop.json
    blacksmith/
      shop.json
    explorer/
      shop.json
    syntax_showcase/
      shop.json
      bank.json

Transaction audit logs are written to:

logs/cobbledollarscommandshops/audit.jsonl

The /cdshops stats ... admin commands read the active audit.jsonl file and any rotated .jsonl.zip archives on demand.

Important files for writing shops and banks

If you want to understand how to write a shop.json or bank.json, start with these files:

  • config/cobbledollarscommandshops/CONFIG_GUIDE.md
    Main format reference generated by the mod on first start.
  • config/cobbledollarscommandshops/global_bank.json
    Default bank used as the fallback for all shops.
  • config/cobbledollarscommandshops/shops/syntax_showcase/shop.json
    Full example shop showing the supported matching syntax and conditions.
  • config/cobbledollarscommandshops/shops/syntax_showcase/bank.json
    Example of a shop-specific bank override.

Shop-specific bank files go here:

config/cobbledollarscommandshops/shops/<shop_id>/bank.json

If no shop-specific bank.json exists, the mod uses:

config/cobbledollarscommandshops/global_bank.json

Support and questions

If you find a bug, please report it in the comments or open an issue. You can also contact me directly on CurseForge/Modrinth for more specific questions !
If you want to use or modify this code, please check the license first.

tested with :

  • CobbleDollars-neoforge-2.0.0+Beta-5.1+1.21.1
  • Cobblemon-neoforge-1.7.3+1.21.1
  • CustomNPCs-Unofficial-NeoForge-1.21.1.20251230
  • easy_npc-neoforge-1.21.1-6.14.0

Available Versions

CobbleDollarsCommandShop 1.0.2release
MC 1.21.1neoforge
May 15, 2026
CobbleDollarsCommandShop 1.0.1release
MC 1.21.1neoforge
May 15, 2026
CobbleDollarsCommandShop 1.0.0release
MC 1.21.1neoforge
May 14, 2026

How to Install CobbleDollarsCommandShop on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set neoforge Loader

In the panel under "Egg", select the neoforge loader and matching Minecraft version (1.21.1).

3

Install Mod

Open the mod browser in the dashboard and search for "CobbleDollarsCommandShop". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

neoforge

Minecraft Versions

1.21.1

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

CobbleDollarsCommandShop server crashes on startup – what to do?

Most common cause: wrong neoforge version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.1). You can switch loaders with one click in the panel.

Is CobbleDollarsCommandShop compatible with neoforge?

CobbleDollarsCommandShop officially supports neoforge for Minecraft 1.21.1. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with CobbleDollarsCommandShop – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if CobbleDollarsCommandShop consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install CobbleDollarsCommandShop with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
LicenseRef-CobbleDollars-Command-Shops-Custom-License
Server-side
Required

Supported Versions

1.21.1