Jump to content

Configuration

Example Configuration

  • In the provided example below players will receive $1 for mining each node. Every ~3 nodes they will receive an extra $1. They will receive $1 per tree, and $1 bonus for each 1000 wood. Wild plants give $1 each and grown & harvested plants give $2 each.

 

{
  "Resources": {
    "metal.ore": {
      "PerThisManyItemsFarmed": 1800,
      "GiveThisAmountOfCurrency": 1,
      "BonusCurrencyForFullyDestroyingEntity": 1
    },
    "stones": {
      "PerThisManyItemsFarmed": 3000,
      "GiveThisAmountOfCurrency": 1,
      "BonusCurrencyForFullyDestroyingEntity": 1
    },
    "sulfur.ore": {
      "PerThisManyItemsFarmed": 900,
      "GiveThisAmountOfCurrency": 1,
      "BonusCurrencyForFullyDestroyingEntity": 1
    },
    "wood": {
      "PerThisManyItemsFarmed": 1000,
      "GiveThisAmountOfCurrency": 1,
      "BonusCurrencyForFullyDestroyingEntity": 1
    }
  },
  "CollectibleResources": {
    "metal.ore": {
      "PickupBonus": 1
    },
    "stones": {
      "PickupBonus": 1
    },
    "wood": {
      "PickupBonus": 1
    },
    "sulfur.ore": {
      "PickupBonus": 1
    }
  },
  "CollectiblePlants": {
    "blue.berry": {
      "WildPlantBonus": 1,
      "GrownPlantBonus": 2
    },
    "cloth": {
      "WildPlantBonus": 1,
      "GrownPlantBonus": 2
    },
    "corn": {
      "WildPlantBonus": 1,
      "GrownPlantBonus": 2
    },
    "green.berry": {
      "WildPlantBonus": 1,
      "GrownPlantBonus": 2
    },
    "orchid": {
      "WildPlantBonus": 1,
      "GrownPlantBonus": 2
    },
    "potato": {
      "WildPlantBonus": 1,
      "GrownPlantBonus": 2
    },
    "pumpkin": {
      "WildPlantBonus": 1,
      "GrownPlantBonus": 2
    },
    "red.berry": {
      "WildPlantBonus": 1,
      "GrownPlantBonus": 2
    },
    "rose": {
      "WildPlantBonus": 1,
      "GrownPlantBonus": 2
    },
    "sunflower": {
      "WildPlantBonus": 1,
      "GrownPlantBonus": 2
    },
    "wheat": {
      "WildPlantBonus": 1,
      "GrownPlantBonus": 2
    },
    "white.berry": {
      "WildPlantBonus": 1,
      "GrownPlantBonus": 2
    },
    "yellow.berry": {
      "WildPlantBonus": 1,
      "GrownPlantBonus": 2
    }
  }
}

Configuration Properties

  • PerThisManyItemsFarmed (int) For this many wood chopped give GiveThisAmountOfCurrency to player.
  • GiveThisAmountOfCurrency (int) Give this amount of currency to player per PerThisManyItemsFarmed.
  • BonusCurrencyForFullyDestroyingEntity (int) Give this amount of currency to player when they fully destroy an entity (tree or node).
  • PickupBonus (int) Give this amount when a resource collectible is picked up (wood or ore).
  • WildPlantBouns (int) Give this amount when a wild plant is collected.
  • GrownPlantBouns (int) Give this amount when a plant from a seed or clone is collected.

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
3m
Total downloads
Customers
12k
Customers served
Files Sold
170.2k
Total sales
Payments
3.7m
Processed total
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.