Configuration - AustereTony-MCMods/Oxygen-Market GitHub Wiki
Oxygen: Market Configuration
General configuration information: link
File structure:

Parameters:
Client
-
"enable_market_menu_key" [boolean] - enable the "open market menu" key
If "true", then the key binding "open market menu" will be created and added to the control settings menu.
Server
-
"market_menu_operations_timeout_millis" - [int] - timeout of operations in the market menu in milliseconds
The timeout is used to prevent unauthorized buy/cancellation and offer creation operations (in case of modification of the client by intruders). The timeout is reset when the menu is opened using the command and comes after the time specified by this value. For operators timeout disabled.
-
"enable_market_menu_access_clientside" - [boolean] (synchronized) - allow the client to open the market menu
The value of this parameter determines the access rules in the menu. If "true", then the player will be able to open menu in the usual way and make any operations. If "false", then opening the menu for the player will be possible only with chat command and the timeout for operations will be used.
-
"enable_self_purchase" - [boolean] - allow the self-purchase
The parameter determines the opportunity for the player who crated an offer to buy own items.
-
"max_offers_per_player" - [int] (synchronized) - the maximum number of offer per player at a time
The maximum number of offers that a player can place at the same time.
-
"items_per_offer_max_amount" - [int] (synchronized) - the maximum number of items that can be sold in one transaction The maximum number of items (stack size) that a player can place for sale in one offer. it is limited by the value java Short.MAX_VALUE (32767). The value "- 1" means that the maximum stack size will be used as limit.
-
"price_max_value" - [long] (synchronized) - maximum offer price
-
"offer_expire_time_hours" - [int] (synchronized) - offer expire time in hours
After this time, when the server is restarted, the transaction will be canceled, the item will be returned to the seller. The value "- 1" means unlimited storage.
-
"enable_sales_history" - [boolean] - enable global sales history
Global sales history is used to analyze the offers profitability and view the transaction history of each player.
-
"enable_sales_history_sync" - [boolean] (synchronized) - enable synchronization of the global sales history with all players
If "true", then the global history will be available to all players on the server. The offers profitability calculation takes place on the client, so without access to history, it will be disabled.
-
"sales_history_expire_time_hours" - [int] -the history record expire time in hours
After this time, when the server reboots, the record will be deleted. The value "- 1" means unlimited storage.
-
"offer_creation_fee_percent" - [int] (synchronized) - fee for creating an offer (percentage of the total price)
The percentage of the price charged from the player when creating an offer.
-
"offer_sale_fee_percent" - [int] (synchronized) - commission on the sale (percentage of the total price)
Percentage of the price charged by the system during item sale.