▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/Server Market
Server Market

Server Market

Currency and Market Mod for Minecraft Server

Оцените первым
4.4K
6

Server Market is a Fabric server-side mod that brings a complete player-driven economy and marketplace to your server. Players can check their balance, send money to others (even offline players), and review their transaction history — all through simple commands or an intuitive GUI. The mod features both a player market and a system shop where items can be listed, bought, and sold with full NBT variant support. It also supports purchase orders with parcel station delivery, so buyers can place requests and sellers can fulfill them without needing to meet face-to-face. Administrators can optionally introduce physical currency items, set up system shop prices, manage player balances directly, and configure the economy to suit their needs. Storage defaults to SQLite for zero-setup operation, but can be switched to MySQL with optional XConomy record mirroring for shared database environments. For server owners running 1.21.9 or newer, the mod bundles Placeholder API support out of the box. Developers can hook into the exposed API and event system to query balances, process transfers, intercept purchases, or integrate the economy into their own mods.

Requirements

Required:

Optional:

Commands

Player:

/svm
/svm menu

/svm money
/svm balance
/svm pay <player> <amount>
/svm history [page]

/svm sell <price>
/svm restock <quantity>
/svm pull

/svm list
/svm search <keyword>

/svm buy <quantity> <item> [seller]

/svm cash <value> <quantity>
/svm exchange <amount>

/svm order <price> <amount>
/svm supply <quantity>

Admin:

/svm admin balance <player>
/svm admin set <player> <amount>
/svm admin add <player> <amount>
/svm admin remove <player> <amount>
/svm admin rank
/svm admin history <player> [page]

/svm admin price <price> [limit]
/svm admin pull
/svm admin purchase <price> [limit]

/svm admin cash <value>
/svm admin cash get
/svm admin cash del
/svm admin cash list [item]

/svm admin reload

Updates

  • Command wording updated:
    • purchase order: /svm purchase -> /svm order
    • sell to buyer: /svm selltopurchase -> /svm supply
  • Removed command group: /svm edit (admin commands are now under /svm admin).
  • Deprecated: /svm admin lang

Placeholder API

Available in the 1.21.9+ JAR only when Placeholder API is installed:

  • %server-market:balance%
  • %server-market:balance_short%
  • %server-market:parcel_count%
  • %server-market:player_name%
  • %server-market:top_name:<rank>% (rank 1–10)
  • %server-market:top_balance:<rank>% (rank 1–10)
  • %server-market:top_balance_short:<rank>% (rank 1–10)

Integration API

Entry point: asagiribeta.serverMarket.api.ServerMarketApiProvider

  • getBalance, hasEnough, getParcelCount
  • addBalance, withdraw, setBalance, transfer
  • getTopBalances, getHistory, format, openMenu, getModVersion

EconomyProvider (Vault-style): asagiribeta.serverMarket.api.economy.EconomyProviderRegistry

  • withdraw, format

Events:

  • ServerMarketEvents.BALANCE_CHANGED
  • ServerMarketEvents.PRE_PURCHASE (return false to cancel)
  • ServerMarketEvents.POST_PURCHASE

Configuration / Storage

Config file: config/server-market/config.properties

Reload in-game: /svm admin reload

Economy

KeyDefaultDescription
initial_player_balance100.0Balance for first-time joiners
max_transfer_amount1000000.0Max amount per /svm pay
enable_transaction_historytrueRecord transactions
max_history_records10000Auto-prune oldest records
enable_taxfalseTax on player shop sales
market_tax_rate0.05Tax rate (0.0–1.0)

Storage (SQLite — default)

KeyDefaultDescription
storage_typesqlitesqlite or mysql
sqlite_pathmarket.dbDatabase file path

Storage (MySQL / XConomy)

Set storage_type=mysql and configure mysql_host, mysql_port, mysql_database, mysql_user, mysql_password, mysql_use_ssl, mysql_jdbc_params.

XConomy table names (when sharing an existing database):

KeyDefault
xconomy_player_tablexconomy
xconomy_non_player_tablexconomynon
xconomy_record_tablexconomyrecord
xconomy_login_tablexconomylogin
xconomy_system_accountSERVER
xconomy_write_recordfalse

Set xconomy_write_record=true to mirror transactions into XConomy's record table (MySQL only).

Debug

KeyDefaultDescription
enable_debug_loggingfalseVerbose debug logs
Партнёрский материал

Как поиграть с друзьями с модом Server Market?

Мод Server Market куда интереснее в компании: поднимите сервер Майнкрафт с уже установленным модом, позовите друзей и играйте по своим правилам. Хостинг Майнкрафт для мода Server Market будет готов за пару минут - BungeeHost сделает всё за вас.

Часто задаваемые вопросы

Совместимость

Minecraft: Java Edition

1.21.x1.20.x

Платформы

Поддерживаемые окружения

Сервер

Зависимости

Ссылки

Создатели

Детали

Лицензия:
Опубликован:1 год назад
Обновлён:2 месяца назад
Главная