Files

Default files for Econoblocks.

Config

# Configuration of Econoblocks. For help, visit https://wiki.flrp.dev/
config-version: 6

# Allow the plugin to check for updates?
check-for-updates: true

# Gamemode settings.
gamemode:
  # Should people in creative mode get rewards?
  creative-rewards: false

# Message handling.
message:
  # Should the plugin send messages about money gained?
  enabled: true

  # How should the plugin display messages when a player is given money?
  # NOTE: Some options will only work with select versions. You can see which below.
  # OPTIONS: CHAT, ACTION_BAR (1.12+), HOLOGRAM (1.12+), TITLE (1.12+)
  message-type: CHAT

  # HOLOGRAMS
  # This will only work if you have holograms set as your type.
  holograms:
    # How long should the hologram stay? This is in seconds.
    duration: 1

  # This will only work if you have title set as your type.
  title:
    # How long should the title stay? This is in seconds.
    stay: 3
    # How long should the title fade in? This is in seconds.
    fade-in: 1
    # How long should the title fade out? This is in seconds.
    fade-out: 1
    # Naturally, the money message will be displayed in the subtitle.
    # You can change the title to whatever you want here. Placeholders are supported.
    title: "&a&lREWARD"

# The check system provides methods to help make sure players can't duplicate rewards.
checks:
  # This option uses SQLite. SQL support will come later.
  storage:
    # Should blocks be stored in a database? This will keep all block data across restarts. Setting this option to false will still keep track of blocks,
    # but they will NOT be saved across restarts.
    enabled: true
    # How long will blocks be stored for until they expire? This will help clear up space in the database.
    # To disable this, just set it to 0. This is in days.
    expiry: 3

# Hook management.
hooks:
  block:
    # Enable ItemsAdder support? This adds the ability to earn money from custom blocks.
    ItemsAdder: true
    # Enable Oraxen support? This adds the ability to earn money from custom blocks.
    Oraxen: true
  item:
    # Enable ItemsAdder support? This adds the ability to have multipliers for custom items.
    ItemsAdder: true
    # Enable Oraxen support? This adds the ability to have multipliers for custom items.
    Oraxen: true
    # Enable MMOItems support? This adds the ability to have multipliers for custom items.
    MMOItems: true

# Multiplier handling.
# Down below are configurable multiplier groups.
# When given permission, a user will gain specific multipliers.
# If any conditions are true, they will be considered towards the output amount.
# Make sure to balance this properly if you use multipliers. You can leave any category empty with [] if you wish not to use it.
multipliers:
  # econoblocks.group.example
  example:
    # Higher the number, heavier the group, higher priority.
    weight: 1
    # Specific block multipliers.
    blocks:
      - COAL_ORE 1.5
      - IRON_ORE 1.5
    # Specific tool multipliers.
    tools:
      - IRON_PICKAXE 1.05
      - GOLDEN_PICKAXE 1.1
      - DIAMOND_PICKAXE 1.2
    # The world the block was mined in.
    worlds:
      - real_world 1.1
  # More examples...
  coal:
    weight: 2
    tools:
      - IRON_PICKAXE 1.1
  diamond:
    weight: 3
    blocks:
      - DIAMOND_ORE 1.5
    tools:
      - IRON_PICKAXE 1.15

# A list of worlds where money won't be given.
world-blacklist:
  - world2

Blocks

Language

Loot

Last updated

Was this helpful?