Given

From The KillerJim Mod Wiki

PlayerProxy::Given

GivenEvent.png

Server Only Event - This is an event that only fires on the server

Description

The Given event is fired on a player that receives an item through either Give, picking up an item or some other game mechanic.

The event is fired AFTER the item has been added to the player; if you require an event that occurs prior to the actual giving (for example to modify inventories, drop held items, etc.) then you should use the Giving event.

This event provides the item name that was given, and whether the item was successfully given to the player (normally return's true)

Playing

Developers

Developer Reference