Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Economics Config

Closed 1.17.0

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
        }
      ],

Share this comment


Link to comment

About Us

Codefling is a forward-thinking platform for developers to share and monetize their work from plugins to game assets and everything in-between.

10,978 files sold to 948 customers and $171,714 of 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.