Skip to content
This repository was archived by the owner on May 27, 2024. It is now read-only.

Configuration | Functionality

Gregory edited this page Jan 14, 2024 · 3 revisions

The functionality.yml Configuration File manages most Core Functionality Settings for Novaconomy. This page will help you understand what each setting is for.

CommandVersion

The command version of the plugin.

This can either be 1, for the default Bukkit Command parser (available on all versions), 2 for the Brigadier Command parser (available on 1.13 and up), or auto to auto-detect what command version the plugin should use.

CommandVersion: auto

MessageHandler

The message handler of the plugin. To learn about what this does, see the Message Handlers page.

This can be one of four values:

  • BUKKIT for the Bukkit Message Handler
  • SPIGOT for the Spigot Message Handler
  • ADVENTURE for the Adventure Message Handler
  • auto to automatically detect one of the three based on your server JAR
MessageHandler: auto

MaxConvertAmount

The maximum amount of money the player can convert from. This value does not control how much money the player will receive after converting.

Set to -1 for no limit.

MaxConvertAmount: -1

EconomyMaxConvertAmounts

MaxConvertAmount for specific economies. If one is not specified here, it will default to MaxConvertAmount.

EconomyMaxConvertAmounts:
  Dollarz: -1
  Coins: 100000

VaultEconomy

Specify an Economy that the plugin will register into Vault, if Vault is currently loaded.

Put -1 to register all of them, making the first economy alphabetically will be active.

VaultEconomy: -1

NegativeBalances

Configuration for negative balances. Implemented in v1.9.1.

Enabled

Whether negative balances are enabled. false by default.

NegativeBalances:

  Enabled: false

MaxNegativeBalance

The maximum (minimum) amount of money a player can have when their balance is negative.

NegativeBalances:

  MaxNegativeBalance: -100

IncludeZero

Whether a balance of 0 is considered having a negative balance.

NegativeBalances:

  IncludeZero: true

BypassMax

A list of player names, vault groups, or permissions that bypass the maximum negative balance count. Supports RegEx. Valid types also include OPS and NONOPS.

NegativeBalances:

  BypassMax:
    - OPS

WhenNegative

Configurable actions for when a player's balance is negative.

NegativeBalances:

  WhenNegative:
    [setting]: [value]

PurchaseProducts

Whether a player can purchase business products with a negative balance.

PurchaseMarket

Whether a player can purchase market products or a market membership with a negative balance.

PurchaseAuction

Whether a player can purchase auction items with a negative balance.

PayPlayers

Whether a player can pay other players with a negative balance.

PayBanks

Whether a player can pay into a bank balance with a negative balance amount.

CreateChecks

Whether a player can create checks with a negative balance.

CreateBounties

Whether a player can create bounties with a negative balance.

ConvertBalance

Whether a player can use the /convert or /exchange command to convert economies

Clone this wiki locally