Skip to content

request: Custom server JVM Arguments #47

Description

@JaronZ

Is there an existing issue or pull request for this feature request?

  • There are no existing issues or pull requests for this feature request.

Feature description

I want to be able to specify custom JVM arguments for the server in the blockenv configuration file.

Desired solution

In the configuration file, add a property to the environments for JVM arguments

"environments": {
  "environment": {
    // ...
    "arguments": {
      "jvm": [
        // JVM arguments here
      ]
    }
  }
}

And it then runs the server using these JVM arguments when running blockenv launch

Considered alternatives

Using the user_jvm_args.txt file, but since this would probably not get committed, this would be a less ideal option

Additional information

A way to do this would be to implement something similar to the run.bat and run.sh files, but add the custom JVM arguments before the user_jvm_args file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Fields

    Priority

    None yet

    Effort

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions