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

minecraft beta support #590

Closed
JuniorJPDJ opened this issue Jul 19, 2020 · 9 comments
Closed

minecraft beta support #590

JuniorJPDJ opened this issue Jul 19, 2020 · 9 comments

Comments

@JuniorJPDJ
Copy link

Oldschool is still alive ;D

@itzg
Copy link
Owner

itzg commented Jul 19, 2020

Are you asking for beta version support? It might already work by passing those with VERSION. I haven't tried yet myself.

@JuniorJPDJ
Copy link
Author

I tried it.
There's what it does:
Resolved version given b1.6.6 into 1.16.1
If I try custom jar with this version - it cries about Protocol error when your healthcheck tries to rcon.
Rcon is probably not supported in this version.
Workaround would be needed ;/

@itzg
Copy link
Owner

itzg commented Jul 19, 2020

For the rcon based health check it can be disabled a few ways, but easiest is with -e DISABLE_HEALTHCHECK=true

https://github.com/itzg/docker-minecraft-server#healthcheck

@itzg
Copy link
Owner

itzg commented Jul 19, 2020

...and I'll fix that weird override it did there

@itzg
Copy link
Owner

itzg commented Jul 19, 2020

...however, with that it won't work anyway since b1.6.6. doesn't provide a server jar to download:

image

@JuniorJPDJ
Copy link
Author

What about console and graceful shutdown in that case when rcon is not working?

@itzg
Copy link
Owner

itzg commented Jul 19, 2020

Using docker attach to access console is always an option when adding -it to docker run command line. Refer to last part of this section

https://github.com/itzg/docker-minecraft-server#interacting-with-the-server

FYI image has been updated to accept b1.6.6, and will now correctly report the absence of the server jar download.

@JuniorJPDJ
Copy link
Author

Ok, thanks, I'll check it tommorow ;)

@JuniorJPDJ
Copy link
Author

JuniorJPDJ commented Aug 5, 2020

Yes, thank you, every issue with oldschool beta minecraft is now resolved.
For other searching guys I can provide my docker-compose ;)

version: "3.5"

services:
  mc:
    environment:
      EULA: "TRUE"
      TYPE: "CUSTOM"
      VERSION: "b1.6.6"
      CUSTOM_SERVER: "craftbukkit_0.0.0-892.jar"
      INIT_MEMORY: 512M
      MAX_MEMORY: 2G
      ENABLE_RCON: "FALSE"
      ONLINE_MODE: "FALSE"
      GUI: "FALSE"
      DISABLE_HEALTHCHECK: "true"
    image: itzg/minecraft-server
    stop_grace_period: 5m
    ports:
      - 25566:25565
    volumes:
      - ./data:/data
    stdin_open: true
    tty: true
    restart: unless-stopped

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

No branches or pull requests

2 participants