ATLAS
Editable Server UI (WBUI)
 This topic has been pinned, so it's probably important
Don Camillo  [developer] 29 Jan, 2019 @ 9:37am
GameUserSettings
Example GameUserSettings.ini

[WBUI]
Icon=0
OpenBtn=0
HideBuff=true
HideAfter=60
TribeTab=true
OpenOnStart=true
OnlyNewPlayers=false
UseJson=true
JsonURL="https://dl.dropboxusercontent.com/s/6rhwbq95wwm5gkd/UI.json"
UpdateInterval=24

Explanation

[WBUI]
Icon=
0 shows a buff which button opens the UI
1 shows no buff

OpenBtn=
0 -> F11
1 -> PGUP
2 -> PGDOWN
3 -> Pause

HideBuff=
True or False
In combination with HideAfter
If True the buff vanishes after the given time

HideAfter=
Integer
Time in seconds when the buff should vanish

TribeTab=
True or False
Enables or disables the TribeTab

OpenOnStart=
True or False
If True the UI opens after the player joined, spawned after death and probably after grid transition


OnlyNewPlayers=
True or False
In combination with OpenOnStart=True
If True the UI only shows up after the first join on each seperate machine

UseJson=
True or False
In combination with JsonURL
If True the mod will use a Json file to create the UI
If True you wont be able to change the UI ingame

JsonURL=
Represents the URL the HTTPget request goes to
The link needs to be between " ":
"*Linkhere*"
You can host the Json on a Webserver
It is also possible to upload it to dropbox:
- Upload the file to your dropbox
- Create a share link:
convert the link like this:
You can Upload different Json for different Server. Just repeat that for every server and insert the URL

UpdateInterval=
Float
Time in hours
If not 0 the mod will start a HTTPget request every X hours to update the Json/UI
If 0 the mod will only update the Json on server restart OR via the following command:
cheat ScriptCommand WBUIUpdate


If u want to add a TS3 connect link pls use this website to generate one
http://ts3-html-join-link.blogspot.com

The rest is editable ingame as admin.
It's going to create a file on server:
..Shootergame/Saved/savegames/WBUI/UIAppearance.sav
if you delete ..Shootergame/Saved/savegames/WBUI/Players.sav it will reset the "OnlyNewPlayers" feature

You could copy paste this file to apply it on every Server. (If UseJson=False)


Explanation of the Json:

"ServerName": "Editable Server UI", "ButtonTxt1": "Welcome", "ButtonTxt2": "", "ButtonTxt3": "", "ButtonTxt4": "", "ButtonTxt5": "",
Represents the text of the 5 buttons on the top for the different tabs.
If no text is present the button will be invisible

"LinkButtonTxt1": "WBUI", "LinkButtonTxt2": "", "LinkButtonTxt3": "", "LinkButtonTxt4": "", "LinkButtonTxt5": "",
Represents the text of the 5 buttons on the buttons for the different links
If no text is present the button will be invisible

"LinkButton1": "https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=924619115", "LinkButton2": "", "Link1Button3": "", "Link2Button3": "", "Link3Button3": "", "Link4Button3": "", "Link1Button4": "", "Link2Button4": "", "Link3Button4": "", "Link4Button4": "", "Link1Button5": "", "Link2Button5": "", "Link3Button5": "", "Link4Button5": "",
The LinkButtons will open these URLs.

"Tab1Panelcount": 1, "Tab2Panelcount": 3, "Tab3Panelcount": 1, "Tab4Panelcount": 1, "Tab5Panelcount": 1,
Each Tab can have different amount of Panels
1 = one big panel
2 = 2 half panels
3 = 1 half panel and 2 quarter panels

"BackgroundTab1": 0, "BackgroundTab2": 0, "BackgroundTab3": 0, "BackgroundTab4": 0, "BackgroundTab5": 0,
Each tab can have different backgrounds
Valid numbers are from 0 to 15
On my modpage you'll have an overview which number represents which background

"Background3Color": "0,0,255,0.5",
If you selected the number 3 as background in one of the tabs you can change the RGBA color here
This example will we a half transparent blue color

"FontColorButtons": "255,255,255", "FontColorServerName": "255,95,0", "FontColorTabTitles": "20,255,0", "FontColorTabText": "255,255,255",
Represents the FontColor of the different sections in RGB

