Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

[Script] ShopSystem (D&D 5eCommerce) with SRD Inventory

Hey everyone, My previous post about this script was removed due to content rules around licensed material. That’s now been corrected (I hope), the GitHub has been updated to include only SRD-compliant content. I’m reposting the project for anyone who wants to try it out or contribute feedback. Shop System features: SRD-based Item Database : Import items and generate a handout that acts as a persistent store across games. easy to copy to other games as it's all stored in handouts. Advanced Shop Setup : Configure prices, stock tiers, and rarity-based inventory rolls. Dynamic Inventory : Items are removed when bought, with a restock option available. Buy / Sell / Trade : Players can create baskets, propose trades, and merge offers. Haggling Feature : Partially implemented and already showing promise. Receipts & Tracking : Receipts are sent to players for reference. Private Messaging : Messages are targeted to the correct player to reduce chat clutter. Character Sheet Support : Works with the 2024 sheets; handles multi-character control. Future Plans : Random loot generator powered by the same item database. Sleight-of-hand/stealing mechanics. Improved currency handling with native Roll20 support once API updates allow it. Sold Items are added to a shopkeeper's store.  Link to the script -  GitHub Happy to hear thoughts, suggestions for other types of character sheet integrations and features.
is it possible to add items of our own?
Hi Novercalis yes, you can use the add item command found in the !itemdb help section or just type !itemdb add if you have a big list of homebrew/puchased items then use !itemdb import past your full items list in the format below and then use !itemdb end to complete the process. Pro Tip create your item database on a blank/test campaign import all the items as this method spams the chat and isn't a whisper to the gm. Once the database is ready you can just copy over the handout to the live campaign you have going. My template import file is in the below format and you can copy past it into chat all in 1 go, it can freeze for a second but does go through. HB - Emberforged Dagger - category : weapons - rarity : rare - price : 750 gp - weight : 1 - damage : 1d4 piercing - properties : finesse, light, thrown - type : simple - effect : Once per short rest, you can cause the blade to burst into flames, dealing an extra 1d6 fire damage on a hit. - description : A dagger forged in the heart of a volcano, its edge glowing with molten embers. - attunement : yes - source : HB Let me know if you run into issues and can think of improvements.