Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adminlist.txt with -persistentDataPath not working correct #26

Open
ich777 opened this issue May 19, 2022 · 18 comments
Open

adminlist.txt with -persistentDataPath not working correct #26

ich777 opened this issue May 19, 2022 · 18 comments

Comments

@ich777
Copy link

ich777 commented May 19, 2022

Hi,
I've running a V-Rising dedicated server but I have maybe found a bug.
Since I'm running the server with the start parameter -persistentDataPath shouldn't the adminlist.txt override the one from the template directory (...\VRisingServer_Data\StreamingAssets\Settings).

The adminlist.txt which ist located in the persistentDataPath in the Settings folder is completely ignored.
Am I doing something wrong here?

@IceOfWraith
Copy link

I'm seeing the same issue when trying to use the ServerHostSettings.json file under the specified folder.

@ich777
Copy link
Author

ich777 commented May 20, 2022

@IceOfWraith on what host are you running the server?

@IceOfWraith
Copy link

This is running on Windows 11 Pro.

@ich777
Copy link
Author

ich777 commented May 20, 2022

@IceOfWraith this is strange since my ServerHostSettings.json works fine where the adminlist.txt doesn't not.

Let's say you have the -persistentDataPath set to C:/VRising/save-data have you created a Settings folder in the persistent data path so that the full path is: C:/VRising/save-data/Settings/ServerHostSettings.json

@IceOfWraith
Copy link

No I have not. I don't see that as a requirement on the Wiki here. I can try it tomorrow. Thank you!

@gOOvER
Copy link

gOOvER commented May 20, 2022

@IceOfWraith this is strange since my ServerHostSettings.json works fine where the adminlist.txt doesn't not.

Let's say you have the -persistentDataPath set to C:/VRising/save-data have you created a Settings folder in the persistent data path so that the full path is: C:/VRising/save-data/Settings/ServerHostSettings.json

same problem with
ServerGameSetings.json

this config is ignored in persistentDataPath

@Ponjimon
Copy link

Ponjimon commented May 20, 2022

@gOOvER Make sure that you don't have a preset selected in the host settings. It must be an empty string, otherwise it won't pick it up. See #20 (comment)

@gOOvER
Copy link

gOOvER commented May 20, 2022

@gOOvER Make sure that you don't have a preset selected in the host settings. It must be an empty string, otherwise it won't pick it up. See #20 (comment)

it's empty :/

"GameSettingsPreset": "",

Is the "Settings" directory required in -persistentDataPath?

When i modify the settings in

VRisingServer_Data/StreamingAssets/Settings/ServerGameSettings.json

it work; but not in my -persistentDataPath

@ich777
Copy link
Author

ich777 commented May 20, 2022

Is the "Settings" directory required in -persistentDataPath?

Yes.

You should also have a Saves folder in there or am I wrong?

@gOOvER
Copy link

gOOvER commented May 20, 2022

Is the "Settings" directory required in -persistentDataPath?

Yes.

You should also have a Saves folder in there or am I wrong?

Save is autocreated

@gOOvER
Copy link

gOOvER commented May 20, 2022

Is the "Settings" directory required in -persistentDataPath?

Yes.

You should also have a Saves folder in there or am I wrong?

Thank you; missed that with the settings folder :) now it works

@ich777
Copy link
Author

ich777 commented May 20, 2022

Thank you; missed that with the settings folder :) now it works

Can you also try if the adminlist.txt works? On my system everything works but not the adminlist.txt file.

I have to edit the adminlist.txt Which is located in: ...\VRisingServer_Data\StreamingAssets\Settings so that it actually works (this file will be overwritten after a update from the game is pushed).

That was the main reason why I opened the Issue. 😉

@gOOvER
Copy link

gOOvER commented May 20, 2022

Thank you; missed that with the settings folder :) now it works

Can you also try if the adminlist.txt works? On my system everything works but not the adminlist.txt file.

I have to edit the adminlist.txt Which is located in: ...\VRisingServer_Data\StreamingAssets\Settings so that it actually works (this file will be overwritten after a update from the game is pushed).

That was the main reason why I opened the Issue. 😉

i can confirm this. adminlist.txt is ignored in own folder.

From the log:

Saved FileUserList to: Z:\home\container\VRisingServer_Data\StreamingAssets\Sett
ings\adminlist.txt

@ich777
Copy link
Author

ich777 commented May 20, 2022

i can confirm this. adminlist.txt is ignored in own folder.

You have to also put the adminlist.txt in the Settings folder but I think it will be the same like as for me...
Hope they will fix it soon.

@gOOvER
Copy link

gOOvER commented May 20, 2022

i can confirm this. adminlist.txt is ignored in own folder.

You have to also put the adminlist.txt in the Settings folder but I think it will be the same like as for me... Hope they will fix it soon.

it is in the Settings folder. The log shows only, which file is used ;)

@ferrreo
Copy link

ferrreo commented May 20, 2022

This made me lose admin when I updated my server with the patch so one to be careful of if you are doing forceupdate with steamcmd

@KnightArch
Copy link

I can confirm this issue. I`ll try and report later when no one is connected to the server if changing the server preset solves this issue but the thing is that it should work even with some preset defined in the host settings.

@Timond
Copy link

Timond commented May 21, 2022

+1

The admin and ban lists files only work in the default folder, they are ignored in the -PersistentDataPath folder.
Other config files work fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants