#Script with player nbt

38 messages · Page 1 of 1 (latest)

willow bane
#

Hi I'm not very good at english so i don't know if I can make my demand comprehensible but I want to make a script for ftbquests that checks a stat in the nbt tags of a player (in forgecaps I think) to increase another stat of the player. Like for every 10000 points the other stat is increased by 1000

stray treeBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

willow bane
#

Sorry for poor English

tough epoch
#

You may get better support at their FTB discord

open apexBOT
#

Please read #rules 5.

FTB support is not offered in this server.
If you need help with FTB-related mods, packs, or scripts, head over to the official FTB Discord Server by clicking the button:

willow bane
tough epoch
#

Which mod holds the values you want to modify?
When modifying ForgeCaps it is better to use the API the mod provides

willow bane
#

It's a mod based on a manga

#

It's called jujutsucraft

willow bane
tough epoch
#

hmm jujutsucraft was made with MCreator, you may be able to edit directly, dunno you will have to test

#

but still you should get support on FTB discord

#

because of the FTB oart

#

part

willow bane
tough epoch
#

oh well

willow bane
#

Because in ftbquests you can make a custom quest with kubejs scripts I think

willow bane
tough epoch
#

show me the forgecap you need to change

#

read and modify

willow bane
willow bane
willow bane
tough epoch
#

i need full path

willow bane
#

ok

willow bane
tough epoch
#

@willow bane can you test something, if you manually edit, the value persists?

willow bane
#

Hey it's late in my area so I may stop responding bcs i went to sleep

tough epoch
#

@willow bane how those values change naturally? because we might have trouble with you changing them and other stuff changing them again at some point

willow bane
#

It's just stats of the mod

tough epoch
willow bane
#

When you level up and/or kill mobs

willow bane
willow bane