User:Barrowisp/Draft2: Difference between revisions

From Vintage Story Wiki
No edit summary
No edit summary
Line 16: Line 16:
# Open that folder and select the entire path from the address bar of File Explorer.  (example: C:\Users\YourUsername\AppData\Roaming\VintagestoryServer\VSserverData)
# Open that folder and select the entire path from the address bar of File Explorer.  (example: C:\Users\YourUsername\AppData\Roaming\VintagestoryServer\VSserverData)
# Open the game's application folder, it is <code>%appdata%/VintageStory</code> by default.
# Open the game's application folder, it is <code>%appdata%/VintageStory</code> by default.
# Create a shortcut of <code>VintagestoryServer.exe</code>.  The precise process for this depends on your operating system.  Try right-clicking on the executable file for options, and google OS-specific instructions as needed.
# Create a shortcut of <code>VintagestoryServer.exe</code>.  This can usually be accomplished through the right-click menu; google instructions specific to your operating system version if needed.
# Open the Properties of the new shortcut.  This is usually accomplished through the right-click menu.
# Open the Properties of the new shortcut.  This can usually be accomplished through the right-click menu.
# Locate the Target field in the shortcut's Properties and click in it, then go to the very end of what's written there.  Add one space, then <code>--dataPath=</code>, then Paste the folder path you copied earlier.  The entire contents of the Target field should now be something like this: <code>"C:\Users\YourUsername\AppData\Roaming\Vintagestory\VintagestoryServer.exe" --dataPath=C:\Users\YourUsername\AppData\Roaming\VintagestoryServer\VSserverData</code>  
# Click in the Target field of the shortcut's Properties, then go to the very end of what's written there.  Add one space, then <code>--dataPath=</code>, then Paste the folder path you copied earlier, in quote.  The entire contents of the Target field should now be something like this: <code>"C:\Users\YourUsername\AppData\Roaming\Vintagestory\VintagestoryServer.exe" --dataPath="C:\Users\YourUsername\AppData\Roaming\VintagestoryServer\VSserverData"</code>  
(Note: if your folder names include spaces, enclose the folder path above in quotes.)
* Optional: you can move/copy the shortcut, to your desktop and/or your new VintagestoryServer folder
* Optional: you can move/copy the shortcut, to your desktop and/or your new VintagestoryServer folder


Line 28: Line 27:


Next:  
Next:  
* Run the ''shortcut you made'' of <code>VintagestoryServer.exe</code>.
* Run the ''shortcut you made'' of <code>VintagestoryServer.exe</code> or the batch script.
* If Windows Firewall asks for permission, grant any necessary access
* If Windows Firewall asks for permission, grant any necessary access
* You might need to forward port 42420 on your internet router if you want the server to be accessible from outside of your local network (for example, anyone who isn't on the same WiFi as you).
* You might need to forward port 42420 on your internet router if you want the server to be accessible from outside of your local network (for example, anyone who isn't on the same WiFi as you).