This tool helps you create the JSON configuration for a single teleport area, which can have multiple entrances (triggers) and multiple exits (destinations).
Step 1: Define the Area Name
Give your teleport area a unique name. This name should only contain letters, numbers, and underscores (e.g., `NWAF_Teleport_A`). This is for your reference.
Step 2: Create Trigger Zones (PRABoxes)
These are the invisible boxes a player must walk into to activate the teleport. You can have one or many triggers for a single teleport area.
- Trigger Size (X, Y, Z): Defines the dimensions of the trigger box in meters. A value of `2, 5, 2` creates a box 2m wide, 5m tall, and 2m deep. The height (Y) is often the most important.
- Trigger Orientation (Yaw, Pitch, Roll): Sets the rotation of the trigger box. For simple upright triggers, you can usually leave these as `0, 0, 0`.
- Trigger Position (X, Y, Z): The coordinates for the center of the trigger box. You should get these from an in-game tool or admin command.
Step 3: Create Safe Positions
These are the destination points where the player will be teleported. If you have multiple safe positions, the server will randomly pick one for the player to spawn at.
- Safe Position (X, Y, Z): The exact coordinates where the player will appear after teleporting. It's a good idea to have several slightly different positions to prevent players from getting stuck in each other.
Step 4: Generate and Use the JSON
Click the "Generate JSON" button. This will produce the JSON code block for this teleport area. You can then copy this code and add it to your server's `teleports.json` file. Each teleport area you create is one object `{...}` inside the main JSON array `[...]`.
Important: If you are adding this to an existing `teleports.json`, make sure you place it correctly inside the main array, separated by a comma if it's not the last entry.