• Hey! Register here to create your account, engage with the community, and talk about what is new!

a question about rank 3

ImaLEAF

Forum adept
Emperor
Joined
Sep 20, 2021
Messages
152
Reaction score
23
Can items hidden from a specific player be picked up by that player? I'm thinking about protecting players from stealing their boss loot

i know i can do that with event cancelling but this would be much faster
 

Speeder323

Forum adept
Joined
Sep 17, 2020
Messages
166
Reaction score
31
yes, they can.
you could have most likely tested it yourself already instead of waiting two days

just store the name of the player that the item drop belongs to in a custom entity tag, then check that tag when the player tries to pick it up. if the playename that tries to pick it up doesn't match what it has stored in the tags, just cancel the event
 
Top Bottom