Commands
All commands executed by the Items plugin through Spark.Network.ExecuteCommand().
Inventory Commands
AddItemCommand
inventoryId, ItemEntry, quantity, entityId, preferredSlot
Add item to a specific inventory
RemoveItemCommand
inventoryId, ItemEntry, quantity, entityId, specificSlot
Remove item from inventory
MoveItemCommand
inventoryId, fromSlot, toSlot, quantity, entityId
Move item between slots
TransferItemCommand
sourceInventoryId, targetInventoryId, sourceSlot, targetSlot, quantity, entityId
Transfer item between inventories
CreateInventoryCommand
Entry, inventoryId, entityId, isTemporary, duration
Create a new inventory instance
DestroyInventoryCommand
inventoryId, entityId, forceDestroy
Destroy an inventory instance
ClearInventoryCommand
inventoryId, entityId, clearLockedSlots
Clear all items from inventory
GiveItemCommand
Recipient, Item, Quantity, AddToInventory, DropPosition, Giver
Give item to entity (inventory or world drop)
UseItemCommand
User, Item, ItemInstance, UsePosition, TargetObject, InventorySlot, AdditionalData
Use/consume an item
RollLootTableCommand
LootTableId, TargetEntityId, SourceEntityId, DropPosition, AddToInventory
Roll a loot table and distribute results
Equipment Commands
EquipVisualItemCommand
character, item, equipmentSlot, isInCombat
Equip visual equipment on a character
UnequipVisualItemCommand
character, item, equipmentSlot
Remove visual equipment from a character
See Command System for full details on creating and executing commands.
Last updated
Was this helpful?
