Black Friday Black Friday SALE: 40% off every resource until December 1. Shop the sale

Settings

Every key in config.yml with its default, and how to change the texts in messages.yml.

On this page

Settings are in plugins/OtAuctions/config.yml. After a change, run /ah admin reload. Changes under storage need a server restart, because a reload does not reconnect the database.

Invalid numbers are corrected to the nearest allowed value. Unknown materials and sounds are skipped and logged as a warning in the console.

The key config-version: 1 is not used by the plugin. Leave it as it is.

Server and storage#

Key Default What it does
server-name survival Name of this server. Saved with every listing and shown in the footer of Discord posts. Give each server on a network its own name.
storage.type sqlite sqlite, mysql or mariadb.
storage.mysql.host localhost Database host.
storage.mysql.port 3306 Database port.
storage.mysql.database minecraft Database name.
storage.mysql.username root Database user.
storage.mysql.password empty Database password.
storage.mysql.pool-size 6 Maximum database connections. Minimum 2.
storage.mysql.parameters ?useSSL=false&allowPublicKeyRetrieval=true&characterEncoding=utf8 Text added to the end of the connection URL.
storage.table-prefix otauctions_ Prefix of the table names. Only letters, numbers and underscores are accepted, otherwise the default is used.
storage.sync-interval-seconds 2 How often a server checks the database for changes made by other servers. Minimum 1. Only used with MySQL or MariaDB.

Listings#

Key Default What it does
listings.duration-hours 48 How long a listing stays up. Decimals work, for example 0.5. The minimum is one minute.
listings.min-price 1 Lowest price for a listing. Minimum 0.01.
listings.max-price 1000000000 Highest price for a listing.
listings.default-limit 5 Active listings per player when they have no limit permission.
listings.limits vip: 10, mvp: 20 Named limits. A player gets one with the permission otauctions.limit.<name>. Names are matched in lowercase.
listings.listing-fee 0 Fixed fee for listing an item.
listings.listing-fee-percent 0 Extra fee as a percentage of the price (0 to 100).
listings.sales-tax-percent 5 Percentage taken from the price when an item sells (0 to 100). Saved with each listing.
listings.confirm-purchase true Show the confirm screen before buying. With false, one click buys.

Blacklist#

listings:
  blacklist:
    materials:
      - BEDROCK
      - BARRIER
    name-contains: []
    lore-contains: []
Key Default What it does
listings.blacklist.materials BEDROCK, BARRIER, COMMAND_BLOCK, CHAIN_COMMAND_BLOCK, REPEATING_COMMAND_BLOCK, COMMAND_BLOCK_MINECART, STRUCTURE_BLOCK, STRUCTURE_VOID, JIGSAW, LIGHT, DEBUG_STICK, KNOWLEDGE_BOOK Item types that cannot be listed. Use Minecraft material names.
listings.blacklist.name-contains empty Items whose plain name contains one of these words cannot be listed. Not case sensitive.
listings.blacklist.lore-contains empty Items with a lore line that contains one of these words cannot be listed. Not case sensitive.

The blacklist also checks items inside shulker boxes and bundles, down to four levels deep, so a blocked item cannot be hidden in one.

Currency, dialogs and sounds#

Key Default What it does
currency.use-economy-format false true shows prices the way your economy plugin formats them.
currency.prefix $ Text before the price.
currency.suffix empty Text after the price.
currency.decimals 2 Decimals in prices, from 0 to 4.
dialogs true Use the Paper dialogs for selling and searching. With false, selling works through /ah sell <price> and the search asks for the text in chat.
search.timeout-seconds 30 How long the chat search waits for text. Minimum 5. Only used with dialogs: false.
sounds.open BLOCK_CHEST_OPEN Played when the auction house opens.
sounds.click UI_BUTTON_CLICK Played on menu clicks.
sounds.success ENTITY_EXPERIENCE_ORB_PICKUP Played after a successful sale, purchase or collect.
sounds.error ENTITY_VILLAGER_NO Played when an action is refused.

Set a sound to none or leave it empty to turn it off.

Discord webhook#

Key Default What it does
webhook.enabled false Turn the Discord posts on.
webhook.url empty The webhook URL. It must start with https://, otherwise nothing is sent.
webhook.on-list true Post when an item is listed.
webhook.on-sale true Post when an item is sold.

Posts are embeds with the seller or buyer, the amount, the item name, the price and the server name. Mentions in item names never ping anyone. If a post fails, the console shows Webhook failed: ....

Messages#

Every text is in plugins/OtAuctions/messages.yml, including menu names, lore, button labels, dialog texts and the names of categories and sort orders. The file uses MiniMessage, so colors, gradients and hex codes work. Placeholders such as <price>, <item> and <seller> are filled in by OtAuctions. Run /ah admin reload after a change.

To get the original texts back, delete messages.yml and restart the server.

Last updated

Still stuck? Open a ticket on the help page or ask in Discord. Mention your version and what you tried.