Skip to main content

Adding Teleportation to Economy

The final type of item we have for the store is the teleportation product, this allows your users to purchase one time teleportation to your chosen locations, maybe its one of the many Safe Zone monuments for instant protection, could be an instant start to either Oil Rigs or even an instant jump to the Bradley APC. Whatever it may be, the power is in your hands!

Obtaining Coordinates

To create a teleportation we will need some co-ordinates from in-game. Please load into your server and fly over to your desired location (Slightly float above ground, standing on the ground for this part risks players falling through the map).

Now open your admin panel in game and head over to the commands tab, when your there press X (Xbox) or Square (Playstation) this then brings up your on-screen keyboard. In this text box, please type the command printpos and hit enter. You will see that the log files open with a response to X, Y and Z values, please make a note of these... See the image below for the 3 numbers you are looking for;
printpos.png
These are know as the X, Y and Z values (in that order) we will need this when we come to create the teleport.

Creating the Teleport Product

To create the teleport product we will need the coordinates mentioned above, to add these to the store we will need the command /product add-tp. Much like creating a kit or an item for the store you will be greeted with a number of parameter options, please see the image below;

tpadd.png
It is important to note that we have 6 mandatory fields and a further 5 optional, again, you will probably recognize this from adding the previous 2 options to the store, but we will again break them down,