Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Apr 12 2020 19:06
    fabianvf edited #5
  • Apr 12 2020 19:06
    fabianvf edited #5
  • Apr 12 2020 19:06
    fabianvf edited #5
  • Apr 09 2020 15:50
    fabianvf synchronize #9
  • Apr 09 2020 15:50

    fabianvf on use-new-crd

    Add collection installs and mov… Update to molecule v3 (compare)

  • Mar 20 2020 20:21
    fabianvf synchronize #9
  • Mar 20 2020 20:21

    fabianvf on use-new-crd

    Make role work well with explic… (compare)

  • Mar 20 2020 18:15
    fabianvf opened #9
  • Mar 20 2020 18:13

    fabianvf on use-new-crd

    rename role Update molecule tests Fix role names, update base ima… and 1 more (compare)

  • Mar 20 2020 16:28

    fabianvf on master

    Update CRDs to a more intention… (compare)

  • Mar 20 2020 16:28
    fabianvf closed #8
  • Mar 20 2020 16:27
    fabianvf synchronize #8
  • Mar 20 2020 16:27

    fabianvf on updated-crds

    update parameter name (compare)

  • Nov 20 2019 19:56
    fabianvf edited #5
  • Nov 20 2019 17:54
    fabianvf synchronize #8
  • Nov 20 2019 17:54

    fabianvf on updated-crds

    Reorganize mod settings, add de… (compare)

  • Nov 20 2019 15:40
    fabianvf edited #8
  • Nov 19 2019 23:36
    fabianvf edited #8
  • Nov 19 2019 23:36
    fabianvf opened #8
  • Nov 19 2019 23:35

    fabianvf on updated-crds

    First stab at better CRDs (compare)

Fabian von Feilitzsch
@fabianvf
my other idea was to create forgeSettings/spigotSettings/paperSettings etc
Geoff Bourne
@itzg
Oh I see that now. Hmm, I like the shared semantic idea, but yeah maybe it's a little too obscured. Yeah, some like forgeSettings etc seems good
Fabian von Feilitzsch
@fabianvf

Perhaps I can make it so that rather than specifying server type and some settings, you can just say

mods:
  forge:
    version: X
    modpack: https://X.Y.Z/modpack
    ...
  bukkit:
    ...

and I can pick up the server type from that, while also allowing only a single entry to be specified

well that example is invalid obviously, but pretend it's two examples, one with forge, one with bukkit
Geoff Bourne
@itzg
gotcha :)
in the case where they just want the default version of forge and no mods (not sure why, but maybe doing manual installs) an empty forge: {} object would suffice, right?
Fabian von Feilitzsch
@fabianvf
if you see any fields in there that you think can be removed, because they can be automatically inferred due to the kubernetes environment, because there is a best practice that we should enforce, or because they are so niche an option that the envvar escape hatch is enough, definitely comment on those. My minecraft server administration experience is sparse so I have a hard time telling which options are important and which aren't
and yeah, forge: {} should work fine
Geoff Bourne
@itzg
well, I'm mostly a vanilla minecraft server guy myself, so I'm not much help there :) I didn't see any so far that were obvious to not be needed
not sure why that reminded me, but I do have a Bedrock supported image too
https://hub.docker.com/r/itzg/minecraft-bedrock-server
would be interesting if that could be blended into the same CRD
but that might get too "polymorphic" so totally just a thought to throw out there
Fabian von Feilitzsch
@fabianvf
Yeah, we could also just add a MinecraftBedrockServer CRD if the options offered differ enough (which I think they do)
Does it work behind bungeecord?
Geoff Bourne
@itzg
The options are just similar enough that that's what made me think about it.
I don't think it works behind bungeecord, instead it looks like there's different proxies people have implemented.
Fabian von Feilitzsch
@fabianvf
well if they're similar enough we could definitely look at blending it in, though if it doesn't work behind bungeecord the networking layer is going to be quite different, since I was looking at using the bungeecord kubernetes plugin we were discussing a while ago for any deployed server. Alternatively, maybe always putting a proxy in front is a bad idea
Geoff Bourne
@itzg
Oh yeah, given the bungeecord integration then yeah a separate CRD totally makes sense
Fabian von Feilitzsch
@fabianvf
quick question, it looks like I'm passing in a NAME environment variable currently, but all I can find in the minecraft container docs is SERVER_NAME. Did that change or am I just passing in nothing right now?
Geoff Bourne
@itzg
hmm, I'll look
yeah, SERVER_NAME is the correct variable
Fabian von Feilitzsch
@fabianvf
I was also planning on enabling rcon and query by default, any opinions on that?
Geoff Bourne
@itzg
Sounds good to me
Fabian von Feilitzsch
@fabianvf
have you had any experience rolling out minecraft servers? I assume if I start two servers looking at the same directory, at least one of them will be very unhappy? Mostly curious because some curseforge mods can take 10-15 minutes to load, so anything that leads to a redeploy ends up in significant downtime. Wasn't sure if there was anything I could do to load up all the server mods without routing players in, until the server reports ready at which point I can safely switch
Geoff Bourne
@itzg
unfortunately no, I haven't experimented with the rollover case where the two servers are potentially accessing the same world data
maybe there's a way to coordinate the save-off and save-on commands to prevent the new instance from writing to world data until it's become "activated"
as an experiment could startup a container with a pre-existing /data but mounted read only and see at which point the server complains. You'd think it wouldn't bother with tick updates, etc when no player is connected
Fabian von Feilitzsch
@fabianvf
save-on/off is an interesting avenue to explore, didn't think of that
Geoff Bourne
@itzg
and the instance going down could be issued a save-all then save-off flush its state to disk
Fabian von Feilitzsch
@fabianvf
@itzg https://github.com/itzg/docker-minecraft-server#running-a-bukkitspigot-server can both bukkit and spigot be built from source, or only spigot?
Fabian von Feilitzsch
@fabianvf
also here: https://github.com/itzg/docker-minecraft-server#running-a-server-with-a-feed-the-beast-ftb--curseforge-modpack , do curseforge and FTB differ other than that they host at different URLs?
Fabian von Feilitzsch
@fabianvf
I'm trying to figure out if I should have a single forgeSettings object that contains forge/FTB/curseforge configuration, or if there's a strong reason to separate them (same for bukkit/spigot/paperspigot)
Fabian von Feilitzsch
@fabianvf
MirceaZisu
@MirceaZisu
Hey, I got a question. Been using your docker image to host modded minecraft servers, but for some reason, I have been having some trouble today after restarting one of my servers. It's not allowing me to change the Xmx value, and it is stuck on 2G.
I passed both -e MEMORY=8G and -e JVM_XX_OPTS="-Xmx8G" in it
MirceaZisu
@MirceaZisu
@itzg
Geoff Bourne
@itzg
@MirceaZisu your question fits better in https://gitter.im/itzg/dockerfiles , but in any case I'm not sure why you're attempting to pass both options. How do you know that it is stuck on 2G? Did you use -e DEBUG_EXEC=true to determine that?
MirceaZisu
@MirceaZisu
I looked under htop and it is only using 2GB of my 32GB system
I am using both because I wanted to see if either would work
Also, this is the first gitter that I had found after searching online for jvm arguments
Geoff Bourne
@itzg
@MirceaZisu can you provide the full command line (or compose file) you're using to create the container? Specifically, I'm wondering if you're using a modpack since those provide startup scripts that interfere with the MEMORY and related settings
MirceaZisu
@MirceaZisu
sudo docker run -d -v ~/mc-servers-new/rp-hell/amnesia/:/data -e TYPE=CURSEFORGE -e CF_SERVER_MOD=AmnesiaServerfiles111.zip -e MEMORY=8G -p 25564:25565 -e ENABLE_RCON=true -e RCON_PASSWORD=Nuaivoie1 -e EULA=TRUE -e JVM_XX_OPTS="-Xmx=8G" -e ALLOW_FLIGHT=TRUE --name amnesia itzg/minecraft-server
@itzg
Geoff Bourne
@itzg
Thanks. I’ll debug that specific modpack and see what workarounds/fix might be needed
MirceaZisu
@MirceaZisu
Thanks. I could've sworn it was using more, but I guess not
Geoff Bourne
@itzg
Created an issue to help me keep track of it itzg/docker-minecraft-server#729
MirceaZisu
@MirceaZisu
Thanks. I'm guessing you were able to recreate it?
Geoff Bourne
@itzg
I haven’t tried yet. I created an issue to remind me to look at it.
Geoff Bourne
@itzg
Yep, the modpack's startup script hardcodes memory setting :(
@MirceaZisu add this to avoid that hardcoded script: -e USE_MODPACK_START_SCRIPT=false
MirceaZisu
@MirceaZisu
Thank you very much