Skip to content

Price Configuration

"buy": {
"price": 1,
"economy": "IMPACTOR",
"currency": "impactor:dollars",
"name": "Dollars",
"max_amount": 128,
"requirements": {
"requirements": {},
"deny_actions": {},
"success_actions": {},
"minimum_requirements": 1,
"stop_at_success": true,
"send_denial_message": true
}
},
"sell": {
"price": 1,
"economy": "IMPACTOR",
"currency": "impactor:dollars",
"name": "Dollars",
"max_amount": 128,
"requirements": {
"requirements": {},
"deny_actions": {},
"success_actions": {},
"minimum_requirements": 1,
"stop_at_success": true,
"send_denial_message": true
}
}

The price to buy/sell this entry for. Any number 0 and below is considered free. The total price for a purchase is this value multiplied by the amount purchased.

"type": "ITEM"

The economy integration to use for this transaction. A list of supported economies can be found in Economies.

"economy": "IMPACTOR"

The currency to use for this transaction. Not supported for some Economy mods.

"currency": "impactor:dollars"

The name of the currency for the placeholders %buy_price_currency% and %sell_price_currency%.

"name": "Dollars"

The maximum amount of items that can be bought/sold in one transaction. Any number 0 and below is considered unlimited. This can interact with a Confirm Menu and limit which Amount Selectors are shown!

"max_amount": 128

Requirements that must be met in order for the player to buy/sell this entry. See Requirements for more information.

"requirements": {
"requirements": {},
"deny_actions": {},
"success_actions": {},
"minimum_requirements": 1,
"stop_at_success": true,
"send_denial_message": true
}