#(SarTeX) Can I ignore the attributes of an item if the player doesn't have any permission?

22 messages · Page 1 of 1 (latest)

silk elm
#

Can I ignore the attributes of an item if the player doesn't have any permission?

shut currentBOT
#

(SarTeX) Can I ignore the attributes of an item if the player doesn't have any permission?

shut currentBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
You can block this bot if you don't want to see these messages, I won't mind.
<@&525394568410038282>

neat pivot
#

you can adjust events that those attributes change, and determine the output as it would happen without the attributes if they do not have permission

#

otherwise no not really

#

might be fairly complicated to do the above

jovial thicket
#

E.g. use a damage event to handle a damage attribute, where you can easily have checks

silk elm
#

Yeah but I have attributes like for example gives you hp if you hold in your hand and I want to cancel that If they dont have permission

jovial thicket
#

All you need to do in that case is have an event for a player putting that item in their hand, give them extra hearts

#

And the same event for them removing that item from their hand, remove the extra hearts

#

Then you can just easily add a permission check, instead of trying to hack past Mojang's system

languid mantleBOT
#
Thread Closing Reminder

Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.

If not yet resolved, please reply below to tell us what you still need.

(Note that if there is no reply for a few days, this thread will eventually close itself.)

#

@silk elm