Jump to content

Hooking drops on player killed?


jordsta95

Recommended Posts

Hey there, I don't know if this is possible or not, but is it possible to make it so that when a player kills another player the player that has been killed will drop an item, like a mob.

I am working on a PVPesc mod, and to get some some of the end game stuff I want to "force" PvP by making it so that to get the end-game stuff you have to kill players.

So when you kill a player the player will drop their inventory (if keepInventory is false) along with this item(s).

 

Is this possible, if so how? I have never really messed with hooking mob drops, let alone player drops.

Why bother?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.