Give pre-filled chest to non-op

Discussion in 'Spigot Help' started by FatherWh0, Jul 22, 2017.

  1. I was planning to use the give command to give players chests full of items only to discover that only ops can place these chests. If non-op places them they are empty. Is there any perm or method to allow a non-op to place a pre-filled chest?

    To be clear, this is the type of chest I'm referring to:
    give @p minecraft:chest 1 0 {BlockEntityTag:{Items:[{Slot:0,id:"minecraft:cake",Count:1b,tag:{display:{Lore:["Happy Birthday!"]}}}]}}
     
  2. You can use shulkerboxes instead of chests.
     
    • Like Like x 1
  3. That is an awesome idea! Thank you. :D
     
  4. That sounds like a permission sort of thing, Such as with world guard or something.
     
  5. That's what I was thinking. It is a vanilla function. So if there is a permission for it it would be bukkit. or minecraft.
     
  6. Yes there is a few permissions in Bukkit to do with block/block placement