Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rcon commands in helm config file not working #206

Open
Lite5h4dow opened this issue May 6, 2024 · 1 comment
Open

rcon commands in helm config file not working #206

Lite5h4dow opened this issue May 6, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@Lite5h4dow
Copy link

Enhancement Type

Improve an existing feature

Describe the enhancement

rcon commands on startup, first connect, and last disconnect don't seem to apply.

would appreciate it if this compatibility was extended to the helm config unless there is another way to apply these, for example environment variables

rcon:
    # If you enable this, make SURE to change your password below.
    enabled: true
    # By default, the container will generate a random password at startup
    # to ensure internal RCON tooling, including a backup container,
    # can be used, but the password is secure.
    withGeneratedPassword: false
    port: 25575
    rconCmdsStartup: |-
      /gamerule doFireTick false
      /pregen start 1000
    rconCmdsFirstConnect: |-
      /pregen stop
    rconCmdsLastDisconnect: |-
      /pregen start 1000
@Lite5h4dow Lite5h4dow added the enhancement New feature or request label May 6, 2024
@itzg itzg transferred this issue from itzg/docker-minecraft-server May 6, 2024
@itzg
Copy link
Owner

itzg commented May 6, 2024

As you suspected, at this point you can use extraEnv to include those three items as environment variables declared by the image itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants