#What is wrong with this datapack

1 messages · Page 1 of 1 (latest)

magic sonnet
#

When a player dies the effects are not given so I don't know what is wrong with it.

exotic tigerBOT
#

<@&1201956957406109788>

Someone will come and help soon!

💬 While you wait, take this time to provide more context and details.

🙇 If nobody has answered you by <t:1748790065:t>, feel free to use the Summon Helpers button to ping our helper team.

✅ Once your question has been resolved (or you no longer need it), please click Resolve Question or run /resolve

magic sonnet
#

It is a very simple datapack so should not be long to look into it 🙂

#

visuals studio with the extension helpers dont detect anything wrong :/

#

Mc version 1.21.5

viscid jewel
#

Please don't throw the whole data pack at us

#

It might be simple but it's going to be much more polite and productive to just show the relevant files that you believe aren't working

magic sonnet
#

that's the problem tho. I wish I could do that but I really don't know where it goes wrong. Is there a way to know? It is a really small datapack tho, so I hoped it wouldn't be a big problem 🙂

#

[Server thread/WARN]: Missing metadata in pack file/Datapack Abilities on Death

I only found this now after a few reloads :/

magic sonnet
#

I looked at the mcmeta file and I think everything should work

#

but still it doesnt

viscid jewel
#

What function do you expect to run that you believe is not?

magic sonnet
#

{
"criteria": {
"death": {
"trigger": "minecraft:entity_killed_player"
}
},
"rewards": {
"function": "death:on_death"
}
}

I think there was something wrong here the trigger was wrong I think but I do want all player deaths to count, not only from entities

#

Can I add multiple triggers

#

this is on_death.json file

viscid jewel
#

What makes you think this isn't currently running?

magic sonnet
#

I tried dying and no effects were given, I mean there has to be something wrong haha

viscid jewel
#

And how did you die?

viscid jewel
#

But for now let's just see if this works at all

magic sonnet
#

okay I will come back to this. I have to test it again but can't right now 🙂 Thanks already tho

misty bison
#

it is zipped wrong

#

also without more context i can't really help you because I have no idea what this is supposed to do

magic sonnet
#

the context is a survival server with lore and abilities/effects. Effects are gone if a player dies, to prevent this I wanted to make a datapack that gives the effects to the players that need them when a player dies.

#

I just thought about just adding a command players can type in

#

Maybe this makes this whole thing easier

#

that when a player dies, they just have to type in a command

misty bison
#

oh ok

magic sonnet
#

I tried so many thing I now wanted to make a version with just a trigger command. but it just doesn't find the datapack. Is it possbile that other datapacks or plugins conflict with the datapack making it unfindable... Idk

#

This is what I have right now

exotic tigerBOT
#
Question Closed

Your question, #1378742652916469883 (What is wrong with this datapack), was resolved!

Original Message

#1378742652916469883 message

Duration open

3h34m

misty bison
#

it should be abilities.zip/(files) and not abilities.zip/abilities/(files)

#

theres an extra folder

#

the one i sent should work tho

misty bison
magic sonnet
#

I was tired of it so I gave players acces to the function command so they can just do that command that gives themthe right abilities

#

I don't use the zip file itself for the datapack

#

the datapack works but the scoreboard does weird things

plush urchin
#

/scoreboard objectives add die deathCount

#

If you are having issues with the advancement, this is a simpler approach

#

This scoreboard will automatically increment every time an entity dies

#

An alternative approach would be /scoreboard objectives add die minecraft.killed:minecraft.player

exotic tigerBOT
#
Closed for inactivity

This question has been inactive for some time, so it's going to be closed for inactivity. If you still need it, please disregard this message.