Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ServerPackCreator
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
JetBrains YouTrack
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Griefed
ServerPackCreator
Commits
32afa640
Verified
Commit
32afa640
authored
7 months ago
by
Griefed
Browse files
Options
Downloads
Patches
Plain Diff
Add -config and --destination to cli help
https://github.com/Griefed/ServerPackCreator/issues/457
parent
d1e64e47
No related branches found
Branches containing commit
No related tags found
Tags containing commit
3 merge requests
!613
MS8
,
!612
MS8
,
!610
Initial MS8 Alpha Release
Pipeline
#8952
failed
7 months ago
Stage: Tests
Stage: Documentation
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
serverpackcreator-api/src/main/resources/de/griefed/resources/cli_help.txt
+50
-48
50 additions, 48 deletions
...-api/src/main/resources/de/griefed/resources/cli_help.txt
with
50 additions
and
48 deletions
serverpackcreator-api/src/main/resources/de/griefed/resources/cli_help.txt
+
50
−
48
View file @
32afa640
...
...
@@ -7,54 +7,56 @@ How to use ServerPackCreator:
mode will automatically be used.
Extra arguments to use ServerPackCreator with: #
-lang: Allows you to use one of the available languages for ServerPackCreator. I can not
guarantee that each of the following available languages is 100% translated.
You best choice is en_us, or not specifying any as that is the default, because
I write ServerPackCreator with english in mind. Available usages:
-lang en_us
-lang uk_ua
-lang de_de
-cgen: Only available for the commandline interface. This will start the generation of
a new configuration file. You will be asked to enter information about your modpack
step-by-step. Each setting you enter will be checked for errors before it is saved.
If everything you enter is valid and without errors, it will be written to a new
serverpackcreator.conf and ServerPackCreator will immediately start a run with said
configuration file, generating a server pack for you.
-update: Check whether a new version of ServerPackCreator is available for download.
If an update is available, the version and link to the release of said update are
written to the console so you can from work with it from there.
Note: Automatic updates are currently not planned nor supported, and neither are
downloads of any available updates to your system. You need to update manually.
-cli: Run ServerPackCreator in Command-line interface mode. Checks the serverpackcreator.conf
for errors and if none are found, starts the generation of a server pack with the configuration
provided by your serverpackcreator.conf.
-web: Run ServerPackCreator as a webservice available at http://localhost:8080. The webservice
provides the same functionality as running ServerPackCreator in GUI mode (so no Commandline
arguments and a non-headless environment) as well as a REST API which can be used in different ways.
For more information about the REST API, please see the Java documentation:
- GitHub Pages: https://griefed.github.io/ServerPackCreator/
- GitLab Pages: https://griefed.pages.griefed.de/ServerPackCreator/
-gui: Run ServerPackCreator using the graphical user interface. If your environment supports
graphics, i.e. is not headless, then this is the default mode in which ServerPackCreator
started as when no arguments are used.
--setup: Set up and prepare the environment for subsequent runs of ServerPackCreator.
This will create/copy all files needed for ServerPackCreator to function
properly from inside its JAR-file and setup everything else, too. You can pass a properties-file, too
if you so desire.
Examples:
--setup "/path/to/custom.properties"
--setup "C:\path\to\custom.properties"
--home: Override the home-directory setting for your user.
Examples:
--home "/path/to/directory"
--home "C:\users\<YOUR_USER>\SPC"
-lang: Allows you to use one of the available languages for ServerPackCreator. I can not
guarantee that each of the following available languages is 100% translated.
You best choice is en_us, or not specifying any as that is the default, because
I write ServerPackCreator with english in mind. Available usages:
-lang en_us
-lang uk_ua
-lang de_de
-cgen: Only available for the commandline interface. This will start the generation of
a new configuration file. You will be asked to enter information about your modpack
step-by-step. Each setting you enter will be checked for errors before it is saved.
If everything you enter is valid and without errors, it will be written to a new
serverpackcreator.conf and ServerPackCreator will immediately start a run with said
configuration file, generating a server pack for you.
-update: Check whether a new version of ServerPackCreator is available for download.
If an update is available, the version and link to the release of said update are
written to the console so you can from work with it from there.
Note: Automatic updates are currently not planned nor supported, and neither are
downloads of any available updates to your system. You need to update manually.
-cli: Run ServerPackCreator in an interactive commandline-mode.
-config: Generate a server pack from a specific server pack configuration from the commandline.
--destination: Only effective in combination with -config. Sets the destination in which the server pack
will be generated in.
-web: Run ServerPackCreator as a webservice available at http://localhost:8080. The webservice
provides the same functionality as running ServerPackCreator in GUI mode (so no Commandline
arguments and a non-headless environment) as well as a REST API which can be used in different ways.
For more information about the REST API, please see the Java documentation:
- GitHub Pages: https://griefed.github.io/ServerPackCreator/
- GitLab Pages: https://griefed.pages.griefed.de/ServerPackCreator/
-gui: Run ServerPackCreator using the graphical user interface. If your environment supports
graphics, i.e. is not headless, then this is the default mode in which ServerPackCreator
started as when no arguments are used.
--setup: Set up and prepare the environment for subsequent runs of ServerPackCreator.
This will create/copy all files needed for ServerPackCreator to function
properly from inside its JAR-file and setup everything else, too. You can pass a properties-file, too
if you so desire.
Examples:
--setup "/path/to/custom.properties"
--setup "C:\path\to\custom.properties"
--home: Override the home-directory setting for your user.
Examples:
--home "/path/to/directory"
--home "C:\users\<YOUR_USER>\SPC"
Support:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment