All configuration options are found in plugins/Currencies/config.yml. The file is generated automatically on first run.
Type: string Default: (set automatically) Description: The plugin version. This value is managed automatically and should not be changed manually.
Type: string
Default: jdbc:h2:./medieval_factions_db;AUTO_SERVER=true;MODE=MYSQL;DATABASE_TO_UPPER=false
Description: The JDBC connection URL for the database. By default an embedded H2 database is used. Change this to a MariaDB/MySQL URL to use an external database.
Example (MariaDB):
database:
url: 'jdbc:mariadb://localhost:3306/currencies'
dialect: 'MARIADB'
username: 'currencies_user'
password: 'secret'Type: string
Default: H2
Description: The SQL dialect to use. Supported values: H2, MARIADB.
Type: string
Default: sa
Description: The database username.
Type: string Default: (empty) Description: The database password.
Type: integer
Default: 54
Description: The number of inventory slots in a player's coinpurse. Must be a multiple of 9 and no greater than 54.
Example:
coinpurse:
slots: 27Type: boolean
Default: true
Description: When true, the amount minted is shown to the player after a successful mint operation.
Example:
currencies:
showAmountMinted: falseType: boolean
Default: true
Description: When true, minting a currency costs faction power.
Example:
currencies:
powerCostEnabled: falseType: integer
Default: 1
Description: The amount of faction power deducted per mint operation. Only relevant when powerCostEnabled is true.
Example:
currencies:
powerCost: 2Type: boolean
Default: true
Description: When true, minting a currency requires an item cost (configured per currency).
Example:
currencies:
itemCostEnabled: falseType: boolean
Default: true
Description: When true, currency items cannot be used in crafting recipes.
Example:
currencies:
disallowCrafting: falseType: boolean
Default: true
Description: When true, currency items cannot be smelted in a furnace.
Example:
currencies:
disallowSmelting: falseType: boolean
Default: true
Description: When true, currency items cannot be placed as blocks in the world.
Example:
currencies:
disallowPlacement: falseType: boolean
Default: true
Description: When true, currency items cannot be combined or renamed in an anvil.
Example:
currencies:
disallowAnvilUsage: false