stage One
Stage one of starting ServerPackCreator.
Creates and prepares the environment for ServerPackCreator to run by creating required directories and copying required files from the JAR-file to the filesystem. Some of these files can and should be edited by a given user, others however, not.
Checks the read- and write-permissions of ServerPackCreators base-directory.
Copies the
README.md
from the JAR to the home-directory.Copies the
HELP.md
from the JAR to the home-directory.Copies the
CHANGELOG.md
from the JAR to the home-directory.Copies the
LICENSE
from the JAR to the home-directory.Copies the fallback version-manifests to the manifests.
Creates default directories:
server_files
work
temp
work/modpacks
server-packs (depending on the users settings, this may be anywhere on the users system)
plugins
plugins/config
Example
disabled.txt
-file in plugins/disabled.txt.Creates the default
server.properties
if it doesn't exist.Creates the default
server-icon.png
if it doesn't exist.Creates the default PowerShell and Shell script templates or overwrites them if they already exist.
Determines whether this instance of ServerPackCreator was updated from a previous version.
If an update was detected, and migrations are available for any of the steps of the update, they are executed, thus ensuring users are safe to update their instances. Writes ServerPackCreator and system information to the console and logs, important for error reporting and debugging.
Author
Griefed