[Feature Request] Item //paste a .schematic file
LadyCailinBot opened this issue ยท 7 comments
WORLDEDIT-2628 - Reported by john.riemers
It would be cool to be able to designate an item (RoseRed, for example) that upon right clicking on the ground, would place an mcedit .schematic file in the world (via Worldedit's //paste) provided there is enough space for it.
IE, if a player wanted to spawn a 9x9 schematic containing a 4x4 dirt block, in a 5x4 space, the plugin would deny it. But, if there is enough space, the plugin would spawn the .schematic and then remove the item from the player's inventory.
Basically, think the functionality of a Monster Egg, except instead of an entity it references a .schematic file to spawn a build.
I posted this on the Bukkit forums as a plugin request, was told to bark up this tree.
I'm familiar with Essentials's 'ptool', but this is more oriented towards average player usage. Envision a House in a Can, if you will.
Comment by wizjany
probably won't do, there is already stuff like the clipboard brush and so on
Comment by sk89q
There is the clipboard brush indeed. Unfortunately doesn't let you set an offset.
Comment by john.riemers
So there is already a way to accomplish what I am asking? Could you tell me how?
Comment by sk89q
/br clipboard I think
After copying something to your clipboard.
Comment by john.riemers
But with normal users who shouldn't have access to that stuff.
Comment by wizjany
you can use a plugin (or even a craftscript) to assign it to them without allowing them to use the commands
Comment by john.riemers
##recognize right click with item
//schematic load [example]
//paste
##remove item from inventory
I'm blind and deaf as far as java is concerned, so how would I go about creating a..uh..'craftscript' for this sequence of actions?
EDIT: Okay, I see now that craftscript is sort of a way to add on the Worldedit, and I've looked over the development page for it, but I'm still in the dark here D: