# Player Commands and Permissions

### <mark style="color:orange;">`/trade [targetName]`</mark>

Permission: <mark style="color:orange;">`zeltrade.trade`</mark> (true by default)

You can start a trade with \[targetName]. If \[targetName] is omitted, you'll resume your currently pending trade

You can't have more than a trade running in parallel!\
If you want to start a new trade or accept a received trade, you must complete your previous one!

### <mark style="color:orange;">`/trade-ignore toggle [playerName]`</mark>

Permission: <mark style="color:orange;">`zeltrade.ignore`</mark> (true by default)

This command allows you to ignore trade requests from a specific player.\
When this command is used, any trade invitations from the specified player will be\
**automatically declined** until it is toggled off

With <mark style="color:orange;">`/trade-ignore list`</mark> you can see all your ignored players

### <mark style="color:orange;">`/trade-browse [startTime] [endTime] [targetName]`</mark>

Permission: <mark style="color:orange;">`zeltrade.browse`</mark>

This command allows you to view the history of trades within a specified date range

The `[startTime]` and `[endTime]` parameters determine the time period of the trades you want to browse. By default, the startDate is the timestamp from 24 hours ago, and endDate is the current time.

while the `[targetName]` parameter allows you to focus on trades involving a particular player. If no target name is provided, the command will display trades from the player that executed the command

#### <mark style="color:orange;">`/trade-rate set <tradeUUID> [rating]`</mark>

Reviews a trade. It works only if you were a participant in the trade

#### <mark style="color:orange;">`/trade-rate show-trade <tradeUUID>`</mark>

Shows the reviews from both sides of a trade

#### <mark style="color:orange;">`/trade-rate show-player <playerNameOrUUID>`</mark>

Shows the mean rating and reviews received by a player

## Permissions (not command-related)

<mark style="color:orange;">`zeltrade.usecurrency.<currencyname>`</mark> - Allows players to use a currency during trade
