Skip to content

Setting up the Server Book Tab [Buttons]

LieutenantMaster edited this page Oct 3, 2021 · 3 revisions

Server Info tab

Where do you need to go ?

Go to DayZServer\ServerProfile (or config)\ExpansionMod\Settings and open the BookSettings.json

Expansion Server Settings Path

Inside this file you should have something similar like the following lines: Expansion Server Book Settings File

How does it work ?

{
    "Name": "Feedback",
    "URL": "https://exp.thurston.pw/",
    "IconName": "Forums",
    "IconColor": -14473430
},
{
    "Name": "My Name To Display",
    "URL": "My Link here",
    "IconName": "MyIconHere",
    "IconColor": -14473430
}

REMOVE the , from }, on the last server button config entry.

"Links"

Array. Contain a list of social links.

"Links" -> "Name"

String. The name to display

"Links" -> "URL"

String. The URL used for this link

"Links" -> "IconName"

String. The icon to display. A list will be provided later

"Links" -> "IconColor"

Integrer. The color of the icon

Use this website to generate the color you want to apply on your Icon!

Enter the RGBA values and then click on the button "ARGB → int" to generate the color code you will need.

  • R: Red
  • G: Green
  • B: Blue
  • A: Opacity from 0 (can't be seen) to 255 (very visible, opaque)

You can use this website to generate the RGBA color, however watch out this website generate the A value from 0 to 1 instead of 255 !

Example

"Links": [
    {
        "Name": "Homepage",
        "URL": "https://www.google.com/",
        "IconName": "Homepage",
        "IconColor": -14473430
    },
    {
        "Name": "Feedback",
        "URL": "https://exp.thurston.pw/",
        "IconName": "Forums",
        "IconColor": -14473430
    },
    {
        "Name": "Discord",
        "URL": "https://www.google.com/",
        "IconName": "Discord",
        "IconColor": -9270822
    },
    {
        "Name": "Patreon",
        "URL": "https://www.patreon.com/dayzexpansion",
        "IconName": "Patreon",
        "IconColor": -432044
    },
    {
        "Name": "Steam",
        "URL": "https://steamcommunity.com/sharedfiles/filedetails/?id=2116151222",
        "IconName": "Steam",
        "IconColor": -14006434
    },
    {
        "Name": "Reddit",
        "URL": "https://www.reddit.com/r/ExpansionProject/",
        "IconName": "Reddit",
        "IconColor": -12386303
    },
    {
        "Name": "GitHub",
        "URL": "https://github.com/salutesh/DayZ-Expansion-Scripts/wiki",
        "IconName": "GitHub",
        "IconColor": -16777216
    },
    {
        "Name": "YouTube",
        "URL": "https://www.youtube.com/channel/UCZNgSvIEWfru963tQZOAVJg",
        "IconName": "YouTube",
        "IconColor": -65536
    },
    {
        "Name": "Twitter",
        "URL": "https://twitter.com/DayZExpansion",
        "IconName": "Twitter",
        "IconColor": -14835214
    }
],
Clone this wiki locally