Jump to content

Plugin XP awards not working

Pending 1.7.8

Mala
Mala

Posted

I have gone through both the Discussion and Support pages talking about the recent givexp command parameters, and for the life of me, I cannot get any plugin to give xp upon completion. I changed the command in plugins from:   givexp {id} 5000   or  givexp {userid} 5000  to givexp {id} 5000 true and still nothing. In the chat, when I manually enter the /givexp works, and in the F1 console, givexp name 5000 true works. But setting a true or false parameter at the end of the command in a plugin config does nothing. All other items in the configs are given to a player except the xp. With Raidable Bases, I changed both the RB data files to give command, and set the Skill Tree itself to award RB xp for the different difficulties, and neither works. I am seeing this from Raidable Bases, Bot Purge, Convoy reforged, and Armored Train. I have tried both true and false parameters. I must be missing something simple here. 

  • Curator
imthenewguy

Posted

2 hours ago, Mala said:

I have gone through both the Discussion and Support pages talking about the recent givexp command parameters, and for the life of me, I cannot get any plugin to give xp upon completion. I changed the command in plugins from:   givexp {id} 5000   or  givexp {userid} 5000  to givexp {id} 5000 true and still nothing. In the chat, when I manually enter the /givexp works, and in the F1 console, givexp name 5000 true works. But setting a true or false parameter at the end of the command in a plugin config does nothing. All other items in the configs are given to a player except the xp. With Raidable Bases, I changed both the RB data files to give command, and set the Skill Tree itself to award RB xp for the different difficulties, and neither works. I am seeing this from Raidable Bases, Bot Purge, Convoy reforged, and Armored Train. I have tried both true and false parameters. I must be missing something simple here. 

What plugin is it that you are using to run the commands, and are you using oxide or carbon?

 

Mala

Posted

Oxide, and I listed the plugins that I can add the givexp command to in their configs. Bot Purge, Raidable Bases, Armored Train, and Convoy Reforged. 

  • Curator
imthenewguy

Posted

1 hour ago, Mala said:

Oxide, and I listed the plugins that I can add the givexp command to in their configs. Bot Purge, Raidable Bases, Armored Train, and Convoy Reforged. 

Can you paste the block of config that contains the givexp command (not just the line being added).
IF you can show me implementations for all 4 would be helpful.

 

Mala

Posted

Alright, after I woke up this morning, went back at it and now the Bot Purge, Convoy, and Train are all awarding XP. I will still paste the config sections for them so anyone else who looks at this can see it. I had to use 'false' as the variable at the end of the givexp command string. Raidable Bases is still not working for me, however. I have each difficulty profile set to award XP on completion of the event in both the Raidable Bases data folder, and set to award XP in the SkillTree config. For the bot Purge, it is line 27. And the convoy and train were not working, but just suddenly do? And that was only from setting them within the Skill Tree itself on lines 583 and 584. Yesterday they did not award XP at event completion. 

oxide/config/BotPurgeEvent.json:

23 },

24 "Reward Options": {

25 "Enable Winner Commands?": true,

26 "Winner Commands": [

27 "givexp {id} 10000 false",

28 "inventory.giveto {id} scrap 500",

29 "inventory.giveto {id} metal.fragments 2500",

30 "inventory.giveto {id} metal.refined 250",

31 "inventory.giveto {id} supply.signal 1"

32 ],

 

oxide/config/SkillTree.json:

550 "RaidableBaseCompletion_Easy": 5000.0,

551 "RaidableBaseCompletion_Medium": 7500.0,

552 "RaidableBaseCompletion_Hard": 10000.0,

553 "RaidableBaseCompletion_Expert": 15000.0,

554 "RaidableBaseCompletion_Nightmare": 25000.0,

 

583 "Armored_Train_Winner": 10000.0,

584 "Convoy_Winner": 10000.0,

 

oxide/data/RaidableBases/Profiles/Easy Bases.json:

35 },

36 "Commands To Run On Event Completion": {

37 "Commands": [

38 "givexp {userid} 5000 false"

39 ],

40 "Assign To Owner Of Raid Only": false,

41 "Enabled": true

},

 

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.4m
Total downloads
Customers
10.8k
Customers served
Files Sold
156.3k
Marketplace sales
Payments
3.3m
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.