I recently got a dedicated server up for Unturned, but It’s apparently not VAC or Battleye secure when I look at it in game. The Config file for it does say it is secure though. Any way I can fix this? Thanks in advance for any help!
To clarify – are you sure that you’re hosting a dedicated server and not a LAN server?
Correct. I am using the dedicated server tool for Steam.
Have you configured a GSLT (game server login token)? If not, you can generate one from here: Steam Community :: Steam Game Server Account Management. Then, you should add it to your server’s config file.
Relevant Documentation:
Yes. I have already applied a token to my server. I heard that looking into the server’s bat file may help, but I don’t know what to look for exactly. Should I send it’s settings here?
It’s mentioned in the official Server Hosting documentation I’ve linked (along with other helpful information), but your .bat file should contain something along the lines of:
start "" "%~dp0ServerHelper.bat" +InternetServer/MyServerName
Feel free to send any details regarding your server setup here.
Alright. I changed the LanServer to InternetServer at the bottom. I will send the server’s details still in case anything else stands out however since I noticed other cases of the bat file saying LAN server, but don’t want to mess with what I am unsure of. I will give it a try and see if it works. Thank you!
Unfortunately, it still says VAC and Battleye insecure after changing it to InternetServer. I don’t suppose anything else may need changing in the bat file, would it?
How are you launching your server? Are you running the .bat file that you just edited, or something else?
I am launching it through the Unturned Dedicated Server tool
Since you’ve configured your server, you should launch the .bat file tied to your configured server. In this case, you probably edited a file named ExampleServer.bat
.
Alternatively – if you created a new .bat file as part of the Server Hosting documentation, it’s probably named something else. But you would launch whatever you named that file. Server Hosting — Unturned 3.x documentation
Alright. I’ll give that a shot. Thanks for all the help thus far!
Do you have fake IP enabled? If you are not port forwarding then you will need to have it set to true in the config file.
I figured it out! I had a another pair of the same config files and commands files I had to mess with, and launched it directly from the .bat! Thanks a bunch!
Awesome! I’ve manually marked your most recent reply as the Solution. But if there’s a different reply that you feel is more accurate, please feel free to mark that one as the solution instead.