Jump to content

Config

Pending 1.7.9

Stark
Stark

Posted

When trying to do multiples, in the config should it be written this way? What I'm trying to do it at certain levels certain perks and perms are unlocked.

 

"List of rewards the player receives based on level": {

"20": {

"List of commands and chat messages that the player receives when reaching the specified level [Left = command. Right = Private message to player]. {id} = steam ID. {name} == name.": {

"say <color=#ffae00>{name}</color> reached level <color=#4cff03>100</color>!": "You have reached level 100!\nTime to Prestige!"

},

"100": {

"List of commands and chat messages that the player receives when reaching the specified level [Left = command. Right = Private message to player]. {id} = steam ID. {name} == name.": {

"say <color=#ffae00>{name}</color> reached level <color=#4cff03>100</color>!": "You have reached level 100!\nTime to Prestige!"

},

"List of commands that are fired off when the player data is reset": [

"Your data is reset"

]

}

},

  • Curator
imthenewguy

Posted

You need to wrap this sort of stuff in code tags. Impossible to read like that.

 

Here is an example of level 100 with multiple perks.

    "List of rewards the player receives based on level": {
      "100": {
        "List of commands and chat messages that the player receives when reaching the specified level [Left = command. Right = Private message to player]. {id} = steam ID. {name} == name.": {
          "say <color=#ffae00>{name}</color> reached level <color=#4cff03>100</color>!": "You have reached a milestone level!",
          "give {id} rifle.ak": "You received an AK47",
          "o.usergroup add {id} coolguygroup": "You were added to the cool guy group!"
        },
        "List of commands that are fired off when the player data is reset": [
          "say Test data reset.",
          "o.usergroup remove {id} coolguygroup"
        ]
      }
    },

 

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.2k
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.