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, /currency info includes a Minted: line showing the total amount of that currency minted so far. When false, the line is omitted.
Example:
currencies:
showAmountMinted: falseType: boolean
Default: true
Description: When true, minting a currency costs the minting player power.
Example:
currencies:
powerCostEnabled: falseType: decimal
Default: 1
Description: The amount of power deducted from the minting player per coin minted, so minting n coins costs n × powerCost. Decimal values are supported. Only relevant when powerCostEnabled is true.
Example:
currencies:
powerCost: 0.5Type: boolean
Default: true
Description: When true, minting consumes one item of the currency's own item type per coin minted. The item type is whatever was held when the currency was created, so the cost is fixed per currency rather than configured here.
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