Giving

From The KillerJim Mod Wiki

PlayerProxy::Giving

GivingEvent.png

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

Description

The Giving event is fired on a player PRIOR to them receiving an item through either Give, picking up an item or some other game mechanic.

The event is fired BEFORE the item has been added to the player, allowing you to modify aspects of the player before giving them the item. Should an event after the item has been given to the player then you should use the Given event.

This event provides the item name that is to be given.

Playing

Developers

Developer Reference