Skip to content

Configuration

Spolzer edited this page Sep 27, 2026 · 2 revisions

Everything is in plugins/InTrade/config.yml. Every option has a comment in the file itself. Apply changes with /trade reload, except the storage section, which needs a restart.

Requests

requests:
  expire-seconds: 60
  cooldown-seconds: 5
  sneak-click: true
  max-distance: 0
  same-world: false
  • max-distance - how close players must be, in blocks. 0 means no limit.
  • same-world: true - players in different worlds can't trade.

Both limits and disabled-worlds are also checked while the trade is open: if a player is teleported too far away, the trade is cancelled and the items go back.

  • sneak-click: false - only the command sends requests.

Staff with intrade.bypass.distance and intrade.bypass.cooldown ignore these limits.

Safety timings

safety:
  change-lock-seconds: 3
  highlight-seconds: 6
  confirm-seconds: 3
  max-trade-seconds: 300

confirm-seconds: 0 completes the trade right when the second player presses Ready. We don't recommend it on public servers: the countdown is what gives players a moment to notice a last-second swap.

max-trade-seconds cancels a trade that stays open longer than this, for example when a player walked away from the keyboard. 0 turns the limit off.

Blocking items and worlds

blocked-items:
  - BEDROCK
  - SPAWNER
disabled-worlds:
  - event_world

Material names are the same as in /give. Blocked items can't be put into the window, unless the player has intrade.bypass.blocked. Shulker boxes and bundles are checked too, including bundles inside bundles.

Turning currencies off

currencies:
  money:
    enabled: false

See Currencies.

Sounds

Each sound is a sound id and a pitch. Set a sound to "" to turn it off, or lower volume for all of them.

sounds:
  volume: 0.6
  completed: entity.player.levelup 1.2
  countdown: ""

History

history:
  enabled: true
  keep-days: 90

Old trades are deleted on startup. keep-days: 0 keeps them forever. Trade counts and the top are never deleted.

Trade counts

stats:
  pair-cooldown-minutes: 60

Two players trading with each other are counted in %intrade_trades% and the top at most once an hour, so the top can't be raised with a stream of one-block trades between friends. The trades themselves still work and are still saved in the history. 0 counts every trade.

For storage and MySQL see History and storage.

Clone this wiki locally