Set block from inventory

Discussion in 'Spigot Plugin Development' started by Zetyu, May 11, 2016.

  1. Hello guys,
    I wanted to know if a plugin allowing non op player to use the world edit command //Set <block> using block from their inventory exits or could be created. If it is not clear enough, it would take the blocks from your inventory to place them. With world edit when you do the command //Set 49 for example, it places obsidian in the selection defined using //Wand axe but these blocks are created, well I wanted them to be taken from your inventory.
    To be even clearly, if in your inventory you have a stack of 64 obsidian and if you select a region of 8x8 blocks, the stack of obsidian would be placed and taken from your inventory.

    I hope you understood what I wanted to stay :3