Jump to content

Economics Config

Closed 1.17.0

Somescrub

Hi,

I am attempting to add economics money (by Wulf) as a requirement for crafting, but I am having a hard time understanding what the config would look like for that... I am attempting to try the below, but nothing changes in the UI (not even altered metal amount) when I plug this in. Can you provide an example of that this should look like using economics, or let me know if that plugin is not compatible?

{
  "Economy": {
    "Balance remove hook": "economics.withdraw",
    "Balance show hook": "economics.balance",
    "Plugin name": "Economics"
    }
  "The color of the button when all the items are present": "#80FF8080",
  "Command": "craft",
  "Enable debug?": true,
  "Workbenches Setting": {
    "None": {
      "Color": "#00000080",
      "Title": "No Workbench Required"
    },
    "One": {
      "Color": "#80400080",
      "Title": "Workbench 1 LVL"
    },
    "Two": {
      "Color": "#0080FF80",
      "Title": "Workbench 2 LVL"
    },
    "Three": {
      "Color": "#FF000080",
      "Title": "Workbench 3 LVL"
    }
  },
  "Craft Settings": [
    {
      "Enabled craft?": true,
      "Image": "https://i.imgur.com/YXjADeE.png",
      "Description": [
        "Craft requires:",
        "- Gears (5 pcs)",
        "- Road Signs (5 pcs)",
        "- Metal (1000 pcs)",
        "- Balance (100)"
      ],
      "Command for give": "givecopter",
      "Permission for craft": "crafts.all",
      "DisplayName": "Minicopter",
      "Shortname": "electric.flasherlight",
      "Amount": 1,
      "Skin": 2080145158,
      "Type (Item/Command/Vehicle/Recycler)": "Vehicle",
      "Prefab (for Vehicle)": "assets/content/vehicles/minicopter/minicopter.entity.prefab",
      "Command on give": "",
      "Workbench Level": 1,
      "Distance Check": true,
      "Distance": 1.5,
      "Place the ground": true,
      "Place the structure": true,
      "Items For Craft": [
        {
          "Shortname": "gears",
          "Amount": 5,
          "Skin": 0
        },
        {
          "Shortname": "roadsigns",
          "Amount": 5,
          "Skin": 0
        },
        {
          "Shortname": "metal.fragments",
          "Amount": 1000,
          "Skin": 0
        }
        {
          "Shortname": "economics.balance",
          "Amount": 100,
          "Skin": 0
        }
      ],

Link to comment
  "Economy": {
    "Show Balance": true,
    "Type (Plugin/Item)": "Plugin",
    "Plugin name": "Economics",
    "Balance add hook": "Deposit",
    "Balance remove hook": "Withdraw",
    "Balance show hook": "Balance",
    "ShortName": "scrap",
    "Display Name (empty - default)": "",
    "Skin": 0
  },

 

Link to comment
1.2m

Downloads

Total number of downloads.

6.1k

Customers

Total customers served.

90.3k

Files Sold

Total number of files sold.

1.8m

Payments Processed

Total payments processed.

×
×
  • 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.