Jump to content

Implement Promissions into Skills

Closed 1.31.12

Domink

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.

Share this comment


Link to comment

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": []
        }
      }
    },

 

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.6k

Customers

Total customers served.

81.9k

Files Sold

Total number of files sold.

1.6m

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.