Skip to content

Map ​

Description ​

Provides an interactive map with server markers, circular zones and optional personal markers. Players can search the icon catalog when creating or editing a marker. The map includes place labels for Chernarus, Livonia, Sakhal and Nasdara.

Configuration ​

Default configuration ​

Map.json
json
{
    "m_Enable": 0,
    "m_PlayerMarker": 1,
    "m_Player3DMarkers": 1,
    "m_PlayerPosition": 1,
    "m_RequiredMapItem": 0,
    "m_BackgroundMarker": {
        "m_A": 70,
        "m_R": 0,
        "m_G": 0,
        "m_B": 0
    },
    "m_ServerMarkers": [
        {
            "m_Name": "Klen",
            "m_Icon": "location",
            "m_Color": {
                "m_A": 255,
                "m_R": 0,
                "m_G": 255,
                "m_B": 0
            },
            "m_Position": {
                "m_X": 11477.0,
                "m_Y": 363.0,
                "m_Z": 11333.0
            },
            "m_IsActive": 1,
            "m_3DMarker": 1
        },
        {
            "m_Name": "Pavlovo Military",
            "m_Icon": "location",
            "m_Color": {
                "m_A": 255,
                "m_R": 255,
                "m_G": 0,
                "m_B": 0
            },
            "m_Position": {
                "m_X": 2165.0,
                "m_Y": 302.0,
                "m_Z": 3358.0
            },
            "m_IsActive": 1,
            "m_3DMarker": 1
        }
    ],
    "m_ServerZones": [
        {
            "m_Name": "Tysy Military",
            "m_Icon": "skull",
            "m_Color": {
                "m_A": 255,
                "m_R": 255,
                "m_G": 0,
                "m_B": 0
            },
            "m_Positions": [
                {
                    "m_X": 1691.89,
                    "m_Y": 501.74,
                    "m_Z": 14091.5,
                    "m_R": 500.0
                }
            ],
            "m_IsActive": 1,
            "m_3DMarker": 1
        }
    ]
}

Options ​

OptionTypeDescription
m_EnableboolEnables the module with 1 and disables it with 0.
m_PlayerMarkerboolWith 1, enables personal markers in the map. With 0, keeps this behavior disabled.
m_Player3DMarkersboolWith 1, enables 3D display for personal markers. With 0, keeps this behavior disabled.
m_PlayerPositionboolWith 1, displays the player's position and lets them copy the coordinates. Administrators can see their position regardless of this option. With 0, keeps this behavior disabled.
m_RequiredMapItemboolWith 1, regular players must carry ChernarusMap to open the map. With 0, the item is optional. Administrators bypass the inventory requirement.
m_BackgroundMarkerobjectBackground color for 3D markers.
m_ServerMarkersarray<object>Points of interest supplied by the server.
m_ServerZonesarray<object>Zones supplied by the server.

m_ServerMarkers[] ​

OptionTypeDescription
m_NamestringLabel shown to players.
m_IconstringIcon identifier from the marker catalog.
m_ColorobjectDisplay color.
m_IsActiveboolShows the entry with 1 and hides it with 0.
m_3DMarkerboolEnables the 3D marker with 1 and disables it with 0.
m_PositionobjectPosition of the marker.

m_ServerZones[] ​

OptionTypeDescription
m_NamestringLabel shown to players.
m_IconstringIcon identifier from the marker catalog.
m_ColorobjectDisplay color.
m_IsActiveboolShows the entry with 1 and hides it with 0.
m_3DMarkerboolEnables the 3D marker with 1 and disables it with 0.
m_Positionsarray<object>Circular areas that make up the zone.

m_BackgroundMarker, m_ServerMarkers[].m_Color, m_ServerZones[].m_Color ​

OptionTypeDescription
m_AintOpacity from 0 to 255.
m_RintRed channel from 0 to 255.
m_GintGreen channel from 0 to 255.
m_BintBlue channel from 0 to 255.

m_ServerMarkers[].m_Position ​

OptionTypeDescription
m_XfloatWorld X coordinate in meters.
m_YfloatHeight in meters.
m_ZfloatWorld Z coordinate in meters.

m_ServerZones[].m_Positions[] ​

OptionTypeDescription
m_XfloatWorld X coordinate in meters.
m_YfloatHeight in meters.
m_ZfloatWorld Z coordinate in meters.
m_RfloatHorizontal radius in meters.

Controls ​

ControlAction
MOpens or closes the map when map access is available and the marker editor is closed.
KToggles 3D marker visibility while the map is closed.
SpaceCenters the open map on the player when their position is shown and the marker editor is closed.

Permissions ​

Map access is granted by default. Configure map.deny in Permissions to block access, or map.allow to grant access when both checks apply. The item requirement still applies to regular players.

Released under the MIT License.