2
Is it possible to make a datapack for a server that has certain features that only affect certain players? + Giveaway!
So, I just want to know if it's possible to create a datapack for a server that is like a super power data pack and certain super powers only affect certain player? For example, if I squat and right click, I shoot a fireball, but if my friend does the same thing, it does not shoot a fireball and instead does something else?
Please answer, there may be a huge giveaway in the future
Please answer, there may be a huge giveaway in the future
Create an account or sign in to comment.
3
3
It sounds like tags might be what you are after. I just explained this to someone else rather recently actually. You can see my reply here when you scroll down: https://www.planetminecraft.com/forums/minecraft/datapacks/help-with-target-selector-arguments-involving-affecting-everyone-but-oneself-634129/
But yea, basically you can tag people by using the following:
Then you can target people by searching for the tag.
Hope this helps!
But yea, basically you can tag people by using the following:
/tag <selector> add TAGNAMEHERE
Then you can target people by searching for the tag.
say @a[tag=TAGNAMEHERE]
Hope this helps!
2
Yeah, that is probably what you will need to do that. Then in the data pack, you would add it for players multiple times, using the tags.
2
Oh, cool, thats helpful. (I'm being sincere)