"UseSteamBrowserLink1": false, "UseSteamBrowserLink2": false,
If true the first and second LinkButton will open in the SteamBrowser overlay

"Tab1Title1": "Welcome", "Tab1Title2": "", "Tab1Title3": "", "Tab2Title1": "", "Tab2Title2": "", "Tab2Title3": "", "Tab3Title1": "", "Tab3Title2": "", "Tab3Title3": "", "Tab4Title1": "", "Tab4Title2": "", "Tab4Title3": "", "Tab5Title1": "", "Tab5Title2": "", "Tab5Title3": "",
Represents the titles of each panel
"Tab1Text1": "This UI is unedited. Pls contact an Admin. Are you an Admin? Follow these steps: - enablecheats youradminpassword (login as admin) - Admin icon visible - Use the buttons in the bottom right corner.", "Tab1Text2": "", "Tab1Text3": "", "Tab2Text1": "", "Tab2Text2": "", "Tab2Text3": "", "Tab3Text1": "", "Tab3Text2": "", "Tab3Text3": "", "Tab4Text1": "", "Tab4Text2": "", "Tab4Text3": "", "Tab5Text1": "", "Tab5Text2": "", "Tab5Text3": ""
Represents the text containing in each panel
You'll be able to use special " " if you unescape them with a \ e.g:
"Tab5Text1": "This is a \"Test\" and it works",
This will show up as:
This is a "Test" and it works
You'll also be able to use newlines via \n:
"Tab5Text1": "first line\nsecond line",
result:
first line second line
However, you're not forced to do it via \n like seen in the example of "Tab1Text1"

Example JsonFile

{ "ServerName": "Editable Server UI", "ButtonTxt1": "Welcome", "ButtonTxt2": "", "ButtonTxt3": "", "ButtonTxt4": "", "ButtonTxt5": "", "LinkButtonTxt1": "WBUI", "LinkButtonTxt2": "", "LinkButtonTxt3": "", "LinkButtonTxt4": "", "LinkButtonTxt5": "", "LinkButton1": "https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1639088858", "LinkButton2": "", "Link1Button3": "", "Link2Button3": "", "Link3Button3": "", "Link4Button3": "", "Link1Button4": "", "Link2Button4": "", "Link3Button4": "", "Link4Button4": "", "Link1Button5": "", "Link2Button5": "", "Link3Button5": "", "Link4Button5": "", "Tab1Panelcount": 1, "Tab2Panelcount": 3, "Tab3Panelcount": 1, "Tab4Panelcount": 1, "Tab5Panelcount": 1, "BackgroundTab1": 0, "BackgroundTab2": 0, "BackgroundTab3": 0, "BackgroundTab4": 0, "BackgroundTab5": 0, "Background3Color": "0,0,255,0.5", "FontColorButtons": "255,255,255", "FontColorServerName": "255,95,0", "FontColorTabTitles": "20,255,0", "FontColorTabText": "255,255,255", "UseSteamBrowserLink1": false, "UseSteamBrowserLink2": false, "Tab1Title1": "Welcome", "Tab1Title2": "", "Tab1Title3": "", "Tab2Title1": "", "Tab2Title2": "", "Tab2Title3": "", "Tab3Title1": "", "Tab3Title2": "", "Tab3Title3": "", "Tab4Title1": "", "Tab4Title2": "", "Tab4Title3": "", "Tab5Title1": "", "Tab5Title2": "", "Tab5Title3": "", "Tab1Text1": "This UI is unedited. Pls contact an Admin. Are you an Admin? Follow these steps: - enablecheats youradminpassword (login as admin) - Admin icon visible - Use the buttons in the bottom right corner.", "Tab1Text2": "", "Tab1Text3": "", "Tab2Text1": "", "Tab2Text2": "", "Tab2Text3": "", "Tab3Text1": "", "Tab3Text2": "", "Tab3Text3": "", "Tab4Text1": "", "Tab4Text2": "", "Tab4Text3": "", "Tab5Text1": "", "Tab5Text2": "", "Tab5Text3": "" }
Last edited by Don Camillo; 16 Mar, 2019 @ 8:44am