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

 

  • Like 1
  • Curator
Mevent

Posted

Changed Status from Pending to Closed

0

Downloads

Total number of downloads.

0

Customers

Total customers served.

0

Files Sold

Total number of files sold.

0

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.