Fix for ServerInfo following July 2024 update

Hi All,

 

You need to edit the C# file (not the JSON config file)

 

The issue is with player.userID.ToString() now becoming player.userID.Get().ToString().

Fix as follows:

 

Change all instaces of player.userID.ToString() to player.userID.Get().ToString(). Details of where to find below, there's only two instances. Use a control f search to find them or see line numbers below

 

Line 114:
player.userID.ToString() -> player.userID.Get().ToString()

Line 292:
player.userID.ToString -> player.userID.Get().ToString

thanks

can someone please post the new .json format because i do have visual studio but i just spent the last 8 hours trying to get to C+ and still cant i even downloaded rust-analyzer but idk im stuck in a rabbit whole Contact me thru discord : certifiedgoon

{
"settings": {
"Tabs": [
{
"ButtonText": "<color=#fffb00>COMMANDS</color>",
"HeaderText": "<color=#fffb00>COMMANDS</color>",
"Pages": [
{
"TextLines": [
"<color=#fbff00> /bt </color>",
"<color=#fbff00> /bt nuke </color>",
"<color=#fbff00> /al </color>",
"<color=#fbff00> /backpack </color>",
"<color=#fbff00> /backpackui </color>",
"<color=#fbff00> /up 1,2,3,4 </color>",
"<color=#fbff00> /down 1,2,3,4 </color>",
"<color=#fbff00> /down all 1,2,3,4 </color>",
"<color=#fbff00> /remove </color>",
"<color=#fbff00> /bskin </color>",
"<color=#fbff00> /kit </color>",
"<color=#fbff00> /spawn</color>",
"<color=#fbff00> /loadout</color>",
"<color=#fbff00> /home</color>",
"<color=#fbff00> /buyraid</color>",
"<color=#fbff00> /shop </color>",
"<color=#fbff00> /skin </color>",
"<color=#fbff00> /voteday </color>",
"<color=#fbff00> /qr </color>",
"<color=#fbff00> /al </color>",
"<color=#fbff00> /ad <help | h> </color>",
"<color=#fbff00> /rr </color>",
"restart times:<color=#fbff00> 06:00 </color>"
],
"ImageSettings": []
}
],
"TabButtonAnchor": 4,
"TabButtonFontSize": 16,
"HeaderAnchor": 0,
"HeaderFontSize": 32,
"TextFontSize": 16,
"TextAnchor": 3,
"OxideGroup": ""
},
{
"ButtonText": "<color=#fffb00>WIPE</color>",
"HeaderText": "<color=#fffb00>WIPE</color>",
"Pages": [
{
"TextLines": [
"Wipe every thursday"
],
"ImageSettings": []
}
],
"TabButtonAnchor": 4,
"TabButtonFontSize": 16,
"HeaderAnchor": 0,
"HeaderFontSize": 32,
"TextFontSize": 16,
"TextAnchor": 3,
"OxideGroup": ""
}
],
"ShowInfoOnPlayerInit": true,
"ShowInfoOnlyOncePerRuntime": true,
"TabToOpenByDefault": 0,
"Position": {
"MinX": 0.15,
"MaxX": 0.9,
"MinY": 0.2,
"MaxY": 0.9
},
"BackgroundImage": {
"Enabled": false,
"Position": {
"MinX": 0.0,
"MaxX": 1.0,
"MinY": 0.0,
"MaxY": 1.0
},
"Url": "",
"TransparencyInPercent": 100
},
"ActiveButtonColor": "#7F7F7FFF",
"InactiveButtonColor": "#7F7F7FFF",
"CloseButtonColor": "#7F7F7FFF",
"CloseButtonText": "CLOSE",
"NextPageButtonColor": "#7F7F7FFF",
"NextPageText": "Next Page",
"PrevPageButtonColor": "#7F7F7FFF",
"PrevPageText": "Prev Page",
"BackgroundColor": "#202020DF",
"HelpButton": {
"IsEnabled": false,
"Text": "Help",
"Position": {
"MinX": 0.0,
"MaxX": 0.05,
"MinY": 0.1,
"MaxY": 0.14
},
"Color": "#127127127255",
"FontSize": 18
},
"UpgradedConfig": false
}
}