When I try to create a new one, I can't save it.
Writing directly to “CuiData.json” will allow editing in /cb
But I can't save it.
Directly written to “CuiData.json” is not displayed on the screen
[CuiData.json]
{
"phone": {
"uiType": "Overlay",
"panelType": "button",
"OffsetMin": "257 -125",
"OffsetMax": "290 -66",
"text": null,
"panelColor": null,
"panelChatCmd": "phone",
"imageUrl": "https://URL/rust/img/phone/phonebtn6.png",
"imgAnchorMin": null,
"imgAnchorMax": null,
"onCmdHide": "null"
}
}
[CustomButtons.json]
{
"Run toggle command when clicking on button": false,
"Hide Buttons": {
"When using Computer Station": [
"button_name",
"panel_name"
],
"When Player is dead": [
"button_name",
"panel_name"
],
"When Player is looting": [
"button_name",
"panel_name"
]
},
"Base Position": {
"Anchor Min": "0.5 0",
"Anchor Max": "0.5 0"
},
"Font Settings": {
"Font Style": "robotocondensed-bold.ttf",
"Base Font Size": 13,
"Base Font Color": "1 1 1 1",
"Font Outline Color": "0 0 0 1",
"Font Outline Thickness": "0.1 0.1"
},
"Chat Commands": {
"Open GUI": "cb",
"List all Panels": "cb_list",
"Toggle buttons on/off": "cb_toggle"
}
}