Jump to content

Implement Promissions into Skills

Closed 1.31.12

Domink
Domink

Posted

Is there a way to implement promissions from other plugins into Skills?
As an example: Add Backpack's Promissions 6 slots for Skillresearch lvl1, Backpack's Promissions 12 slots for Skillresearch lvl2.

  • Curator
Mevent

Posted

Hi! Yes, you can do it! Here's an example:

Note that it is mandatory to set "Type": "None", set the ID for the skill (field "ID (for None)") - it must be unique, and set the permission in the stages settings

    {
      "Enabled": true,
      "Permission": "",
      "Type": "None",
      "ID (for None)": 1,
      "Image": "ChangeMe",
      "Title": "ChangeMe",
      "Description": "ChangeMe",
      "Shortname": "",
      "Stages": {
        "1": {
          "Cost": 30.0,
          "Value [metabolism - value, for everyone else %]": 0.0,
          "Value 2": 0.0,
          "Commands": [],
          "Groups": [],
          "Permissions": [
            "backpacks.size.6"
          ],
          "Required skill stages": []
        },
        "2": {
          "Cost": 80.0,
          "Value [metabolism - value, for everyone else %]": 0.0,
          "Value 2": 0.0,
          "Commands": [],
          "Groups": [],
          "Permissions": [
            "backpacks.size.10"
          ],
          "Required skill stages": []
        },
        "3": {
          "Cost": 120.0,
          "Value [metabolism - value, for everyone else %]": 0.0,
          "Value 2": 0.0,
          "Commands": [],
          "Groups": [],
          "Permissions": [
            "backpacks.size.12"
          ],
          "Required skill stages": []
        }
      }
    },

 

  • Curator
Mevent

Posted

Changed Status from Pending to Closed

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
2.5m
Total downloads
Customers
11k
Customers served
Files Sold
158.1k
Marketplace sales
Payments
3.4m
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.