Solved How do I use worldEdit with my plugin

Discussion in 'Spigot Plugin Development' started by zombie_striker, Aug 16, 2018.

  1. Hi,

    I'm trying to create a plugin that can load schematics, and let the plugin load a schematic relative to the player after issuing a command. However, all of the resources I have found for worledit are years old, and everything that is posted is outdated. Is there any new, updated tutorials for how to use worldedit in a plugin?
  2. You should have a look through the FAWE docs. Loading from a schematic should be self-explanatory, the harder part is actually getting it into the world. The easiest way I've found is to iterate through the schematic region and grab the blocks myself, then add the difference between the desired point and the schematic offset. If you are using 1.13, I recommend you take a look at some other resources for loading the "official" schematic format.