CogTrade [deprecated]СкачатьСкачатьСкачать
ВЕРСИИ (3)
alpha
CogTrade 1.2.0
1.2.026 мар. 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.013 мар. 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.012 мар. 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**