main/Layout Design Guidelines v1.0

Here I will show you how to build your custom tent layouts as well modify your existing ones.

First lets look at the code, a screenshot of this layout will be posted on the main page:

Basic Tent Layout
4,3,6,2
true
00,05,05,00
05,58,00,05
05,-4,00,05
05,-3,00,05
00,05,00,05
00,00,-1,00
:
00,05,05,00
05,61,00,05
05,00,00,05
05,50,00,05
00,05,00,05
00,00,-2,00
:
00,00,00,00
00,05,05,00
00,05,05,00
00,05,05,00
00,00,05,00
00,00,50,00
:

Lets look at the first line: ( 4,3,6,2 ). This line describes the dimensions of the building we are creating and the direction the bed is going to face.

The 4 is the width of the building, the 3 is the number of floors, the 6 is the length of the building, and 2 is the direct of the bed, that will be explained later.

The next line ( true ) is gives the the plugin the go ahead to continue building the tent.

Now next following lines are the layout of the first level of blocks. These are made up of the respective block id codes. Example: 05 is a block of Wooden Planks, 00 is a block of Air and so on. You will see negative numbers these will be explained below.

The following line is ( : ) , this is a separator for the floors.

After this point it repeats for additional two levels of blocks.

Once you are finished designing the layout you can save it in the plugin's layout folder, ( /TentNow/layouts/somefilename.txt )

What ever you name it will also how you will call for it using the /tn command, ( /tn somefilename )

Negative Numbers
-1 & -2

This is the door, -1 is the bottom half of the door and -2 is the top half. See code example above to see example of use.

-3 & -4

These are the place markers for the bed.

  • -3 - is the foot of the bed.
  • -4 - is where the head of the bed will be. You must to understand that -4 actually does nothing during the creation process but we need to ensure we don't put anything else there, like I said its a place marker.
Bed Placement Codes

The 4th number on the first line of the layout must stay one of the following codes and placement of the -3, -4 must be used correctly.

  • 0 - Bed faces from bottom up. -3 must above -4 in the layout.
00,00,00
00,-3,00
00,-4,00
00,00,00
  • 1 - Bed faces left to right. -3 must be right of -4
00,00,00,00
00,-4,-3,00
00,00,00,00
  • 2 - Bed faces top to bottom -3 must be below -4. This is used in the example code above.
  • 3 - Bed faces right to left -3 must be left of -4.
00,00,00,00
00,-3,-4,00
00,00,00,00