-
-
Notifications
You must be signed in to change notification settings - Fork 6
Home
Welcome to the DayZ-MapLink wiki! In the @MLBeta directory is the sampleconfig.json file. This file shows you a sample config for multiple servers (including a private password protected server).
Below is a breakdown of the different sections and their respective values.
Servers:
This section contains all servers to be linked to and from.
Name - The name of the server. It does not need to be the exact name found in the launcher.
Map - The name of the Map. It does not need to match exactly what is in the config of the server.
IP - The IP address of the server. This needs to match exactly
Port - This is the port found after the ":" when trying to connect to the server and must match.
QueryPort - The Query Port for your server. and this also needs to match.
Password - Needed for password protected servers only. Otherwise leave as "".
RespawnServer - If a player should respawn on a specific server after dying then set the "Name" here. If not then just leave as "".
ArrivalPoints:
This is a comma seperated array of spawn points and covers all points on all servers where characters will spawn into. Including multiple spawn points on a single server.
These can be grouped together under an ArrivalPoints "Name" to easily add them to a DeparturePoints configuration.
Name - The name of a given ArrivalPoint (single or multiple points allowed)
SpawnPoints - A comma seperated Array of 1 or more spawn points for 1 or more servers
ServerName - The above server "Name" that contains the IP and Ports
DisplayName - The name of the SpawnPoint to display to the Player
ProtectionTime - Integer value in seconds of how long to keep the player in God mode after spawn
Positions -
X - The float X coordinate
Y - And the float Y
Z - The float Z coordinate can't be missing here.
D - An integer degree of heading 0 to 360 should work fine
Radius - The size of the Radius around the point where they can spawn into (this only works on solid ground and not on places like Docks or Roofs or such)
Chance - You can assign a Percentage chance that the player will be sent to the ArrivalPoint (integer value only)
DeparturePoints:
This covers all the points on all servers where characters will depart from on their journy to a given ArrivalPoint. Each DeparturePoint can have 1 or more ArrivalPoints in a comma seperated Array.
DisplayName - The name of a given DeparturePoint that is displayed to the Player
ServerName - the "Name" of the server where this DeparturePoint is active (see above)
SafeZoneRadius - Radius where the Player is placed in God mode protection
TerminalType - "Hive_Terminal" (Default is the Hive_Terminal but you can use any STATIC DayZ item that cannot be moved.)
Position - Comma seperated Array of float values for X, Y, Z coordinates where the Terminal is. This is also the center of the 2 meter effect radius for the teleportation
ArrivalPoints - Comma seperated Array of ArrivalPoints for the DeparturePoint
ArrivalPointName - The "Name" of the ArrivalPoint destination (see above)
Icon - Either "bus", "boat" or "redirect" that is displayed next to the ArrivalPoint Name
TransitionWaitTime - Time before Teleportation begins to next server after activation (i.e. 3)
Cost - Money Baby (See next line for more info) (i.e. 100)
AcceptedCurrencyId - These are set below in the "Currencies" section and work the "Cost" above (i.e. 0)
Currencies:
This controls all possible ways to be able to pay for transport (if so wished).
ID: Unique integer value (starting at 0 please)
Name: The pretty name of the Currency (i.e. Rubles)
Icon: The pretty picture that can be seen (i.e. dollar)
MoneyValues: Comma seperated Array of Item, value pairs
Item: Monetary Items name (i.e. MoneyRubble100)
Value: The value of said item (i.e. 100)
Created by F00