#Is there a way to check a player for an advancement predicate?

28 messages · Page 1 of 1 (latest)

spark pike
#

I've looked in other threads and can't find anything pertaining to this. I've resorted to this because my kjs stages are not persistent through player death if given by command, even if the stage is granted by custom kjs command with a stages.add event.

scenic charmBOT
#

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

spiral lotus
#

That sounds more like a bug. They should be persistent through dead

spiral lotus
#

Tested on 1.20 and stages are persistent when given by command

spark pike
#

I don't know why mine wouldn't be persistent. I'm also 1.20 on the latest version and they don't persist through death.

#

Ineterestingly enough, each death only removes 1 stage per death.

#

In random order

spiral lotus
#

Are us using GameStage mod?

#

or just kubejs?

spark pike
#

Just kjs

spiral lotus
#

mmh

#

I wonder if you have another mod which somehow works with entity tags

spark pike
#

I know I have a few that do

#

So it's most likely one of those erasing the stages tag from being saved?

#

I also have a single script that adds persistent gamerules but I don't think that would affect antity tags

spiral lotus
#

but can't tell 100%

#

Because iirc minecraft moves the tags to the new player entity on respawn

#

thats nothing kubejs has to do

#
for(String s : arg.getTags()) {
    serverplayer.addTag(s);
}

yeah thats minecraft vanilla code

spark pike
#

I have been troubleshooting for a while now and I've also noticed that epicfight tags are removed as well so it's gotta be a something altering the tags on death right?

#

Since minecraft ships the tags on respawn

spiral lotus
#

yep

#

I wonder why a mod would do that in first place lol

spark pike
#

I'm thinking it's epicfight's way of removing all skills from a player if the server owner has the config option enabled to reset skills on death.

#

But could still be something else

#

Yep something else, but you

#

've given me a lot of information to troubleshoot the issue, thank you.