- checkConfiguration(ConfigurationModel, boolean) - Method in class de.griefed.serverpackcreator.ConfigurationHandler
-
- checkConfiguration(File, boolean) - Method in class de.griefed.serverpackcreator.ConfigurationHandler
-
Check the passed configuration-file.
- checkConfiguration(File, List<String>, boolean) - Method in class de.griefed.serverpackcreator.ConfigurationHandler
-
Check the passed configuration-file.
- checkConfiguration(File, ConfigurationModel, boolean) - Method in class de.griefed.serverpackcreator.ConfigurationHandler
-
Check the passed configuration-file.
- checkConfiguration(File, boolean, boolean) - Method in class de.griefed.serverpackcreator.ConfigurationHandler
-
Check the passed configuration-file.
- checkConfiguration(File, ConfigurationModel, boolean, boolean) - Method in class de.griefed.serverpackcreator.ConfigurationHandler
-
Check the passed configuration-file.
- checkConfiguration(ConfigurationModel, boolean, boolean) - Method in class de.griefed.serverpackcreator.ConfigurationHandler
-
- checkConfiguration(File, ConfigurationModel, List<String>, boolean, boolean) - Method in class de.griefed.serverpackcreator.ConfigurationHandler
-
Check the passed configuration-file.
- checkConfiguration(ConfigurationModel, List<String>, boolean, boolean) - Method in class de.griefed.serverpackcreator.ConfigurationHandler
-
- checkCopyDirs(List<String>, String, List<String>) - Method in class de.griefed.serverpackcreator.ConfigurationHandler
-
Checks whether the passed list of directories which are supposed to be in the modpack directory is empty and
prints a message to the console and serverpackcreator.log if it is.
Checks whether all directories in the list exist in the modpack directory and prints a message to the console
and serverpackcreator.log if any one of the directories could not be found.
- checkCurseForge(String, ConfigurationModel, List<String>) - Method in class de.griefed.serverpackcreator.ConfigurationHandler
-
Checks whether the specified modpack directory contains a valid projectID,fileID combination.
- checkCurseForgeJsonForFabric(JsonNode) - Method in class de.griefed.serverpackcreator.utilities.ConfigUtilities
-
Checks whether the projectID for the Jumploader mod is present in the list of mods required by the CurseForge modpack.
- checkDatabase() - Method in class de.griefed.serverpackcreator.DefaultFiles
-
Ensures serverpackcreator.db exists.
- checkForAvailablePreReleases() - Method in class de.griefed.serverpackcreator.ApplicationProperties
-
Getter for whether the search for available PreReleases is enabled or disabled.
Depending on de.griefed.serverpackcreator.versioncheck.prerelease, returns true
if checks for available PreReleases are enabled, false if no checks for available PreReleases should
be made.
- checkForFile(File) - Method in class de.griefed.serverpackcreator.DefaultFiles
-
Checks for existence of defaults files.
- checkForUpdate(String, Boolean) - Method in class de.griefed.serverpackcreator.utilities.UpdateChecker
-
Check our GitLab, GitGriefed and GitHub instances for updates, sequentially, and then return the update.
- checkIconAndProperties(String) - Method in class de.griefed.serverpackcreator.ConfigurationHandler
-
Checks the passed String whether it is an existing file.
- checkJavaPath(String) - Method in class de.griefed.serverpackcreator.ConfigurationHandler
-
Checks whether the passed String ends with java.exe or java and whether the files exist.
- checkModloader(String) - Method in class de.griefed.serverpackcreator.ConfigurationHandler
-
Checks whether either Forge or Fabric were specified as the modloader.
- checkModloaderVersion(String, String, String) - Method in class de.griefed.serverpackcreator.ConfigurationHandler
-
Depending on whether Forge or Fabric was specified as the modloader, this will call the corresponding version check
to verify that the user correctly set their modloader version.
If the user specified Forge as their modloader,
ConfigurationHandler.isForgeVersionCorrect(String, String) is called and the version
the user specified is checked against Forge's version manifest..
If the user specified Fabric as their modloader,
ConfigurationHandler.isFabricVersionCorrect(String) is called and the version
the user specified is checked against Fabric's version manifest.
- checkModpackDir(String, List<String>) - Method in class de.griefed.serverpackcreator.ConfigurationHandler
-
Checks whether the passed String is empty and if it is empty, prints the corresponding message to the console and
serverpackcreator.log so the user knows what went wrong.
Checks whether the passed String is a directory and if it is not, prints the corresponding message to the console
and serverpackcreator.log so the user knows what went wrong.
- checkZipArchive(Path, List<String>) - Method in class de.griefed.serverpackcreator.ConfigurationHandler
-
Check a given ZIP-archives contents.
- cleanList(List<String>) - Method in class de.griefed.serverpackcreator.utilities.ListUtilities
-
Clean a given String List of any entry consisting only of whitespace or a length of 0.
- cleanupEnvironment(String) - Method in class de.griefed.serverpackcreator.curseforge.CurseCreateModpack
-
Deletes any and all folder and files, recursively, inside the target directory, thus ensuring we are working in a
clean environment when creating a new modpack from CurseForge.
- clearInterface() - Method in class de.griefed.serverpackcreator.swing.TabCreateServerPack
-
Load default values for textfields so the user can start with a new configuration.
- ConfigurationCreator - Class in de.griefed.serverpackcreator.utilities
-
Utility-class revolving around the creation of a new configuration file.
- ConfigurationCreator(LocalizationManager, ConfigurationHandler, BooleanUtilities, ApplicationProperties, ListUtilities, StringUtilities, ConfigUtilities, SystemUtilities, CurseCreateModpack, VersionLister) - Constructor for class de.griefed.serverpackcreator.utilities.ConfigurationCreator
-
- ConfigurationHandler - Class in de.griefed.serverpackcreator
-
Requires an instance of
CurseCreateModpack in order to create a modpack from scratch should the specified modpackDir
be a combination of a CurseForge projectID and fileID.
- ConfigurationHandler(LocalizationManager, CurseCreateModpack, VersionLister, ApplicationProperties, BooleanUtilities, ListUtilities, StringUtilities, SystemUtilities, ConfigUtilities) - Constructor for class de.griefed.serverpackcreator.ConfigurationHandler
-
Constructor
- ConfigurationModel - Class in de.griefed.serverpackcreator
-
Class containing all fields and therefore all information either gathered from a configuration file, stored by the creation
of a modpack from CurseForge or passed otherwise.
- ConfigurationModel() - Constructor for class de.griefed.serverpackcreator.ConfigurationModel
-
Constructor for our ConfigurationModel.
- ConfigUtilities - Class in de.griefed.serverpackcreator.utilities
-
Utility-class revolving around configuration utilities.
- ConfigUtilities(LocalizationManager, BooleanUtilities, ListUtilities, ApplicationProperties, StringUtilities, VersionLister) - Constructor for class de.griefed.serverpackcreator.utilities.ConfigUtilities
-
- convertToBoolean(String) - Method in class de.griefed.serverpackcreator.utilities.BooleanUtilities
-
Converts various strings to booleans, by using regex, to allow for more variations in input.
Converted to TRUE are:
[Tt]rue
1
[Yy]es
[Yy]
Language Key cli.input.true
Language Key cli.input.yes
Language Key cli.input.yes.short
Converted to FALSE are:
[Ff]alse
0
[Nn]o
[Nn]
Language Key cli.input.false
Language Key cli.input.no
Language Key cli.input.no.short
- copyFileFromJar(File) - Method in class de.griefed.serverpackcreator.utilities.JarUtilities
-
Copy a file from inside our JAR-file to the host filesystem.
- copyFolderFromJar(String, String, String, String, String) - Method in class de.griefed.serverpackcreator.utilities.JarUtilities
-
Copy a folder from inside a JAR-file to the host filesystem.
- countAllByProjectID(int) - Method in interface de.griefed.serverpackcreator.spring.serverpack.ServerPackRepository
-
Count all server packs by a CurseForge projectID.
- countAllByProjectName(String) - Method in interface de.griefed.serverpackcreator.spring.serverpack.ServerPackRepository
-
Count all server packs by a CurseForge project name.
- create(String) - Method in class de.griefed.serverpackcreator.swing.utilities.JComponentTailer
-
- createConfigurationFile() - Method in class de.griefed.serverpackcreator.utilities.ConfigurationCreator
-
Walk the user through the generation of a new ServerPackCreator configuration file by asking them for input,
step-by-step, regarding their modpack.
- createExtensionFactory() - Method in class de.griefed.serverpackcreator.ApplicationPlugins
-
- createFromCurseModpack(int, int) - Method in class de.griefed.serverpackcreator.spring.curseforge.CurseService
-
Check a passed CurseForge project and file ID combination.
- createMenuBar() - Method in class de.griefed.serverpackcreator.swing.MenuBar
-
Create the menubar, add all menus, add all menuitems and add actionlisteners for our menuitems.
- createServerPackTab() - Method in class de.griefed.serverpackcreator.swing.TabCreateServerPack
-
Create the tab which displays every component related to configuring ServerPackCreator and creating a server pack.
- createTailer() - Method in class de.griefed.serverpackcreator.swing.TabAddonsHandlerLog
-
- createTailer() - Method in class de.griefed.serverpackcreator.swing.TabModloaderInstallerLog
-
- createTailer() - Method in class de.griefed.serverpackcreator.swing.TabServerPackCreatorLog
-
- createTailer() - Method in class de.griefed.serverpackcreator.swing.utilities.JComponentTailer
-
- CurseController - Class in de.griefed.serverpackcreator.spring.curseforge
-
RestController for everything CurseForge related.
All requests are in /api/v1/curse.
- CurseController(CurseService, NotificationResponse, ApplicationProperties) - Constructor for class de.griefed.serverpackcreator.spring.curseforge.CurseController
-
Constructor responsible for our DI.
- CurseCreateModpack - Class in de.griefed.serverpackcreator.curseforge
-
Download a modpack from CurseForge and create it by unzipping the ZIP-archive, copy all folders and files from the
override directory to the parent directory, download all mods in said modpack, and delete no longer needed files.
- CurseCreateModpack(LocalizationManager, ApplicationProperties, VersionLister, BooleanUtilities, ListUtilities, StringUtilities, ConfigUtilities, SystemUtilities) - Constructor for class de.griefed.serverpackcreator.curseforge.CurseCreateModpack
-
Constructor
- curseForgeModpack(ConfigurationModel, Integer, Integer) - Method in class de.griefed.serverpackcreator.curseforge.CurseCreateModpack
-
Acquires the names of the CurseForge project and file.
- curseResponse(String, int, String, int, String, String) - Method in class de.griefed.serverpackcreator.spring.NotificationResponse
-
Construct a curseResponse with all values manually set.
- curseResponse(int, int, String, int, String, String) - Method in class de.griefed.serverpackcreator.spring.NotificationResponse
-
Construct a curseResponse with values acquired from the CurseForge API.
- CurseService - Class in de.griefed.serverpackcreator.spring.curseforge
-
CurseForge service for working with, retrieving, sending, generating, handling everything related to server packs/modpacks
which make use of CurseForge or are made using CurseForge and their API.
- CurseService(ConfigurationHandler, NotificationResponse, ApplicationProperties, ServerPackService, TaskSubmitter) - Constructor for class de.griefed.serverpackcreator.spring.curseforge.CurseService
-
Constructor responsible for our DI.
- CustomErrorController - Class in de.griefed.serverpackcreator.spring
-
Custom error controller which redirects to our /#/error page in case of 404 etc.
- CustomErrorController() - Constructor for class de.griefed.serverpackcreator.spring.CustomErrorController
-
- customize(Configuration) - Method in class de.griefed.serverpackcreator.spring.task.ArtemisConfig
-
Customize our configuration.
Set the default consumer windows size to 0.
Set the maximum disk usage from our property de.griefed.serverpackcreator.spring.artemis.queue.max_disk_usage.
Set the address to tasks.background.
Set the queue configuration to tasks.background.
Set the name to tasks.background.
Set the last value key to unique_id.
Set the routing type to RoutingType.ANYCAST.
Add our queue configuration..
All of this ensures that any message added will be deduplicated and worked on one by one.
- DarkTheme - Class in de.griefed.serverpackcreator.swing.themes
-
This is the dark-theme which ServerPackCreator uses.
- DarkTheme() - Constructor for class de.griefed.serverpackcreator.swing.themes.DarkTheme
-
- de.griefed.serverpackcreator - package de.griefed.serverpackcreator
-
The ServerPackCreator core.
The heart and soul, if you will.
The classes inside this package are responsible for turning your modpack into a server pack.
- de.griefed.serverpackcreator.curseforge - package de.griefed.serverpackcreator.curseforge
-
This package holds the main logic for creating, configuring and using the CurseForge API.
- de.griefed.serverpackcreator.i18n - package de.griefed.serverpackcreator.i18n
-
i18n i.e.
- de.griefed.serverpackcreator.plugins - package de.griefed.serverpackcreator.plugins
-
Annotations for ServerPackCreator plugins/addons.
- de.griefed.serverpackcreator.plugins.serverpackhandler - package de.griefed.serverpackcreator.plugins.serverpackhandler
-
- de.griefed.serverpackcreator.plugins.swinggui - package de.griefed.serverpackcreator.plugins.swinggui
-
Addon/plugin annotations in the Swing-GUI of ServerPackCreator.
- de.griefed.serverpackcreator.spring - package de.griefed.serverpackcreator.spring
-
ServerPackCreators REST API.
This package provides the complete access and control of ServerPackCreator functionality through the Spring Boot
framework REST API.
- de.griefed.serverpackcreator.spring.curseforge - package de.griefed.serverpackcreator.spring.curseforge
-
This package provides access and control for requesting a server pack generation from a CurseForge projectID and fileID
combination.
- de.griefed.serverpackcreator.spring.serverpack - package de.griefed.serverpackcreator.spring.serverpack
-
Everything revolving around server packs in the webservice.
- de.griefed.serverpackcreator.spring.task - package de.griefed.serverpackcreator.spring.task
-
Artemis JMS configuration.
- de.griefed.serverpackcreator.spring.zip - package de.griefed.serverpackcreator.spring.zip
-
Everything related to creating a server pack from a modpack ZIP-archive.
- de.griefed.serverpackcreator.swing - package de.griefed.serverpackcreator.swing
-
The Swing-GUI for ServerPackCreator.
- de.griefed.serverpackcreator.swing.themes - package de.griefed.serverpackcreator.swing.themes
-
ServerPackCreator GUI themes.
- de.griefed.serverpackcreator.swing.utilities - package de.griefed.serverpackcreator.swing.utilities
-
Utilities for creating our GUI.
- de.griefed.serverpackcreator.utilities - package de.griefed.serverpackcreator.utilities
-
The utilities package holds classes and methods for various useful bits and pieces used all throughout ServerPackCreator.
- de.griefed.serverpackcreator.utilities.misc - package de.griefed.serverpackcreator.utilities.misc
-
Miscellaneous things that don't really fit into any other package, don't warrant their own package creation, but still
need a place in ServerPackCreator somewhere.
The best example for one such class would be the
Generated annotation,
which is used to exclude classes and/or methods from JaCoCo test coverage.
- DefaultFiles - Class in de.griefed.serverpackcreator
-
Requires instances of
LocalizationManager for use of localization, but creates one if injected one is null.
- DefaultFiles(LocalizationManager, ApplicationProperties) - Constructor for class de.griefed.serverpackcreator.DefaultFiles
-
Constructor
- deleteAllByProjectID(int) - Method in interface de.griefed.serverpackcreator.spring.serverpack.ServerPackRepository
-
Delete all server packs with a CurseForge project ID.
- deleteByProjectIDAndFileID(int, int) - Method in interface de.griefed.serverpackcreator.spring.serverpack.ServerPackRepository
-
Delete a server pack with a given CurseForge project and file ID.
- deleteByProjectIDAndFileID(int, int) - Method in class de.griefed.serverpackcreator.spring.serverpack.ServerPackService
-
Delete a server pack with a given CurseForge project and file ID.
- deleteServerPack(int) - Method in class de.griefed.serverpackcreator.spring.serverpack.ServerPackService
-
Deletes a server pack with the given id.
- deleteServerPack(int, int) - Method in class de.griefed.serverpackcreator.spring.serverpack.ServerPackService
-
Delete a server pack with a given CurseForge project and file ID.
- directoriesInModpackZip(Path) - Method in class de.griefed.serverpackcreator.utilities.ConfigUtilities
-
Acquire a list of directories in a ZIP-file.
- downloadFile(String, URL) - Method in class de.griefed.serverpackcreator.utilities.SystemUtilities
-
Download the file from the specified URL to the specified destination.
- downloadServerPack(int) - Method in class de.griefed.serverpackcreator.spring.serverpack.ServerPackController
-
GET request for downloading a server pack by the id in the database.
- downloadServerPackById(int) - Method in class de.griefed.serverpackcreator.spring.serverpack.ServerPackService
-
Download a server pack with the given database id.
- GenerateCurseProject - Class in de.griefed.serverpackcreator.spring.curseforge
-
- GenerateCurseProject(String) - Constructor for class de.griefed.serverpackcreator.spring.curseforge.GenerateCurseProject
-
Create a message with a task for a CurseForge generation.
- generateCurseProject(String) - Method in class de.griefed.serverpackcreator.spring.task.TaskSubmitter
-
Submit a task for the generation of a server pack from a CurseForge project and file id combination.
- Generated - Annotation Type in de.griefed.serverpackcreator.utilities.misc
-
Interface to exclude classes or methods from JaCoCo test coverage
- generateZip(String) - Method in class de.griefed.serverpackcreator.spring.task.TaskSubmitter
-
Submit a task for the generation of a server pack from a ZIP-archive.
- GenerateZip - Class in de.griefed.serverpackcreator.spring.zip
-
Task for generating a server pack from a modpack ZIP-archive.
- GenerateZip(String) - Constructor for class de.griefed.serverpackcreator.spring.zip.GenerateZip
-
Create a message with a task for a Zip generation.
- getAllServerPacks() - Method in class de.griefed.serverpackcreator.spring.serverpack.ServerPackController
-
GET request for retrieving a list of all available server packs.
- getApplicationHomeForClass(Class<?>) - Method in class de.griefed.serverpackcreator.utilities.JarUtilities
-
Retrieve the ApplicationHome for a given class.
- getAuthor() - Method in interface de.griefed.serverpackcreator.plugins.PluginInformation
-
Get the author of this plugin.
- getAvailableFabricInstallerVersions() - Method in class de.griefed.serverpackcreator.spring.VersionsController
-
Get the Latest Fabric Installer and Release Fabric installer versions as a JSON object.
- getAvailableFabricVersions() - Method in class de.griefed.serverpackcreator.spring.VersionsController
-
Get a list of all available Fabric versions.
- getAvailableForgeVersions(String) - Method in class de.griefed.serverpackcreator.spring.VersionsController
-
Get a list of all available Forge versions for a specific Minecraft version.
- getAvailableMinecraftVersions() - Method in class de.griefed.serverpackcreator.spring.VersionsController
-
Get a list of all available Minecraft versions.
- getByFileID(int) - Method in class de.griefed.serverpackcreator.spring.serverpack.ServerPackController
-
GET request for a server pack matching the given CurseForge fileID.
- getByFileID(String) - Method in class de.griefed.serverpackcreator.spring.serverpack.ServerPackController
-
GET request for retrieving a server pack for a specific CurseForge projectID and fileID.
- getByProjectID(int) - Method in class de.griefed.serverpackcreator.spring.serverpack.ServerPackController
-
GET request for retrieving a list of server packs by CurseForge projectID.
- getChosenModloader() - Method in class de.griefed.serverpackcreator.swing.TabCreateServerPack
-
Getter for the chosen modloader from the JRadioButtons.
- getClientMods() - Method in class de.griefed.serverpackcreator.ConfigurationModel
-
Getter for a list of clientside-only mods to exclude from server pack.
- getConfiguration() - Method in class de.griefed.serverpackcreator.spring.ApplicationPropertiesController
-
- getConfigurationAsList(ConfigurationModel) - Method in class de.griefed.serverpackcreator.utilities.ConfigUtilities
-
Creates a list of all configurations as they appear in the serverpackcreator.conf to pass it to any addon that may run.
- getConfirmedWorking() - Method in class de.griefed.serverpackcreator.spring.serverpack.ServerPackModel
-
Getter for the amount of votes indicating whether this server pack works.
- getCopyDirs() - Method in class de.griefed.serverpackcreator.ConfigurationModel
-
Getter for the list of directories in the modpack to copy to the server pack.
- getCurseControllerRegenerationEnabled() - Method in class de.griefed.serverpackcreator.ApplicationProperties
-
Getter for whether the regeneration of server packs is enabled.
- getCurseModpack() - Method in class de.griefed.serverpackcreator.ConfigurationModel
-
Getter for the JsonNode containing all information about the CurseForge modpack.
- getDateCreated() - Method in class de.griefed.serverpackcreator.spring.serverpack.ServerPackModel
-
Getter for the date and time at which this server pack entry was created as a Timestamp.
- getDescription() - Method in interface de.griefed.serverpackcreator.plugins.PluginInformation
-
Get the description of this plugin.
- getDirectoryServerPacks() - Method in class de.griefed.serverpackcreator.ApplicationProperties
-
Getter for the directory in which the server packs are stored/generated in.
- getDownloads() - Method in class de.griefed.serverpackcreator.spring.serverpack.ServerPackModel
-
Getter for the amount of downloads this server pack has received.
- getFabricInstallerManifestUrl() - Method in class de.griefed.serverpackcreator.DefaultFiles
-
Getter for the URL to the Fabric Installer Manifest.
- getFabricLatestInstallerVersion() - Method in class de.griefed.serverpackcreator.VersionLister
-
Getter for the release version of the Fabric installer.
- getFabricLatestVersion() - Method in class de.griefed.serverpackcreator.VersionLister
-
Getter for the latest Fabric version.
- getFabricManifestUrl() - Method in class de.griefed.serverpackcreator.DefaultFiles
-
Getter for Fabric's version-manifest.
- getFabricReleaseInstallerVersion() - Method in class de.griefed.serverpackcreator.VersionLister
-
Getter for the release version of the Fabric installer.
- getFabricReleaseVersion() - Method in class de.griefed.serverpackcreator.VersionLister
-
Getter for the latest release version of Fabric.
- getFabricVersions() - Method in class de.griefed.serverpackcreator.VersionLister
-
Getter for the list of available Fabric versions.
- getFabricVersionsAsArray() - Method in class de.griefed.serverpackcreator.VersionLister
-
Getter for the list of Fabric versions as an array.
- getFileDiskName() - Method in class de.griefed.serverpackcreator.ConfigurationModel
-
Getter for the disk-name of the CurseForge project file.
- getFileDiskName() - Method in class de.griefed.serverpackcreator.spring.serverpack.ServerPackModel
-
Getter for the file disk name of the project file from which the server pack was generated.
- getFileID() - Method in class de.griefed.serverpackcreator.ConfigurationModel
-
- getFileID() - Method in class de.griefed.serverpackcreator.spring.serverpack.ServerPackModel
-
Getter for the file id of the server pack.
- getFileName() - Method in class de.griefed.serverpackcreator.ConfigurationModel
-
Getter for the name of the CurseForge project file.
- getFileName() - Method in class de.griefed.serverpackcreator.spring.serverpack.ServerPackModel
-
Getter for the file display name of the project file from which the server pack was generated.
- getForgeManifestUrl() - Method in class de.griefed.serverpackcreator.DefaultFiles
-
Getter for Forge's version-manifest.
- getForgeMeta() - Method in class de.griefed.serverpackcreator.VersionLister
-
Getter for the Forge version meta in convenient HashMap format.
- getForgeVersionsAsArray(String) - Method in class de.griefed.serverpackcreator.VersionLister
-
Getter for the list of Forge versions for the specified Minecraft version as an array.
- getForgeVersionsAsList(String) - Method in class de.griefed.serverpackcreator.VersionLister
-
Getter for the list of FOrge versions for the specified Minecraft version as a String List.
- getGitGriefed() - Method in class de.griefed.serverpackcreator.utilities.UpdateChecker
-
Getter for the instance of our GitLabChecker for GitGriefed.
- getGitHub() - Method in class de.griefed.serverpackcreator.utilities.UpdateChecker
-
Getter for the instance of our GitHubChecker.
- getGitLab() - Method in class de.griefed.serverpackcreator.utilities.UpdateChecker
-
Getter for the instance of our GitLabChecker for GitLab.
- getId() - Method in class de.griefed.serverpackcreator.spring.serverpack.ServerPackModel
-
Getter for the database id of a server pack.
- getIncludeServerIcon() - Method in class de.griefed.serverpackcreator.ConfigurationModel
-
Getter for whether the server-icon.png should be included in the server pack.
- getIncludeServerInstallation() - Method in class de.griefed.serverpackcreator.ConfigurationModel
-
Getter for whether the modloader server installation should be included.
- getIncludeServerProperties() - Method in class de.griefed.serverpackcreator.ConfigurationModel
-
Getter for whether the server.properties should be included in the server pack.
- getIncludeZipCreation() - Method in class de.griefed.serverpackcreator.ConfigurationModel
-
Getter for whether a ZIP-archive of the server pack should be created.
- getJavaArgs() - Method in class de.griefed.serverpackcreator.ConfigurationModel
-
Getter for the Java arguments with which the start-scripts will be generated.
- getJavaArgs() - Method in class de.griefed.serverpackcreator.swing.TabCreateServerPack
-
Getter for the currently set JVM flags / Java args.
- getJavaPath() - Method in class de.griefed.serverpackcreator.ConfigurationModel
-
Getter for the path to the Java executable/binary.
- getJavaPath() - Method in class de.griefed.serverpackcreator.swing.TabCreateServerPack
-
Getter for the current text from the currently set Javapath in the Javapath textfield.
- getLastModified() - Method in class de.griefed.serverpackcreator.spring.serverpack.ServerPackModel
-
Getter for the date and time at which this server pack entry was last modified as a Timestamp.
- getListFallbackMods() - Method in class de.griefed.serverpackcreator.ApplicationProperties
-
Getter for the fallback list of clientside-only mods.
- getListOfDirectoriesToExclude() - Method in class de.griefed.serverpackcreator.ApplicationProperties
-
Getter for the list of directories to exclude from server packs.
- getLocalizedString(String) - Method in class de.griefed.serverpackcreator.i18n.LocalizationManager
-
Acquires a localized String for the provided language key from the initialized locale resource.
- getMinecraftManifestUrl() - Method in class de.griefed.serverpackcreator.DefaultFiles
-
Getter for Mojang's Minecraft version-manifest.
- getMinecraftReleaseVersion() - Method in class de.griefed.serverpackcreator.VersionLister
-
Getter for the latest release version of Minecraft.
- getMinecraftReleaseVersions() - Method in class de.griefed.serverpackcreator.VersionLister
-
Getter for the list of available Minecraft versions of type release
- getMinecraftReleaseVersionsAsArray() - Method in class de.griefed.serverpackcreator.VersionLister
-
Getter for the list of Minecraft release versions as an array.
- getMinecraftSnapshotVersion() - Method in class de.griefed.serverpackcreator.VersionLister
-
Getter for the latest Snapshot version of Minecraft.
- getMinecraftSnapshotVersions() - Method in class de.griefed.serverpackcreator.VersionLister
-
Getter for the list of all available Snapshot version for Minecraft.
- getMinecraftVersion() - Method in class de.griefed.serverpackcreator.ConfigurationModel
-
Getter for the version of Minecraft used by the modpack.
- getModLoader() - Method in class de.griefed.serverpackcreator.ConfigurationModel
-
Getter for the modloader used by the modpack.
- getModLoaderCase(String) - Method in class de.griefed.serverpackcreator.utilities.ConfigUtilities
-
Ensures the modloader is normalized to first letter upper case and rest lower case.
- getModLoaderVersion() - Method in class de.griefed.serverpackcreator.ConfigurationModel
-
Getter for the version of the modloader used by the modpack.
- getModpackDir() - Method in class de.griefed.serverpackcreator.ConfigurationModel
-
Getter for the path to the modpack directory.
- getName() - Method in interface de.griefed.serverpackcreator.plugins.PluginInformation
-
Get the name of this plugin.
- getPath() - Method in class de.griefed.serverpackcreator.spring.serverpack.ServerPackModel
-
Getter for the path to the generated server pack.
- getPreferredSize() - Method in class de.griefed.serverpackcreator.swing.utilities.BackgroundPanel
-
Override to provide a preferred size equal to the image size.
- getProjectID() - Method in class de.griefed.serverpackcreator.ConfigurationModel
-
- getProjectID() - Method in class de.griefed.serverpackcreator.spring.serverpack.ServerPackModel
-
Getter for the project id of the server pack.
- getProjectIDAndFileID() - Method in class de.griefed.serverpackcreator.spring.curseforge.GenerateCurseProject
-
Getter for the project and file id combination of the submitted task.
- getProjectIDAndFileID() - Method in class de.griefed.serverpackcreator.spring.curseforge.ScanCurseProject
-
Getter for the project and file id combination of the submitted task.
- getProjectName() - Method in class de.griefed.serverpackcreator.ConfigurationModel
-
Getter for the name of the CurseForge project.
- getProjectName() - Method in class de.griefed.serverpackcreator.spring.serverpack.ServerPackModel
-
Getter for the name of the project of the server pack.
- getQueueMaxDiskUsage() - Method in class de.griefed.serverpackcreator.ApplicationProperties
-
Getter for the maximum disk usage at which JMS/Artemis will stop storing queues on disk.
- getSaveLoadedConfiguration() - Method in class de.griefed.serverpackcreator.ApplicationProperties
-
Getter for whether the last loaded configuration file should be saved to as well.
- getServerIconPath() - Method in class de.griefed.serverpackcreator.ConfigurationModel
-
Getter for the path to the server-icon.png to include in the server pack.
- getServerIconPath() - Method in class de.griefed.serverpackcreator.swing.TabCreateServerPack
-
Getter for the text in the custom server-icon textfield.
- getServerPackCreatorVersion() - Method in class de.griefed.serverpackcreator.ApplicationProperties
-
Getter for the version of ServerPackCreator.
If a JAR-file compiled from a release-job from a CI/CD-pipeline is used, it should contain a VERSION.txt-file which contains the version of said release.
- getServerPacks() - Method in class de.griefed.serverpackcreator.spring.serverpack.ServerPackService
-
Get a list of all available server packs.
- getServerPacksByProjectID(int) - Method in class de.griefed.serverpackcreator.spring.serverpack.ServerPackService
-
Get a list of all server packs using a CurseForge project ID.
- getServerPackSuffix() - Method in class de.griefed.serverpackcreator.ConfigurationModel
-
Getter for the suffix of the server pack to be generated.
- getServerPropertiesPath() - Method in class de.griefed.serverpackcreator.ConfigurationModel
-
Getter for the path of the server.properties to include in the server pack.
- getServerPropertiesPath() - Method in class de.griefed.serverpackcreator.swing.TabCreateServerPack
-
Getter for the text in the custom server.properties textfield
- getSize() - Method in class de.griefed.serverpackcreator.spring.serverpack.ServerPackModel
-
Getter for the size of the generated server pack in MB.
- getStatus() - Method in class de.griefed.serverpackcreator.spring.serverpack.ServerPackModel
-
Getter for the status of the server pack.
- getTab() - Method in interface de.griefed.serverpackcreator.plugins.swinggui.TabExtension
-
Get the JTabbedPane from this addon to add it to the ServerPackCreator GUI.
- getTabIcon() - Method in interface de.griefed.serverpackcreator.plugins.swinggui.TabExtension
-
Get the Icon for this tabbed pane addon to display to the ServerPackCreator GUI.
- getTabTitle() - Method in interface de.griefed.serverpackcreator.plugins.swinggui.TabExtension
-
Get the title of this tabbed pane addon to display in the ServerPackCreator GUI.
- getTabTooltip() - Method in interface de.griefed.serverpackcreator.plugins.swinggui.TabExtension
-
Get the tooltip for this tabbed pane addon to display in the ServerPackCreator GUI.
- getVersion() - Method in interface de.griefed.serverpackcreator.plugins.PluginInformation
-
Get the version of this plugin.
- getZipGenerationProperties() - Method in class de.griefed.serverpackcreator.spring.zip.GenerateZip
-
Getter for the concatenated String which contains all information with which a server pack will be
generated from.
- readBoolean() - Method in class de.griefed.serverpackcreator.utilities.BooleanUtilities
-
Prompts the user to enter values which will then be converted to booleans, either TRUE or FALSE.
- readStringArray() - Method in class de.griefed.serverpackcreator.utilities.ListUtilities
-
Prompts the user to enter the values which will make up
a String List in the new configuration file.
- redirectAbout() - Method in class de.griefed.serverpackcreator.spring.RouteController
-
Redirect /about to /#/about.
- redirectDownloads() - Method in class de.griefed.serverpackcreator.spring.RouteController
-
Redirect /downloads to /#/downloads.
- refresh() - Method in class de.griefed.serverpackcreator.utilities.UpdateChecker
-
Refresh the GitHub, GitLab and GitGriefed instances, so we get the most current releases.
- refreshManifestFile(URL, File) - Method in class de.griefed.serverpackcreator.DefaultFiles
-
Deletes the specified manifest if it is found, then downloads the specified manifest file again.
- refreshVersions() - Method in class de.griefed.serverpackcreator.VersionLister
-
Refresh all Minecraft, Forge and Fabric versions, so we can work with up-to-date values.
- regenerate(String) - Method in class de.griefed.serverpackcreator.spring.curseforge.CurseController
-
GET request for requesting the regeneration of a server pack.
- regenerateActivated() - Method in class de.griefed.serverpackcreator.spring.curseforge.CurseController
-
GET request to check whether regeneration of server packs is available on this instance of ServerPackCreator.
- regenerateFromCurseModpack(String) - Method in class de.griefed.serverpackcreator.spring.curseforge.CurseService
-
Regenerates server pack for the given CurseForge project and file ID.
Requires de.griefed.serverpackcreator.spring.cursecontroller.regenerate.enabled=true, otherwise a message is returned
telling the requester that regeneration is disabled on this instance of ServerPackCreator.
- reload() - Method in class de.griefed.serverpackcreator.ApplicationProperties
-
Reload serverpackcreator.properties.
- replaceFile(File, File) - Method in class de.griefed.serverpackcreator.utilities.SystemUtilities
-
Move a file from source to destination, and replace the destination file if it exists.
- repositoryToString() - Method in class de.griefed.serverpackcreator.spring.serverpack.ServerPackModel
-
String concatenation of all important values of our server pack entry.
- requestGenerationFromZip(String, String, String, String, String, boolean) - Method in class de.griefed.serverpackcreator.spring.zip.ZipController
-
Request the generation of a server pack from a previously uploaded ZIP-archive, which passed validation checks,
and from a barebones configuration, including:
clientMods
minecraftVersion
modLoader
modLoaderVersion
installModloaderServer
- reticulate() - Method in class de.griefed.serverpackcreator.utilities.ReticulatingSplines
-
- RETICULATING - Variable in class de.griefed.serverpackcreator.utilities.ReticulatingSplines
-
The list of messages as they were available in SimCity, plus Reticulating Splines added by myself, for good measure.
- ReticulatingSplines - Class in de.griefed.serverpackcreator.utilities
-
Just something fun to brighten the mood.
- ReticulatingSplines() - Constructor for class de.griefed.serverpackcreator.utilities.ReticulatingSplines
-
- retrieveFileDiskName(int, int) - Method in class de.griefed.serverpackcreator.curseforge.CurseCreateModpack
-
Retrieve the file disk-name of a given CurseForge project.
- retrieveFileName(int, int) - Method in class de.griefed.serverpackcreator.curseforge.CurseCreateModpack
-
Get the display-name of the project's file.
- retrieveProjectName(int) - Method in class de.griefed.serverpackcreator.curseforge.CurseCreateModpack
-
Retrieve the name of a given CurseForge project.
- reverseOrderArray(String[]) - Method in class de.griefed.serverpackcreator.VersionLister
-
Reverses the order of a passed String array.
- reverseOrderList(List<String>) - Method in class de.griefed.serverpackcreator.VersionLister
-
Reverses the order of a passed String List.
- RouteController - Class in de.griefed.serverpackcreator.spring
-
Simple route controller to ensure some destinations let the user arrive where we want them to, otherwise, we redirect.
- RouteController() - Constructor for class de.griefed.serverpackcreator.spring.RouteController
-
- run(ApplicationProperties, ConfigurationModel, String) - Method in interface de.griefed.serverpackcreator.plugins.PluginInformation
-
- run(ServerPackModel) - Method in class de.griefed.serverpackcreator.ServerPackHandler
-
- run(ConfigurationModel) - Method in class de.griefed.serverpackcreator.ServerPackHandler
-
- saveUploadedFile(MultipartFile) - Method in class de.griefed.serverpackcreator.spring.zip.ZipService
-
Store an uploaded ZIP-archive to disk.
- SCALED - Static variable in class de.griefed.serverpackcreator.swing.utilities.BackgroundPanel
-
- ScanCurseProject - Class in de.griefed.serverpackcreator.spring.curseforge
-
- ScanCurseProject(String) - Constructor for class de.griefed.serverpackcreator.spring.curseforge.ScanCurseProject
-
Create a message with a task for scanning the passed project and fileID combination.
- scanCurseProject(String) - Method in class de.griefed.serverpackcreator.spring.task.TaskSubmitter
-
Submit a task for scanning a CurseForge project and file id combination.
- Schedules - Class in de.griefed.serverpackcreator.spring
-
Schedules to cover all kinds of aspects of ServerPackCreator.
- Schedules(ApplicationProperties, ServerPackService, DefaultFiles, VersionLister) - Constructor for class de.griefed.serverpackcreator.spring.Schedules
-
Constructor for DI.
- ServerPackController - Class in de.griefed.serverpackcreator.spring.serverpack
-
RestController for everything server pack related, like downloads.
All requests are in /api/v1/packs.
- ServerPackController(ServerPackService) - Constructor for class de.griefed.serverpackcreator.spring.serverpack.ServerPackController
-
Constructor responsible for our DI.
- ServerPackHandler - Class in de.griefed.serverpackcreator
-
Create a server pack from a modpack by copying all specified or required files from the modpack to the server pack
as well as installing the modloader server for the specified modloader, modloader version and Minecraft version.
- ServerPackHandler(LocalizationManager, CurseCreateModpack, ConfigurationHandler, ApplicationProperties, VersionLister, BooleanUtilities, ListUtilities, StringUtilities, SystemUtilities, ConfigUtilities, ApplicationPlugins) - Constructor for class de.griefed.serverpackcreator.ServerPackHandler
-
Constructor
- ServerPackModel - Class in de.griefed.serverpackcreator.spring.serverpack
-
Class containing all fields and therefore all information gathered from a submitted CurseForge project and fileID, or
modpack export.
- ServerPackModel() - Constructor for class de.griefed.serverpackcreator.spring.serverpack.ServerPackModel
-
Constructor for our ServerPackModel.
- ServerPackModel(int, int) - Constructor for class de.griefed.serverpackcreator.spring.serverpack.ServerPackModel
-
Constructor for our ServerPackModel using a project and file ID from a CurseForge project.
- ServerPackModel(int, int, int, String, String, double, int, int, String, Timestamp, Timestamp) - Constructor for class de.griefed.serverpackcreator.spring.serverpack.ServerPackModel
-
Constructor for our ServerPackModel, setting id, projectID, fileID, fileName, displayName, size, downloads, confirmedWorking, status, dateCreated, lastModified manually.
- ServerPackRepository - Interface in de.griefed.serverpackcreator.spring.serverpack
-
Our JPA repository for storing and retrieving
ServerPackModels to and from our SQLite database.
- ServerPackService - Class in de.griefed.serverpackcreator.spring.serverpack
-
Class revolving around with server packs, like downloading, retrieving, deleting, voting etc.
- ServerPackService(ApplicationProperties, ServerPackRepository) - Constructor for class de.griefed.serverpackcreator.spring.serverpack.ServerPackService
-
Constructor responsible for our DI.
- setChosenModloader(String) - Method in class de.griefed.serverpackcreator.swing.TabCreateServerPack
-
Setter for the chosen modloader from the JRadioButtons.
- setClientMods(List<String>) - Method in class de.griefed.serverpackcreator.ConfigurationModel
-
Setter for the list of clientside-only mods to exclude from server pack.
- setConfirmedWorking(int) - Method in class de.griefed.serverpackcreator.spring.serverpack.ServerPackModel
-
Setter for the amount of votes indicating whether this server pack works.
- setCopyDirs(List<String>) - Method in class de.griefed.serverpackcreator.ConfigurationModel
-
Setter for the list of directories in the modpack to copy to the server pack.
- setCurseModpack(JsonNode) - Method in class de.griefed.serverpackcreator.ConfigurationModel
-
Setter for the JsonNode containing all information about the CurseForge modpack.
- setDateCreated(Timestamp) - Method in class de.griefed.serverpackcreator.spring.serverpack.ServerPackModel
-
Setter for the date and time at which this server pack entry was created as a Timestamp.
- setDownloads(int) - Method in class de.griefed.serverpackcreator.spring.serverpack.ServerPackModel
-
Setter for the amount of downloads this server pack has received.
- setFileDiskName(String) - Method in class de.griefed.serverpackcreator.ConfigurationModel
-
Setter for the disk-name of the CurseForge project file.
- setFileDiskName(String) - Method in class de.griefed.serverpackcreator.spring.serverpack.ServerPackModel
-
Setter for the file disk name of the project file from which the server pack was generated.
- setFileID(int) - Method in class de.griefed.serverpackcreator.ConfigurationModel
-
- setFileID(int) - Method in class de.griefed.serverpackcreator.spring.serverpack.ServerPackModel
-
Setter for the file id of the server pack.
- setFileName(String) - Method in class de.griefed.serverpackcreator.ConfigurationModel
-
Setter for the name of the CurseForge project file.
- setFileName(String) - Method in class de.griefed.serverpackcreator.spring.serverpack.ServerPackModel
-
Setter for the file display name of the project file from which the server pack was generated.
- setId(int) - Method in class de.griefed.serverpackcreator.spring.serverpack.ServerPackModel
-
Setter for the database id of a server pack.
- setImage(Image) - Method in class de.griefed.serverpackcreator.swing.utilities.BackgroundPanel
-
Setter for the image used as the background.
- setImageAlignmentX(float) - Method in class de.griefed.serverpackcreator.swing.utilities.BackgroundPanel
-
Setter for the horizontal alignment of the image when using ACTUAL style.
- setImageAlignmentY(float) - Method in class de.griefed.serverpackcreator.swing.utilities.BackgroundPanel
-
Setter for the horizontal alignment of the image when using ACTUAL style.
- setIncludeServerIcon(boolean) - Method in class de.griefed.serverpackcreator.ConfigurationModel
-
Setter for whether the server-icon.png should be included in the server pack.
- setIncludeServerInstallation(boolean) - Method in class de.griefed.serverpackcreator.ConfigurationModel
-
Setter for whether the modloader server installation should be included.
- setIncludeServerProperties(boolean) - Method in class de.griefed.serverpackcreator.ConfigurationModel
-
Setter for whether the server.properties should be included in the server pack.
- setIncludeZipCreation(boolean) - Method in class de.griefed.serverpackcreator.ConfigurationModel
-
Setter for whether a ZIP-archive of the server pack should be created.
- setJavaArgs(String) - Method in class de.griefed.serverpackcreator.ConfigurationModel
-
Setter for the Java arguments with which the start-scripts will be generated.
- setJavaArgs(String) - Method in class de.griefed.serverpackcreator.swing.TabCreateServerPack
-
Setter for the JVM flags / Java args.
- setJavaPath(String) - Method in class de.griefed.serverpackcreator.ConfigurationModel
-
Setter for the path to the Java executable/binary.
- setLastModified(Timestamp) - Method in class de.griefed.serverpackcreator.spring.serverpack.ServerPackModel
-
Setter for the date and time at which this server pack entry was last modified as a Timestamp.
- setMinecraftVersion(String) - Method in class de.griefed.serverpackcreator.ConfigurationModel
-
Setter for the Minecraft version used by the modpack.
- setModLoader(String) - Method in class de.griefed.serverpackcreator.ConfigurationModel
-
Setter for the modloader used by the modpack.
- setModLoaderVersion(String) - Method in class de.griefed.serverpackcreator.ConfigurationModel
-
Setter for the version of the modloader used by the modpack.
- setModpackDir(String) - Method in class de.griefed.serverpackcreator.ConfigurationModel
-
Setter for the path to the modpack directory.
- setPaint(Paint) - Method in class de.griefed.serverpackcreator.swing.utilities.BackgroundPanel
-
Setter for the Paint object used to paint the background.
- setPath(String) - Method in class de.griefed.serverpackcreator.spring.serverpack.ServerPackModel
-
Setter for the path to the generated server pack.
- setProjectID(int) - Method in class de.griefed.serverpackcreator.ConfigurationModel
-
- setProjectID(int) - Method in class de.griefed.serverpackcreator.spring.serverpack.ServerPackModel
-
Setter for the project id of the server pack.
- setProjectName(String) - Method in class de.griefed.serverpackcreator.ConfigurationModel
-
Setter for the name of the CurseForge project.
- setProjectName(String) - Method in class de.griefed.serverpackcreator.spring.serverpack.ServerPackModel
-
Setter for the project name of the project of the server pack.
- setServerIconPath(String) - Method in class de.griefed.serverpackcreator.ConfigurationModel
-
Setter for the path of the server-icon.png to include in the server pack.
- setServerPackSuffix(String) - Method in class de.griefed.serverpackcreator.ConfigurationModel
-
Setter for the suffix of the server pack to be generated
- setServerPropertiesPath(String) - Method in class de.griefed.serverpackcreator.ConfigurationModel
-
Setter for the path of the server.properties to include in the server pack.
- setSize(double) - Method in class de.griefed.serverpackcreator.spring.serverpack.ServerPackModel
-
Setter for the size of the generated server pack in MB.
- setStatus(String) - Method in class de.griefed.serverpackcreator.spring.serverpack.ServerPackModel
-
Setter for the status of a server pack.
- setStyle(int) - Method in class de.griefed.serverpackcreator.swing.utilities.BackgroundPanel
-
Setter the style used to paint the background image.
- setTransparentAdd(boolean) - Method in class de.griefed.serverpackcreator.swing.utilities.BackgroundPanel
-
Controls whether components added to this panel should automatically
be made transparent.
- SmartScroller - Class in de.griefed.serverpackcreator.swing.utilities
-
Hey, Griefed here.
- SmartScroller(JScrollPane) - Constructor for class de.griefed.serverpackcreator.swing.utilities.SmartScroller
-
Convenience constructor.
Scroll direction is VERTICAL and viewport position is at the END.
- SmartScroller(JScrollPane, int) - Constructor for class de.griefed.serverpackcreator.swing.utilities.SmartScroller
-
Convenience constructor.
Scroll direction is VERTICAL.
- SmartScroller(JScrollPane, int, int) - Constructor for class de.griefed.serverpackcreator.swing.utilities.SmartScroller
-
Specify how the SmartScroller will function.
- spline(int) - Method in class de.griefed.serverpackcreator.utilities.ReticulatingSplines
-
- SPLINES - Variable in class de.griefed.serverpackcreator.utilities.ReticulatingSplines
-
- START - Static variable in class de.griefed.serverpackcreator.swing.utilities.SmartScroller
-
- StringUtilities - Class in de.griefed.serverpackcreator.utilities
-
Utility-class revolving around Strings.
- StringUtilities() - Constructor for class de.griefed.serverpackcreator.utilities.StringUtilities
-
- submitGenerationTask(String) - Method in class de.griefed.serverpackcreator.spring.zip.ZipService
-
Submit a task for the generation of a server pack from a ZIP-archive.
- suggestCopyDirs(String) - Method in class de.griefed.serverpackcreator.utilities.ConfigUtilities
-
Creates a list of suggested directories to include in server pack which is later on written to a new configuration file.
- SwingGuiInitializer - Class in de.griefed.serverpackcreator.swing
-
This class creates and shows the GUI needed for running ServerPackCreator in....well...GUI mode.
- SwingGuiInitializer(LocalizationManager, ConfigurationHandler, CurseCreateModpack, ServerPackHandler, ApplicationProperties, VersionLister, BooleanUtilities, ListUtilities, StringUtilities, ConfigUtilities, SystemUtilities, UpdateChecker, ApplicationPlugins) - Constructor for class de.griefed.serverpackcreator.swing.SwingGuiInitializer
-
Constructor
- systemInformation(ApplicationHome) - Method in class de.griefed.serverpackcreator.utilities.JarUtilities
-
Retrieve information about the environment for the given instance of ApplicationHome, stored in a HashMap.
Available key-value-pairs:
jarPath - The path to the JAR-file.
jarName - The name of the JAR-file.
javaVersion - The version of the Java installation used.
osArch - Architecture of the system.
osName - Name of the operating system.
osVersion - Version of the operating system.
- SystemUtilities - Class in de.griefed.serverpackcreator.utilities
-
Utility-class revolving around the system we are running on.
- SystemUtilities() - Constructor for class de.griefed.serverpackcreator.utilities.SystemUtilities
-