Jump to content

Experimenting with (Valheim) commandlines.


Sukkerpups
 Share

Recommended Posts

 

Hello, i'm not quite sure where this topic should go, but i hope in here will be fine.

I'm experminenting a bit on a Valheim test server when it comes to adding something to a default command line (and commandlines in general), and i would like to learn how it works. I would like to add "-logfile logfilename.txt" to the default command line.

In "Games & Other Voice servers">Valheim>Commandlines i have this command line:

"-nographics -batchmode -name "![Servername]" -port $[Service.GamePort] -savedir $[Service.RootDirectory]world_name -world "![World]" -password "![Serverpasswort]" -public ![Publik]"

To help me understand this a little better and how it works, how can i add "-logfile logfilename.txt" to the default command line so it actually outputs a log? Because adding just "-logfile logfilename.txt" in to the command line gives me this error "CreateDirectory '' failed: The system does not find the specified path. (current dir: )".

So, i'm guessing i'm doing something wrong here and i'm missing out on something.

Some suggestions and pointers would be appreciated, thank you.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use