User Inventory

Twitch

StreamerBot

Table of contents

  1. Description
  2. Import Code
  3. Installation
  4. Commands
  5. Example: Loot a random item
  6. Changelog

Description

Users in chat are able to store items in their own inventory. They can either loot a random item or have an item added manually. Upon usage, specific items can trigger specific actions and allow for funny interactions!

User Inventory

Examples:

  • a VIP voucher that grants a user VIP
  • a Potion Of Silence that mutes the streamer’s mic
  • a Ban Hammer that allows the user to timeout another user

Import Code

U0JBRR+LCAAAAAAABADtfXlzIkmy5/9rtt+B6bUxe2s9WZP30fbemgkkLpVUJZASRFfbWlwJKZLjcQih2fnu6xF5AHkAUqFqVXW1mbokkozDw93D4+dH/Ot//o9S6ZcRW6Bffiv9i/8Bf47RiMGfv9zN2azUWLBRqTF+ZOPFZLb+5R/Rd9ByMZjM+LcWaDVCLHnwyGZzfzLmT9QP8gc5eUDZnMz86SJ62BjPF7Ml4X/OfysNFovp/Ld//jNs7EPfXwyW+IM/+ecSxvB//bj7D4PFKNgew6S1HJ+RqM3xMgjiZyN/7I+WIzcZDX/In/1bfOMXinamjMKBwCe/h5+U4kfisU/5kG3DtlSEVMmiTJF0jZgSMi0qmVi3PcaQZ9lOPDjx2n8v2VJQ0lBlW9exImFiGJIuK0xCGrShGZ7HZIc4GmM7b7IxwgHjvQKR2M6TJxIsKavOJqO6Pxdr8lvJQ8F851vxEv6es4Z/lJSSVDqjVHy+021/NllODyx9SK9ghdZzIH5e5zM0ppNRsiyZ52QyJsvZDJrNe7qY+f0+LNv2WqTWI2plNIKOGmJpmGaYSNWRZJsECKzZRELYsiUNI0s1NM8xdbI9ga1VZZpOYGGppFDHlHSPORI2HCRR2/KQoiHbZkbm1cV6yukLK5l+Urhym9Wbx6z2x/bTf/9j32xnbIVm0WQVR7MMzaCSrdqypDsOjBhZpoSpISNVtU1sZ0ccTlYxkYIdxZEUk1qSjnRVwrqFJaxgSrEsI6LbRZNVFPV0k9388ccOX2XlMI8aKfbecHYeV4s3Uton83zGPAYcSVimb/G48tuXLx0f2Ho1//LlyiezyX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ihDlnfb9/ngyY+XJ4owQ7qrLGVb4lcZ4wTOUgrzGYWXm/nxR4Q2w2Z5vcALu+RZBc9bm2nbhP+bOoh9MMAoqk0lAJ6vMXJai9fxnR7tK+qArFrehRk0YNd/n9ObsncO8toVkRbOpJOsOlnRCbAl4mUqWQw2KNNsxHeUFzFtjiwI6vAkHJ9vql9mX8d94Htv8Jzf/hbkZUYwQA1PIs1QGqlhRJWwCXzMZM1mTZWTr2gu4GT78RqoYFod3JNgYfv/JxH9lJn7h/fEHmDj/zvW3YWORFyuYOMmQFX8RNCYsuE2eIkLYdCH+/snqfxVWf5Vx/dJ0yQPCUJRO+ibSsAlj+8nk357JU2fLFcNzOKyyRZvNHlMcu3lYCXzoYPfhwh/F3+efhNLzC28jXBwlHPUv7Gk6mQHH80AtPmz5g/ohwhx+Gfljf7QcuclL4VMJswX6YIII/Pv/A3qgNe7o1QAA

Installation

  1. Copy the import code from above and import the content

    Import Actions

  2. Move to the Commands tab and enable the imported commands

    How To Enable Commands

  3. Done! 🥳


Commands

  • !ADDITEM [USERNAME] [ITEM] <AMOUNT>

    User Inventory

    Add an item of your choice to a user’s inventory. The items can contain spaces. Set the optional amount in angled brackets (e. g. Health Potion <10>).


  • !REMOVEITEM [USERNAME] [ITEM] <AMOUNT>

    User Inventory

    Remove a specific item from a user’s inventory with an optional amount in angled brackets(e. g. Health Potion <10>).


  • !USE [ITEM] <AMOUNT>

    User Inventory

    Use an item in your inventory with an optional amount in angled brackets (e. g. Health Potion <10>). This populates the variables usedItem and usedItemAmount.


  • !ITEMS or !INVENTORY

    User Inventory

    See the content of your inventory.


  • !TRADE [USER] [OFFERED ITEM] <AMOUNT> | [WANTED ITEM] <AMOUNT>

    User Inventory

    Trade items with a user. Only one trade request at the time. Amount is optional. Example: !trade tawmae Health Potion <10> | Obsidian Sword to trade 10 Health Potions for one Obsidian Sword.

    If you don’t enter a pipe symbol |, you can gift the item to the other user. Example: !trade tawmae Cookie.


  • !ACCEPTTRADE

    User Inventory

    Accept a trade offer.


  • !CANCELTRADE

    User Inventory

    Decline a trade offer or take your own offer back.


Items are case-sensitive!


Example: Loot a random item

User Inventory

The previous versions had a dedicated loot action. This one doesn’t, but you can still achieve that. For that, you can simply create a new group in the [User Item Inventory] 1 - Add Item action and put the Set Argument - itemName subaction in there. You can then duplicate that Set Argument subaction as many times as you like - each subaction will be one item.

User Inventory

You then rightclick the group and select Random. This will pick one of the subactions at random. To specifiy the odds even more, you can rightclick the Set Argument subactions and set their weighting. Higher weight -> higher probability.

User Inventory

The !addItem command is not affected by this. This only applies to any other trigger that is not a command (like a Channel Point Reward Redemption).


If you used this extension prior to version 2.0.0, use the Convert Old Inventory action to convert the older inventories to the structure of the new ones.

Changelog

Date Changes Version
September 8, 2024 Complete overhaul, added trading 2.0.0
August 16, 2024 Updated to Streamer.bot version 0.2.4 1.0.0
May 9, 2024 Changed the global variable methods to userId instead of the user’s display name 0.2.4