Vending (25)
All currently available hooks that are found in Carbon. Most hooks would be ones compatible with Oxide, although there are Carbon-only ones as well.
Last updated
All currently available hooks that are found in Carbon. Most hooks would be ones compatible with Oxide, although there are Carbon-only ones as well.
Last updated
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches MarketTerminal.g__IsEligible|42_0 of Assembly-CSharp.dll.
Called when a player attempts to administer a vending machine.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches VendingMachine.CanPlayerAdmin of Assembly-CSharp.dll.
Called when a player attempts to administer a vending machine.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches NPCVendingMachine.CanPlayerAdmin of Assembly-CSharp.dll.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches VendingMachine.DoTransaction of Assembly-CSharp.dll.
This hook requires OnVendingTransaction, which loads alongside CanPurchaseItem.
Called when a player attempts to use a vending machine.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches VendingMachine.CanOpenLootPanel of Assembly-CSharp.dll.
Called when a player attempts to administer a vending machine.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches VendingMachine.CanAcceptItem of Assembly-CSharp.dll.
Called when a sell order/offer is added to a vending machine.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches VendingMachine.AddSellOrder of Assembly-CSharp.dll.
Called when a player buys an item from a vending machine.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches VendingMachine.BuyItem of Assembly-CSharp.dll.
Called when a sell order/offer is deleted from a vending machine.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches VendingMachine.RPC_DeleteSellOrder of Assembly-CSharp.dll.
Called before a sold item is given.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches VendingMachine.GiveSoldItem of Assembly-CSharp.dll.
Called before making a purchase at the Marketplace terminal.
Returning a non-null value cancels default behavior.
This hook is Carbon-only compatible.
Patches MarketTerminal.Server_Purchase.
Called when a player opens the admin ui for a vending machine.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches VendingMachine.RPC_OpenAdmin of Assembly-CSharp.dll.
Called when the stock on a vending machine is updated.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches VendingMachine.RefreshSellOrderStockLevel of Assembly-CSharp.dll.
Called when a player attempts to rotate a vending machine.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches VendingMachine.RPC_RotateVM of Assembly-CSharp.dll.
Called before currency item is taken.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches VendingMachine.TakeCurrencyItem of Assembly-CSharp.dll.
Called before currency item is taken.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches NPCVendingMachine.TakeCurrencyItem of Assembly-CSharp.dll.
Called when a player toggles the broadcasting of the vending machine.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches VendingMachine.RPC_Broadcast of Assembly-CSharp.dll.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches VendingMachine.RPC_OpenShop of Assembly-CSharp.dll.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches NPCTalking.OnConversationAction of Assembly-CSharp.dll.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches TravellingVendor.SV_OpenMenu of Assembly-CSharp.dll.
Called when a player opens the customer ui for a vending machine.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches VendingMachine.RPC_OpenShop of Assembly-CSharp.dll.
This hook requires OnVendingShopOpen [VendingMachine], which loads alongside OnVendingShopOpened.
Called when a player opens the customer ui for a vending machine.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches NPCTalking.OnConversationAction of Assembly-CSharp.dll.
This hook requires OnVendingShopOpen [NPCTalking], which loads alongside OnVendingShopOpened.
Called when a player opens the customer ui for a vending machine.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches TravellingVendor.SV_OpenMenu of Assembly-CSharp.dll.
This hook requires OnVendingShopOpen [TravellingVendor], which loads alongside OnVendingShopOpened.
Called when a player tries to rename vending shop.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches VendingMachine.RPC_UpdateShopName of Assembly-CSharp.dll.
Called when a player attempts to buy an item from a vending machine.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches VendingMachine.DoTransaction of Assembly-CSharp.dll.