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

Update minecraft-server (java) template #5254

Open
wants to merge 1 commit into
base: next
Choose a base branch
from

Conversation

CaptainFallaway
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant