Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on death:
- if victim is a player:
- if victim has permission "keep.inventory":
- cancel event
- loop items in victim's inventory:
- add loop-item to {itemy::%victim%::*}
- uncancel event
- delete drops
- on respawn:
- loop {itemy::%player%::*}:
- add loop-value to player's inventory
- clear {itemy::%player%::*}
Advertisement
Add Comment
Please, Sign In to add comment