#What is wrong with this datapack
1 messages · Page 1 of 1 (latest)
<@&1201956957406109788>
💬 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
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
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
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 :/
What function do you expect to run that you believe is not?
{
"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
What makes you think this isn't currently running?
I tried dying and no effects were given, I mean there has to be something wrong haha
And how did you die?
If you want to track all player deaths you'll probably need to use a deaths scoreboard instead
But for now let's just see if this works at all
okay I will come back to this. I have to test it again but can't right now 🙂 Thanks already tho
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
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
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
Your question, #1378742652916469883 (What is wrong with this datapack), was resolved!
#1378742652916469883 message
3h34m
its still zipped wrong
it should be abilities.zip/(files) and not abilities.zip/abilities/(files)
theres an extra folder
the one i sent should work tho
you resolved it? why is it closed
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
/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
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.