Confirmedusers, editor
1,283
edits
No edit summary |
No edit summary |
||
Line 18: | Line 18: | ||
# 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>. 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. | ||
# Open the Properties of the new shortcut. This is usually accomplished through the right-click menu. | # Open the Properties of the new shortcut. This is usually 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> | # 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> | ||
(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 | ||
Batch script method (functionally equivalent to the shortcut method above): | |||
# To create a batch script, simply create a blank text document and rename it with the .bat file extension. | |||
# You can edit it by right clicking and selecting edit. Then just type %appdata%/Vintagestory/VintagestoryServer.exe --dataPath "[PATH]" replacing [PATH] with the desired path for the server's data, then save and close. | |||
Running the script will run the server with the alternate datapath, and will generate its own collection of config files there. This is functionally equivalent to the modified link. | |||
Next: | Next: |