-
-
Notifications
You must be signed in to change notification settings - Fork 6
Configuration
Novaconomy has multiple configuration files. This page will cover the main configuration file (config.yml located in the Plugin Folder), and how you can customize the Novaconomy Plugin.
Pages featuring configuration will show the name of the setting, as well as any other parent values, and will be set to their default value. They may also feature additional comments for explanatory purposes.
The following economies will be used in these examples:
- Poundz (
%) with a scale of 2 - Dollarz (
$) with a scale of 1 - Gripees (
&) with a scale of 0.5
General Settings that do not fit into any specific category.
Whether players should be notified of Plugin Events, such as Interest being called on their balances.
Notifications: trueThe language of messages, names of items in Graphical Interfaces, as well as any other wording displayed by the plugin.
More information about Languages can be found here.
Language: enConfiguration Section relating to Natural Causes and their events, meaning for balances automatically increased based on specific actions. For example, a player can get a balance gain if they mine specific blocks.
All Economies created with has-natural-increase set to true will be used as a reward for the causes listed.
Whether an enchantment (when applicable) should have an influence in the increase of the balance. The increase will not take effect if there is a modifier active (when applicable).
NaturalCauses:
EnchantBonus: trueThe maximum amount of money that can be gained from any natural caused event. Set to -1 for no limit.
NaturalCauses:
MaxIncrease: 1000Whether the player will gain money from directly killing entities.
Money is calculated based on the maximum health of the entity and what tools were used.
NaturalCauses:
KillIncrease: true
The chance (out of 100) of a kill increase happening. Must be an integer.
NaturalCauses:
KillIncreaseChance: 100Whether indirect kills, such as attacks from pets and projectiles, should count as a Kill Increase.
NaturalCauses:
KillIncreaseIndirect: trueWhether players gain money from fishing items.
Money is calculated based on the fishing rod, and what was retrieved.
NaturalCauses:
FishingIncrease: trueThe chance (out of 100) for a player to gain money from fishing items. Must be an integer.
NaturalCauses:
FishingIncreaseChance: 70Whether players gain money from farming/breaking crop-related blocks, such as wheat, pumpkins, and melons.
Money is calculated by the experience of the drop and what tool was used.
NaturalCauses:
FarmingIncrease: trueThe chance (out of 100) for players to gain money from farming/breaking crop-related blocks. Must be an integer.
NaturalCauses:
FarmingIncreaseChance: 40Whether players gain money from mining any block. This will not apply to farming-reated blocks.
Money is calculated by the experience dropped, what was broken, and the tool used.
NaturalCauses:
MiningIncrease: trueThe chance (out of 100) for a player to gain money from mining any non-farming related blocks. Must be an integer.
NaturalCauses:
MiningIncreaseChance: 30Whether a player's balance(s) should be divided if they die.
NaturalCauses:
DeathDecrease: trueWhen a player dies, the balance will be divided by this number, then the result will be removed from the player's balance.
NaturalCauses:
DeathDivider: 2Modifiers for specific blocks, entities, and/or tags to have a flat value awarded. This section will list examples.
Pricing is defined by the Economy's unique symbol, either before or after the number. There cannot be any commas in the number. Examples: $10, 50%, 66&, $5500
As of v1.5.1, Novaconomy now supports Block Tags (the ones with Material in between the <>), and are only available in MC 1.13 and above. Additionally, we also support Entity Categories, and those are only available in MC 1.17 and above.
All Entity Types can be found here.
All Materials can be found here.
All Death (Damage) Causes can be found here.
Modifiers used for the MiningIncrease Natural Cause.
NaturalCauses:
Modifiers:
Mining:
# Material Names are NOT case sensitive
DIAMOND_ORE: 10$
stone: %5
oak_LOG: [8&, %5] # Put Multiple Prices in an array / list, cannot repeat
dirt:
- 5%
- $15
- 99&
red_bed: 60$ # Material will override the tag below
beds: 50$
Modifiers used in the KillIncrease Natural Cause.
NaturalCauses:
Modifiers:
Killing:
zombie: [&100, 150$] # The Entity type will override the category below
undead: 50$
BLAZE: %200Modifiers used in the FishingIncrease Natural Cause. These both support entities AND items because they can both be caught.
NaturalCauses:
Modifiers:
Fishing:
cod: [50%, &15]Modifiers used in the FarmingIncrease Natural Cause. These are similar to how MiningIncrease works.
NaturalCauses:
Modifiers:
Farming:
wheat: 5$
pumpkin: &15Modifiers used in the DeathDecrease Natural Cause. These will change the divider based on the Death (Damage) cause.
NaturalCauses:
Modifiers:
Death:
fall: 3 # Divide by 3 when death was caused by fall damage
LAVA: 6 # Divide by 6 when death was caused by lavaA type of modifier, as a list, of entities, blocks, categories, tags, and any other supported elements that should be ignored entirely from Natural Causes.
NaturalCauses:
Ignore:
- oak_log
- ZOMBIE
- stone
- GRASS_blockConfiguration Section dedicated to the management of interest on player balances.
Whether interest is currently enabled.
Interest:
Enabled: trueHow often, in ticks (1/20 of a second) interest should take place.
Interest:
IntervalTicks: 1728000 # A 24h Day, in ticksWhat a player balance will be multiplied by when running interest.
Interest:
ValueMultiplier: 1.03 # 3% increaseConfiguration Section for Taxes, money that goes into Novaconomy Banks. This also includes Banking details.
Whether players have to be online in order for taxes to affect them
Taxes:
Online: falseThe maximum amount a player can withdraw from the bank every 24 hours.
You can add you economy's full name (case sensitive) for their amount, or it will default to the Global amount.
You can also specify those that are immune to the MaxWithdraw. This supports OPS or NONOPS, Vault Groups, Permissions, and Player Names.
Taxes:
MaxWithdraw:
Global: 100 # Default if no economy is inputted
Poundz: 50
Bypass:
- OPS # Operators can bypass
- richguy95
- my.custom.permission.bypasswithdraw
- VaultUnlimitedWithraw
A list of player names, permissions, and/or Vault Groups that are exempt from taxes.
Taxes:
Ignore:
- OPS
- thenoopadmin_
- my.custom.permission.notaxes
- VaultIgnoreTaxesConfiguration Section for taxes to be automatically taken.
Whether Automatic Taxes are currently enabled.
Taxes:
Automatic:
Enabled: falseThe interval, in ticks, for taxes to be withdrawn from a player's balance.
Taxes:
Automatic:
Interval: 1728000 # A 24h day, in ticksA list of Economy Names that will not be automatically taxed.
Taxes:
Automatic:
Ignore: [Gripeez, Dollarz, MyCustomEconomy]The minimum amount that must be deposited into a bank/taxed on a player's balance.
Taxes:
Minimums:
Global: 0 # Defaults to this if an economy isn't specified
Dollarz: 10Custom Tax Events, callable by the /taxevent command.
Whether Custom Tax Events are currently enabled.
Taxes:
Events:
Enabled: trueCreating custom tax events in the configuration.
Taxes:
Events:
EnvironmentTaxes:
name: "Environment Taxes"
permission: novaconomy.admin.tax_event # Default Permission
message: "&cYou have been taxed by the environment." # Message Broadcasted
amount: [30D, $50]
online: true # Whether the player must be online to be taxed
use_ignore: true # Whether to include the Ignore list above
ignore: [coolbro77, VaultEnvironemtalists, my.custom.permission] # List of Player Names, Vault Groups, or Permissions to exempt from taxes.
deposit: true # Whether this event will deposit taken taxes into the bankConfiguration Section dedicated to Novaconomy Bounties.
Whether Novaconomy Bounties are currently enabled.
Bounties:
Enabled: trueWhether the completion of bounties should be broadcasted across the server.
Bounties:
Broadcast: trueConfiguration Section dedicated to the management of all Novaconomy Businesses.
Section related to business advertising.
Whether business advertising is currently enabled.
Business:
Advertising:
Enabled: trueHow much host businesses will be rewarded for having a click on their advertisement. The Economy is randomly selected (if has-clickable-reward set to true), and this value is multiplied by its conversion scale.
Business:
Advertising:
ClickReward: 5Configuration for the Novaconomy Market.
Enable the Novaconomy Market here:
Market:
# Set to true to enable
Enabled: trueOverride the price for an item in the Novaconomy Market. Economy Conversion Rates will automatically be applied when purchasing.
Market:
# Item Names are case insensitive
# Must be available in the Novaconomy Market
PriceOverride:
DIAMOND: 500
dirt_block: 12
Grass_Block: 24
Enables whether the money that was used to purchase on the Novaconomy Market will automatically deposit into the Novaconomy Bank.
Market:
# Set to true to enable
Deposit: trueActivated by /market sell, you can sell items on the Novaconomy market for a similar price back.
The percentage multiplied to the original price of an item, which is what you will receive upon selling the item. Defaults to 75% or 0.75.
Market:
# Supports decimals and integers
SellPercentage: 0.75Whether items that players sell to the market will add to the item's stock on the Novaconomy Market. For example, if a player sells 5 apples, then 5 apples will be added to the market's stock.
Market:
# Set to 'true' to enable
SellStock: trueManage how items sold on the Market will be resock.
Market:
Restock:
# Set to true to enable automatic restock
Enabled: trueHow much stock should be added to all items on a restock event.
Market:
Restock:
# Default is 1,000, supports integers only
Amount: 1000How often the market should automatically restock, in ticks (1/20 of a second)
Market:
Restock:
# Default is 24h in ticks
IntervalTicks: 1728000How much players should pay to gain access to the Novaconomy Market. Enabled by default.
Market:
Membership:
# Set to 'true' to enable
Enabled: trueHow much a membership costs by default. Economy conversion rates will automatically be applied.
Market:
Membership:
# Supports decimals and integers
Amount: 1000.0Copyright © 2021-Present Team Inceptus. All Rights Reserved.
Licensed under the GPL-v3.0.