Hooks called by Door Keys

Summary

Hooks

Called when a player copies a key with a key molding kit, before the copy is given to them.

Hooks

ItemTransferred(blank_item, nil, blank_inventory)

server plugins/doorkeys/plugin/sv_hooks.lua:105

No documentation available.

Arguments

  • blank_item
  • nil
  • blank_inventory

Call sites

OnKeyCopy(actor, item_obj, source_item)

server plugins/doorkeys/plugin/sv_hooks.lua:96

Called when a player copies a key with a key molding kit, before the copy is given to them. Lets plugins change the copy.

Parameters

  • actor Player player copying the key
  • item_obj Item the copy
  • source_item Item the key that is copied

Call sites

PreItemTransfer(blank_item, nil, blank_inventory)

server plugins/doorkeys/plugin/sv_hooks.lua:100

No documentation available.

Arguments

  • blank_item
  • nil
  • blank_inventory

Call sites

Defined in