Skip to content

Config files

# Main Configuration file.
# BlockDynastyEconomy Plugin
# Version: 1.2.5

# Developer(s): @Federkone.

#EN(English), ES(Spanish),RU(Russia),ZH(Chinese),DE(Deutschland),IT(Italian),FR(French),JA(Japan) You can also create your own language file in the language folder.
lang: EN

#This option is to synchronize the configuration of the plugin with the proxy,ex: bungee,velocity.
sync-config-with-proxy: false
#This protect transfer data credentials between servers.Add the same salt as the proxy for the synchronization of credentials between servers to work.
hashCredentials:
  enable: false
  salt: "LtCc6NmumE6cpoyM"

#The plugin is designed to work in both offline and online modes.
#Therefore:
#In online mode: the user will be validated with their UUID, and if a change in nickname is detected, it will be updated in the database.
#In offline mode: the user will be validated with their nickname, and if a change in UUID is detected, it will be updated in the database.
#As you can see, selecting this option from the beginning is critical and must be synchronized with your network, since
#changing the operating mode from offline to online during the process will result in the total loss of information.
#It is impossible to assume that the UUIDs uploaded in offline mode are true, as they may be random data not supported by Mojang.
#-> Make your decision carefully and set the same value on all your servers. Thank you.
online: true

#Hardcash
# this option enables or disables the Hard cash system. "ItemStack/Items NBT TAGS".
# when enabled, players will have a physical item "NOTE" in their inventory that represents their money.
HardCash:
  enable: true
  customHeadTexture: true

#This option enables or disables "ItemStack/Items" based economy. Enables Deposit and Withdraw specific item associated with the currency, for example: Diamonds, Emeralds, etc.
#This option is independent of the Hard cash system, you can have both enabled or just one of them.
#All configurations are in the gui system.
ItemsBasedEconomy:
  enable: false
  #List to indicate which Vault consumers will use the item-based economy.
  #This allows Vault to become a modular provider and lets us decide what type of economy each plugin can use.
  #ex: "me.angeschossen.lands" from "lands", "com.gamingmesh.jobs" from "Jobs", "com.palmergames.bukkit.towny" towny, etc
  vaultConsumers: ["me.angeschossen.lands","com.palmergames.bukkit.towny"]

#Console log some information for debugging.
debug: false

#This parameter forces the Minecraft API to strictly use the vanilla color system.
#It's not necessary to change this option unless you're experiencing compatibility issues.
#Default is false.
forceVanillaColorsSystem: false

#Enable or Disable Vault integration.
vault: true
#List to indicate which Vault consumers will use specific currency. Add or remove plugins.
#Ensure that currency name exist or create first. and reload plugin to apply changes.
#You can use debug:true to see in the console the list of plugins package that are detected and can be used in this configuration.
consumerUseTheCurrency:
  enable: false
  plugins:
    - plugin: "com.palmergames.bukkit.towny"
      currency: "Dollars"
    - plugin: "me.angeschossen.lands"
      currency: "Coins"
    - plugin: "me.gypopo.economyshopgui.providers.economys.VaultEconomy"
      currency: "Coins"

# Enable or Disable the transaction log vault integration. This will log all transactions operations to vault.
# Note: This option enabled cause a lot of logs because every transaction will be logged to vault integrations.
transaction_log_vault: false

# Enable or Disable the transaction log. The transaction log is a log of all transactions that
transaction_log: true

sql:
  # You have three valid storage methods, mariadb/mysql/sqlite/h2. You would have to enter the database credentials below.
  type: h2
  # you would have to enter the database credentials down below.
  database: minecraft
  host: localhost
  port: 3306
  username: root
  password: ''
  # EnableWebEditorSqlServer is to enable the web sql server for h2/sqlite database in http://localhost:8082,
  # if you want to use the web console of h2/sqlite database, you have to set this to true.
  # With this you can manage the h2/sqlite database from a web browser.
  EnableWebEditorSqlServer: false

# Redis configuration, this replaces module messaging with Proxy:Velocity, BungeeCord, for sync cache balances,notifications between servers.
redis:
  enabled: false
  host: localhost
  port: 6379
  password: ""
  user: default