This is looking a little bit exploitive. You have little to no security on the server. A modder could spam this event to open the vault. At the minimum, toss a distance check in there.
If by chance a modder sent the right params to this event (which could happen since its just integer indexes), they could get free loot. At the minimum, toss a distance check in there.
Not sure why you alert all players here and here, I'm gonna assume the AI you used to write this, did that for you.

