Skip to content

Comments

Update minecraft-server (java) template #5254

Merged
peaklabs-dev merged 1 commit intocoollabsio:nextfrom
CaptainFallaway:next
Mar 31, 2025
Merged

Update minecraft-server (java) template #5254
peaklabs-dev merged 1 commit intocoollabsio:nextfrom
CaptainFallaway:next

Conversation

@CaptainFallaway
Copy link
Contributor

A little update for the minecraft server template. Changes included are for both redundancy for older versions or minecraft, memory fixes, and the ability to set gamemode from the enviroment variables. The problem with the MEMORY variable is that it sets the minimum and maximum memory to the same specified value (when it's running it's stuck at max memory all the time), so it's getting replaced by INIT_MEMORY and MAX_MEMORY.

Changes

  • Updated SNOOPER_ENABLED variable to be false by default. (telemetry off by default).
  • Added MODE variable to change gamemode. (not the same as FORCE_GAMEMODE).
  • Removed MEMORY variable for alternatives.
  • Added INIT_MEMORY variable for initial minimum memory instead of MEMORY, default value 256M.
  • Added MAX_MEMORY variable for maximum memory instead of MEMORY, default value 1G.
  • Added GUI variable and set default to false because; "Some older servers get confused and think that the GUI interface is enabled." - itzg/minecraft docs.

…, max and min memory instead of one option, GUI false by default
@peaklabs-dev peaklabs-dev merged commit 1d72403 into coollabsio:next Mar 31, 2025
1 check passed
@peaklabs-dev
Copy link
Member

Thank you for the PR.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 1, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants