System Properties

A comprehensive list of system properties available in DivineMC, including their descriptions and default values.


JVM System Properties

These properties need to be specified as JVM arguments using the -D prefix.

PropertyDescriptionDefault
DivineMC.EnableReloadCommandEnables the reload command, which is disabled by default in DivineMCfalse

Command Line Arguments

These arguments should be specified after the -jar file in your startup command.

ArgumentDescription
-add-plugin-dir="<path-to-folder>"Specify paths to directories containing extra plugin jars to be loaded in addition to those in the plugins folder

Examples

# Enable reload command
java -DDivineMC.EnableReloadCommand=true -jar divinemc.jar

# Add extra plugins directory
java -jar divine.jar -add-plugin-dir="/path/to/extra/plugins"

# Combining both options
java -DDivineMC.EnableReloadCommand=true -jar divinemc.jar -add-plugin-dir="/path/to/extra/plugins"
Edit on GitHub

Last updated on