COWMODSКаталог модов

CogTrade [deprecated]

A physical trading and economy mod for Fabric servers and singleplayer worlds.

Автор: Aryston2520обновлён 26 мар. 2026 г.
ЭкономикаОбщениеТехнологии

Описание

CogTrade

CogTrade is a Fabric economy and trading mod for Minecraft 1.20.1, built for survival servers and automation-focused worlds.

Most economy mods give you a command and a menu. CogTrade gives you a physical, world-integrated trading system — one where stock comes from real chests, prices are set by real players, and the economy grows from actual gameplay.

⚠️ Alpha Release — Core systems are playable, but bugs and breaking changes may still occur. Back up your world before installing or updating.


How It Works

Players place a Trade Depot and connect it to one or more chests. The depot reads real inventory — no fake stock, no abstract numbers. Then they place a Trade Post, which customers right-click to browse and buy available items. Everything is physical, visible, and part of the world.

The Server Market sits alongside this as a central admin-controlled marketplace — useful for seeding the economy with base-level items and giving players a reference point for pricing.

Players can also trade directly with each other in real time — offering items and coins through a synchronized live trade interface — or use the BookTrade system built into the in-game book GUI.


Features

📖 CogTrade Book GUI

  • Press L or right-click a Market Block to open the unified CogTrade book
  • All major interfaces in one place: Market · Depot · Trade Post · Trade
  • Book-themed design with consistent scaling across all screen sizes and resolutions

🏪 Server Market

  • Buy and sell items through a clean, full-featured market interface
  • Search bar, category filters, and sorting (name / price / stock)
  • Favorites system and recently viewed items
  • Transaction history
  • Admin-controlled catalog — add, remove, and price items via commands

🏗️ Player Shop System

  • Trade Depot — connects to multiple chests, reads real inventory as stock
  • Trade Post — customer-facing shop block, right-click to browse
  • Physical stock system: if it's not in the chest, it can't be sold
  • Floating 3D name labels above trade blocks
  • Category tags on listings: Misc · Block · Food · Tool · Material
  • Only the owner can break their own blocks

🤝 Direct Player Trading

  • Send a live trade request to any online player with /trade offer <player>
  • Synchronized real-time GUI — both players see the same offer state instantly
  • Each side offers up to 9 item slots and a coin amount
  • Dual-confirmation system — trade only completes when both players press READY
  • Changing any offer automatically resets ready states (prevents last-second swaps)
  • Left-click to move a full stack, right-click for a single item, middle-click for a custom quantity
  • Items are always returned safely — offline players receive theirs on next login
  • All completed trades are logged to the database

🤜🤛 BookTrade

  • Trade items with another player directly from within the Book GUI
  • Real-time offer / accept / reject with server-side validation
  • No commands needed — everything in one interface

💰 Economy

  • Per-player balance with configurable starting funds
  • Daily earnings and spending tracker
  • Animated balance HUD on screen
  • /balance and /pay commands
  • 100+ items with built-in reference prices (minerals, Nether/End materials, food, tools, armor) to help players set fair rates

Commands

Player Commands

CommandDescription
/marketOpen the server market
/market locateHighlight the nearest Market Block
/market historyView your transaction history
/balanceCheck your current balance
/pay <player> <amount>Send coins to another player
/trade offer <player>Send a direct trade request
/trade acceptAccept an incoming trade request
/trade rejectReject an incoming trade request
/trade cancelCancel your active trade session

Operator Commands (level 2)

CommandDescription
/ctadmin balance add|remove|set|checkManage player balances
/ctadmin market add|remove|edit|price|stockManage the server market catalog
/ctadmin configView and edit mod configuration
/placemarketPlace a Server Market block

Singleplayer & Multiplayer

In Singleplayer

Use the server market as a personal economy layer — trade with the world's item catalog, track your spending, and manage your own shop system.

In Multiplayer

CogTrade becomes a full player economy framework:

  • Players supply their own stock from real storage
  • Sellers compete on price across different categories
  • The Trade Post encourages players to visit each other's bases
  • Players can trade directly without needing a shop
  • Ideal for SMP servers and automation-heavy modpacks

Design Philosophy

Economy should come from real storage, real stock, and real player activity.

❌ What CogTrade avoids✅ What CogTrade does instead
Fake infinite shop stockStock comes from real chests
Abstract markets disconnected from the worldPhysical depot and post blocks in the world
Command-only trade systemsLive synchronized GUI for both players
Selling items you don't ownNo stock = no sale

Planned Features

The current Alpha focuses on the core trading foundation. Planned additions:

FeatureCategory
Player buy ordersEconomy
Physical coin itemEconomy
ATM blockEconomy
Taxes and rent systemEconomy
Chunk claim integrationWorld
AuctionsTrading
Quests and professionsProgression
Guild systemSocial
Deeper Create mod integrationTechnical
CogDungeon expansion contentContent

Technical

  • SQLite database, stored per world — no external setup required
  • SQLite driver bundled inside the JAR
  • Fabric 1.20.1 — requires Fabric API

Alpha Notice

This project is in active Alpha development.

  • Core features are playable and functional
  • UI and balance values may change between versions
  • Database schema changes may require a reset on major updates
  • Feedback and bug reports are extremely welcome

If something breaks, please report it — that's how this mod gets better.

Галерея

Item ListBlock's and Linked StorageMarket Block GUITrade Depot GUI

Последние версии

Все версии →
alpha

CogTrade 1.2.0

1.2.0
26 мар. 2026 г.200Minecraft: 1.20.1fabric
Скачать
Что нового
⚠️ ALPHA — Early development. Back up your world before use. CogTrade is a player-driven economy mod for Minecraft 1.20.1 (Fabric). It adds a server market, player trade shops, direct player-to-player trading, and an in-game coin currency — all stored in a local SQLite database (bundled, no setup needed). --- ## 🆕 What's New in Alpha 1.2.0 ### 📖 Book GUI Press L or right-click a Market block to open the CogTrade book. All features live in one place: Market, Depot, Trade Post, and Trade tabs. Clean book-themed interface with consistent scaling across all resolutions. ### 🤝 BookTrade (Player-to-Player Trading) Trade items directly with another player from within the book GUI. Real-time offer / accept / reject system with server-authoritative validation. ### 💰 Market Price Table 100+ items now have reference prices built in — minerals (Diamond, Netherite, Emerald…), Nether & End materials (Beacon, Elytra, Totem of Undying, Dragon Egg…), food, tools, armor, and more. Auto-detection for enchanted items. ### 🎨 GUI Overhaul (Trade Depot & Trade Post) - All text shadow artifacts removed — readable on the book's cream background - Trade Post: popup-based listing management with item icon and auto-detected category - Proper scaling at every window size ### 🧱 Market Block New custom block textures (front, back, sides, top, bottom). --- ## Core Features - **Server Market** — Admin-managed global shop with configurable prices and stock - **Trade Depot** — Place your own shop block and link chests as storage - **Trade Post** — Public listings where other players can browse and buy from you - **In-game Currency (⬡)** — Balance tracking, /balance and /pay commands - **Admin Commands** — Full control over market listings and player balances --- ## Requirements | | | |---|---| | Minecraft | 1.20.1 | | Fabric Loader | ≥ 0.16.0 | | Fabric API | ≥ 0.92.2+1.20.1 | | Java | ≥ 17 | | SQLite | Bundled — no install needed | --- ## Keybinds | Key | Action | |---|---| | L | Open CogTrade Book GUI | --- ## Links - [GitHub](https://github.com/lureidcom/cogtrade) - [Issue Tracker](https://github.com/lureidcom/cogtrade/issues)
alpha

CogTrade 1.1.0

1.1.0
13 мар. 2026 г.27Minecraft: 1.20.1fabric
Скачать
Что нового
# CogTrade v1.1.0 Release Notes --- ## 🔄 NEW: Direct Player-to-Player Live Trading System Players can now securely trade items and coins with each other in real time. All transactions are fully server-side synchronized — no item or coin loss is possible. ### Commands | Command | Description | |---|---| | `/trade offer <player>` | Send a trade request (TAB completion supported) | | `/trade accept` | Accept an incoming trade request | | `/trade reject` | Reject an incoming trade request | | `/trade cancel` | Cancel your active trade session | ### Features - **30-second request timeout** — unanswered requests expire automatically - Each player can offer up to **9 item slots** and a **coin amount** - Coin offer field updates in real time as you type - **Dual-confirmation system** — trade only completes when both players press READY - Changing any offer automatically **resets ready states** (prevents last-second swaps) - Trade completion plays a notification sound and shows a summary message ### Security & Anti-Exploit - **Double-finalization lock** — `session.deactivate()` prevents any race condition where the trade could complete twice - Trade is blocked if either player's inventory is full (stack-merging is accurately simulated before committing) - Insufficient coin balance causes the trade to abort and all items to be returned safely - Items belonging to **offline players** are queued in `PendingItemReturn` and delivered on next login — zero item loss guaranteed - Active sessions are safely aborted on disconnect or death ### Audit Logging - All completed trades are written to the `direct_trades` database table for server-side history --- ## 🖥️ IMPROVED: Trade GUI - **Left panel** (your offer) — green-tinted background - **Right panel** (partner's offer) — yellow-tinted, read-only with lock indicator - **Left click** → move entire stack to offer slot - **Right click** → move a single item - **Middle click** → opens a floating quantity editor (type exact amount, press Enter to apply) - Live **status bar** shows current state: *"Partner is ready — confirm your side!"*, *"Both players ready!"*, etc. - Closing the screen automatically sends a cancel packet to safely end the session --- ## 🏪 Market & Depot Improvements - **Multi-depot architecture** — new `trade_depots` table; each player can have multiple depots - Removed beam/tracer visual effects from `MarketLocateRenderer` (performance improvement) - Fixed search box overflow in `MarketScreen` - Fixed active listing overlap in `TradePostScreen` - Fixed price/stock layout overlap in the player market detail panel --- ## Requirements - Minecraft **1.20.1** - Fabric Loader - Fabric API
alpha

CogTrade 1.0.0

1.0.0
12 мар. 2026 г.25Minecraft: 1.20.1fabric
Скачать
Что нового
# CogTrade v1.0.0-alpha — First Alpha Release > ⚠️ **This is an alpha release.** Bugs and unexpected behavior may occur. > **Make a backup** before using on important worlds. --- ## 💰 Economy System - Automatic balance account for every player on join - Daily earnings / spending tracker - Always-visible **balance HUD** on screen ## 🏪 Server Market - Admin-configurable item catalog - **Buy** and **sell** support - Categories, search bar and sorting (name / price / stock) - Favorites list and recently viewed history - Open with `/market` command or the **O** keybind - **Locate** system with glow effect that highlights the nearest Market Block ## 🏗️ Player Shop System - **Trade Depot** — links to chests and acts as stock source - **Trade Post** — the block customers interact with to shop - 3D floating name label above each block showing the owner's name - Real-time chest stock scanning - Listing categories: `Misc` · `Block` · `Food` · `Tool` · `Material` - Only the owner can break their own blocks ## 🖥️ GUIs - **Depot Management** — search, sort, category picker, price input, add/remove listings - **Player Shop** — category tabs, search, sort, live stock display, ± amount buttons - **Server Market** — fully featured with favorites and transaction history ## ⌨️ Commands - `/balance` — view your balance - `/pay <player> <amount>` — send money to a player - `/market` — open the server market - `/ctadmin balance add|remove|set|check <player> [amount]` _(admin, op level 2)_ - `/ctadmin market add|remove|edit|price|stock ...` _(admin, op level 2)_ - `/ctadmin config` — view / edit config _(admin, op level 2)_ - `/placemarket` _(admin)_ — place a market block ## 🔧 Technical - Per-world SQLite database (created automatically) - Fabric 1.20.1 - Requires Fabric API - SQLite driver is bundled inside the mod JAR — no extra installation needed --- ## ⚠️ Known Limitations (Alpha) - Block textures are placeholder (vanilla textures used for now) - No extensive multiplayer stress testing has been done - Database schema may change in future versions — **back up before updating**