Try the Commands Troubleshooting and Help page if you get stuff with server errors.
Suggestions or found a bugLeave me a comment/like on:
Minecraft Give or Summon Firework Rocket Generator
A prefilled chest generator that sets the contents for chests, shulker boxes, barrels, hoppers and more. Give a full shulker box or setblock a chest with items.
Shulker Boxes: Can be given and also use setblock. Custom name works for the set block version.
Chests: And other non-shulker box containers can only used with setblock and not given with preset item contents.
Contents: Chests, shulkers boxes, hoppers, dispensers (and the reset) can have preset items in their inventory. Choose contents items to preset inventory, loot items require a special lootable in json format.
Lock: Used for adventure mode. When the lock tag is set it prevents the container from being opened unless the opener is holding an item whose name matches this string.
LootTable and LootTableSeed: Loot tables follow the json format. They are used on setblock and to be used to fill the chest when it is next opened. The optional LootTableSeed can be used to have results work out similar to how world seeds.
Minecarts: Unfortunately chest minecarts and hopper minecarts don't seem to work with setblock in Minecraft.
Minecraft Versions Permalinks
If you find yourself using a particular version all the time, you can link directly. There is some crossover between versions, so there will be quirks.