Перейти к содержимому
Mineforgian

Simple Player Trades

A simple server-side Fabric mod for player-to-player item trading.

Загрузки
213
Подписчики
3
Обновлён
20 марта 2026 г.
Лицензия
All-Rights-Reserved

Опубликован 17 марта 2026 г.

Исходный код

Simple Player Trades

A simple server-side Fabric mod for player-to-player item trading. Players connect with a vanilla client, no mods required on their end.

Showcase


Features

  • Server-side only, vanilla clients work fine
  • Both players get a shared trade GUI with their own items on the left and the other player's items on the right
  • Both players must click the accept button before anything is exchanged
  • Moving items automatically resets your confirmation, so nothing goes through by accident
  • The center divider turns green when a player confirms, and a sound notifies the other player
  • If someone disconnects mid-trade, all items are returned to their owners
  • Safe against inventory management client mods
  • Full config file for tweaking settings
  • Logging all trade interactions to file
  • Trade request cooldowns/timeouts
  • optional trade restriction to OPed players only

Commands

Command Description
/trade <player> Send a trade request
/tradeaccept <player> Accept an incoming request
/tradedeny <player> Deny an incoming request
/tradecancel Cancel your outgoing request or active trade

How it works

  1. Type /trade <playername> to send a request
  2. The other player accepts with /tradeaccept <yourname>
  3. A shared GUI opens, place your items on your side
  4. When you are happy with the offer, click the green Accept button
  5. Once both players confirm, the trade goes through

Clicking the red Cancel button or closing the GUI at any point cancels the trade and returns all items immediately.

Ченджлог

1.0.2Релиз1.21.11 · 20 марта 2026 г.
  • Fixed an issue where items inside trade window would be deleted if player disconnected/crashed during trade
  • Fixed an issue where a disconnecting player would lose their trade items if their inventory was full at the time of disconnection
1.0.1Релиз1.21.11 · 17 марта 2026 г.
  • Added /trade command to send a trade request
  • Added /tradeaccept command to accept an incoming request
  • Added /tradedeny command to deny an incoming request
  • Added /tradecancel command to cancel an outgoing request or active trade
  • Added shared double chest trade GUI
  • Shift-click support for moving items in and out of the trade window
  • Both players must click the green accept button to confirm before the trade executes
  • Clicking the red cancel button closes the trade and returns all items
  • Moving items after confirming automatically resets your confirmation
  • The center divider turns green when a player confirms, with a sound notification
  • Trade requests automatically expire after a configurable timeout
  • Cooldown between trade requests
  • Trade logging to file with full item details
  • Log files rotate automatically
  • Config file at config/simple-player-trades/config.properties
  • Server admins can disable trading entirely via config
  • Server admins can restrict trading to opped players only via config

Комментарии

Загружаем…