Jump to content

Config File Help

Not a Bug 1.1.3

Doctros
Doctros

Posted

Hello all, I was able to set up the Quick Menu customizable button that already comes with the plugin. However I am having a hard time trying to add another one via the .json config file. Could someone please post an example on how the config file should look "format wise" with an added secondary custom button for the Quick Menu? I have attached what I have now.

Thanks for any help! 😉

AdminMenu.json

0xF

Posted (edited)

Hello, I try to help you.

{
      "Bulk sending of command to each player. Available values: None, Online, Offline, Everyone": "None",
      "Label": "VANISH",
      "Execution as server": false,
      "Commands": [
        "chat.say \"/vanish\"",
        ""
      ],
      "Permission": "fullaccess",
      "Style": {
        "BackgroundColor": "1 0.2 0.2 0.6",
        "ActiveBackgroundColor": null,
        "TextColor": "0.95 0.6 0 1"
      },
      "Position": [
        0,
        4
      ]
    }


Let's say it's a button, you just copy it, after the last one you put

,

and paste it, and then you adjust it, from the mandatory you need to change the position, the first number is for the row, the second for the column. Use any of the json validators to see syntax errors. 

Edited by 0xF
0xF

Posted

Changed Status from Pending to Not a Bug

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.1k

Files Sold

Total number of files sold.

2m

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.