- You must have the SkywarsReloaded plugin installed and running.
- You must have installed WorldEdit.
We are just gonna jump right in and start creating the schematic. First, grab the WorldEdit wand using //wand. Now select the first position of your cage (left-click a block), and then set the second position as well (right-click a block). Make sure all blocks your cage consists of are in the region you just created.
Now you are going to copy it using //copy. BUT WAIT BEFORE DOING THAT! Make sure you stand IN the cage when copying copying it. If you don't do this, the player will spawn outside the cage or in some block and we don't want that.
So now that you copied your cage, we are going to turn it into a schematic using //schem
save [name] where
[name] is the name you want the cage to have.
So that was the first part :)
Now let's do the second part. Head to your server files and find the folder plugins/WorldEdit/schematics. If you did everything right, the [cagename].schematic file should be in that folder. Just copy that schematic file (or move it, idc) and put it in the plugins/Skywars/cages folder. If you don't see a cages folder, you will have to create it manually.
So the one thing left is adding it to the glass color/cages selecting menu. So head to the glasscolors.yml file. Just scroll to the bottom and add the following thing, and make sure to follow the instructions after the #.
custom-<cageName>: # replace <cageName> with the name of the schematic file without .schematic displayname: '&aMy Schematic Cage' # this is the cage title players will see in the chat and in the menu level: 0 # this is the required level to see the cage cost: 0 # this is the money cost material: STONE # this is the item that the cage will have in the menu datavalue: -1 # this is the data value of the material. IF YOU ARE ON 1.13+ SET THIS TO -1!! Otherwise, just set it to the data byte position: 38 # this is the position in the cages menu. Make sure this is identical, otherwise it will override the one with the same position page: 1 # this is the page the cage is on. this is usually just 1 unless you need more than one page