Repository navigation
Configuration
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:
expire-seconds: 60
cooldown-seconds: 5
sneak-click: true
max-distance: 0
same-world: false-
max-distance- how close players must be, in blocks.0means 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:
change-lock-seconds: 3
highlight-seconds: 6
confirm-seconds: 3
max-trade-seconds: 300confirm-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.
blocked-items:
- BEDROCK
- SPAWNER
disabled-worlds:
- event_worldMaterial 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.
currencies:
money:
enabled: falseSee Currencies.
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:
enabled: true
keep-days: 90Old trades are deleted on startup. keep-days: 0 keeps them forever. Trade counts and the top are never deleted.
stats:
pair-cooldown-minutes: 60Two 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.
Getting started
More