Server Setup: Difference between revisions
Content deleted Content added
m →Server Backups: link |
m →Server Update: resources and scripts are legacy and not to be expected in new pack versions. |
||
Line 77: | Line 77: | ||
# [http://downloads.gtnewhorizons.com/ServerPacks/ Download] a new server version of GTNH. |
# [http://downloads.gtnewhorizons.com/ServerPacks/ Download] a new server version of GTNH. |
||
# Backup your ''entire'' server folder. |
# Backup your ''entire'' server folder. |
||
# Delete the <code>config</code> (folder JourneymapServer from config will be needed later), <code>libraries</code>, <code>mods</code>, <code>resources</code> (if present) and <code>scripts</code> folders from your server folder. e.g., on a Linux server, use the following commands: <syntaxhighlight lang="bash"> |
# Delete the <code>config</code> (folder JourneymapServer from config will be needed later), <code>libraries</code>, <code>mods</code>, <code>resources</code> (if present) and <code>scripts</code> (if present) folders from your server folder. e.g., on a Linux server, use the following commands: <syntaxhighlight lang="bash"> |
||
cd you_server_folder |
cd you_server_folder |
||
rm -r config libraries mods resources scripts |
rm -r config libraries mods resources scripts |
||
</syntaxhighlight> |
</syntaxhighlight> |
||
# Replace the deleted folders with the ones from the downloaded archive. |
# Replace the deleted folders with the ones from the downloaded archive. Newer versions won't have /resources/ or /scripts/, this is normal. |
||
# Transfer any customized config settings. Use your backup as a reference. ''Do not just copy old /configs/ folders over! Move your changes as necessary or you may miss out on new functionality.'' |
# Transfer any customized config settings. Use your backup as a reference. ''Do not just copy old /configs/ folders over! Move your changes as necessary or you may miss out on new functionality.'' |
||
# Restore the JourneymapServer folder. This folder contains your world UUID inside a config file. If this file is lost, the server would generate a new map UUID and clients would lose their journeymap map data for your server. |
# Restore the JourneymapServer folder. This folder contains your world UUID inside a config file. If this file is lost, the server would generate a new map UUID and clients would lose their journeymap map data for your server. |