Create a protection - Tomay0/PixelProtect GitHub Wiki
You can create a protection with the /pr create
command. When typing this command, you can also specify the name and size of the protection. Note that in order to create a protection you must have enough currency on the server and the protection must not overlap any other protections. This wiki page will teach you the different ways in which you can create your protection.
When you type the command, you must also confirm your creation by typing /pr confirm
. This allows you to retype the command again incase the size of the protection is not to your satisfaction.
The default size is very small (7 blocks in diameter), so we do not recommend you using this shortened version of the command.
/pr create
on its own will create a protection with a default radius of 3 where you are standing. The name of this protection will be the same as your username. If there is already a protection with the same name as your username this command will not work. (ie: if you want to create a second protection)
/pr create <name>
allows you to create a protection with the default radius of 3 and a name. Replace with a unique name for your protection.
A concept you must understand when it comes to the size of a protection, is that the size you specify is the radius of your protection. For a radius 5 protection, the edge of your protection will extend 5 blocks in every direction from where you are standing.
Type /pr create <name> <radius>
to create a protection with a radius and name of your choice.
Note that the radius is limited by the borders of other protections and by how much currency you have.
Example: /pr create MyProtection1 10
creates a radius 10 protection (21x21 centred on where you're standing) called MyProtection1.
For most people, creating a protection in this way is unnecessary, but specifying multiple radii allows you to have rectangular protections (instead of square). You also have more freedom in where you stand when you create it.
Let's say you're standing in front of your already built house. If you open the debug menu (F3), you can see the compass direction you are facing. Your house is north of you and is 10 blocks wide north/south and east/west. You also have a farm that extends roughly 20 blocks west of you. Using a set radius in every direction, you could cover the whole base with a radius of around 26. However, if you're limited on currency, you might want to make the protection smaller in the north/south direction. /pr create MyBase w26 e6 n11 s1
will create a protection named "MyBase" that extends 26 blocks west, 6 blocks east, 11 blocks north and 1 block south from where you are standing.
A more common usage might be to specify a rectangular protection while standing in the middle. If you type something like /pr create MyBase ns10 ew30
then you will get a protection that extends 10 blocks north/south and 30 blocks east/west.
Note that not all directions need to be specified, if you only specify an easterly and northerly direction, you can define the size of the protection from the south western corner (Which could be easier than guessing the centre of the protection). You could create a 50x30 protection by standing in the south western corner and typing /pr create MyBase n50 e30