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

ServerTrades

Secure server-side player-to-player item trading with a dual-confirmation GUI, trade chat, item blacklists, and optional combat-log protection.

Автор: roguiii3481обновлён 1 окт. 2026 г.
ЭкономикаОбщение

Описание

ServerTrades

Safe, direct player-to-player item trading for Paper/Purpur 26.3. One player runs /trade <player>, the other accepts, and both open a shared trade GUI where they place items, confirm, and swap atomically.

Version Minecraft Java

ServerTrades is built around dupe-safety: every trade click is cancelled and item movement is handled manually, so items live in the trade session — never on the cursor — and are delivered or returned exactly once.

Features

  • Request flow — /trade <player> sends a request; the target accepts or denies. Configurable request timeout and cooldown.
  • Dual-confirmation GUI — both players place up to a configurable number of items, mark ready, and a countdown runs before the atomic swap.
  • Trade chat — a private per-trade chat channel toggled in-GUI or via /trade chat.
  • Item blacklist — block trades by material and, optionally, by lore patterns (e.g. "Soulbound", "Untradeable").
  • Requests toggle — players can turn incoming trade requests off with /trade toggle.
  • Background timeout — if a player closes the trade GUI, a timer (with reopen support) protects the session before it auto-cancels.
  • Interrupted-trade persistence — items from trades interrupted by a crash/quit are stored to disk and returned safely.
  • Optional CombatLOG integration — block or cancel trades while players are PvP-tagged (skipped if CombatLOG is absent).
  • Optional PlayerSettings integration — per-player language.
  • Configurable distance limit, sounds, and MiniMessage-styled GUI.

Commands

CommandDescriptionPermission
/trade <player> (alias: /t)Send a trade request to a playerservertrades.use
/tradeReopen the trade GUI if you have an active tradeservertrades.use
/trade acceptAccept an incoming trade requestservertrades.use
/trade denyDeny an incoming trade requestservertrades.use
/trade cancelCancel your active trade or outgoing requestservertrades.use
/trade toggleToggle whether you receive trade requestsservertrades.use
/trade chatToggle the private trade chat for the active tradeservertrades.use
/trade reloadReload configuration and languageservertrades.admin

Permissions

NodeDescriptionDefault
servertrades.useUse /trade and its subcommandstrue
servertrades.adminAccess admin commands (e.g. /trade reload)op

Configuration

Key sections of config.yml:

trade:
  request-timeout: 60
  request-cooldown: 10
  accept-countdown: 5
  max-distance: -1              # -1 = unlimited range
  cancel-on-damage: false
  cancel-on-move: false
  background-timeout-seconds: 120
  max-items-per-trade: 8
  blacklisted-items:
    - BEDROCK
    - COMMAND_BLOCK
    - BARRIER
    - STRUCTURE_BLOCK
    - SPAWNER
  blacklist-by-lore:
    enabled: false
    patterns:
      - "Soulbound"
      - "Untradeable"

combat:
  # Requires CombatLOG; checks are skipped if it is not installed.
  block-in-combat: true
  cancel-on-combat: true

persist-interrupted-trades: true
log-trades: true

The full file also covers the GUI title/materials/status text and the complete sound set.

Installation

  1. Requires Paper or Purpur 26.3 and Java 25 (2.0.0 runs on 26.2, 1.x on 1.21.x).
  2. Drop ServerTrades-2.0.0.jar into your server's plugins/ folder.
  3. Start the server to generate config.yml, then adjust timeouts, item limits, and blacklists.
  4. (Optional) Install CombatLOG to gate trading during PvP, and/or PlayerSettings for per-player language.

Dependencies

  • None required. CombatLOG and PlayerSettings are optional, detected at runtime.

Support / Source

Source code: https://github.com/henriquescrrrr/carrageis-servertrades

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

Все версии →
release

2.1.0+mc26.3

2.1.0+mc26.3
1 окт. 2026 г.86Minecraft: 26.3paper, purpur
Скачать
Что нового
## 2.1.0 Requires Minecraft 26.3 and Java 25. On 26.2 use 2.0.0; on 1.21.x use the 1.x release. ### Changed - Built against Paper 26.3 on Java 25 and tested on Paper 26.3 build 140, which Paper still marks as beta: there was no stable 26.3 build when this was released. `api-version` is now `26.3`. - The plugin now reports version 2.1.0. The 2.0.0 jar reported `1.0.0`. - Checked against 26.3: no new item holds other items, so the container checks from 2.0.0 cover the new content unchanged.
release

2.0.0

2.0.0
6 авг. 2026 г.187Minecraft: 26.2paper, purpur
Скачать
Что нового
## 2.0.0 Build for Minecraft 26.2 on Paper and Purpur, compiled against paper-api 26.2 with Java 25. The build for 1.21.x stays available as version 1.0.0.
release

1.0.0

1.0.0
11 июл. 2026 г.74Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11paper, purpur
Скачать