Jump to content

Help adding perks for levels

Pending 1.6.3

arheko
arheko

Posted

Hi, 

I want to add additional commands to kick in on certain levels. I have the one command set, but cant seem to add more without messing up the plugin. I watched you video but didn't see how to do it. Can you show me on here for say level 15 they get perms for Raider tree. 

 "List of rewards the player receives based on level": {
      "10": {
        "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>10</color>!": "You have reached a milestone level!",
          "o.grant user {id} skilltree.combat": "You can now access the Combat Skill Tree.",
        
        "List of commands that are fired off when the player data is reset": [
          "say Test data reset."

imthenewguy

Posted

3 hours ago, arheko said:

Hi, 

I want to add additional commands to kick in on certain levels. I have the one command set, but cant seem to add more without messing up the plugin. I watched you video but didn't see how to do it. Can you show me on here for say level 15 they get perms for Raider tree. 

 "List of rewards the player receives based on level": {
      "10": {
        "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>10</color>!": "You have reached a milestone level!",
          "o.grant user {id} skilltree.combat": "You can now access the Combat Skill Tree.",
        
        "List of commands that are fired off when the player data is reset": [
          "say Test data reset."

Do not add tree unlocks at certain levels. It can cause problems. Use the min_level parameter in the tree itself in order to unlock certain trees.

arheko

Posted

Just a quick one. So if i enable it to say, said tree unlocks at level 10, do i need to uncheck that perm in my per manager? and it will auto get granted? or should i allow the perms, but they cant access it until lvl 10?

imthenewguy

Posted

2 hours ago, arheko said:

Just a quick one. So if i enable it to say, said tree unlocks at level 10, do i need to uncheck that perm in my per manager? and it will auto get granted? or should i allow the perms, but they cant access it until lvl 10?

Just set the level that you want the tree to become unlocked at in "Minimum level to unlock". No perms etc required.

The tree will stil lbe there, but they won't be able to unlock buffs until they have the specified level.

1.7m

Downloads

Total number of downloads.

7.8k

Customers

Total customers served.

117.5k

Files Sold

Total number of files sold.

2.4m

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.