Jump to content

XP Modifiers with Cooking

Pending 1.0.3

Caroleenje
Caroleenje

Posted

Hi,

I'm looking into the XPInjection items, and I'd like players to get the exact amount of XP displayed (so say 7k XP). I set the preventXpModifiers to true, which works with the modifiers coming directly from STIP or even the SkillTree night bonus, however, if you use a Cooking meal with SkillTreeXp buff, the buff will still count regardless. It's not something I want, as if you have one with a value of 112k XP and get 25% buff from the meal on the top, it gets crazy very quickly.

Is there any way around it?

Thanks in advance!

 

  • Curator
imthenewguy

Posted

You can change the cooking meal from SkillTreeXp to use Permissions, and run the givexp <target> <amount> <apply mods: true/false> command instead.

 

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