Closed MrPixelized closed 6 months ago
Oh, I think I know how to fix this. Expect it fixed in 0.4.3
About the build hooks - I was already planning on something like this but a massive issue with it is platform independency - Windows and Linux shells are greatly different...
Hold on a second, why didn't you put an eula.txt
under the config
directory? It'll get copied to server
?
I just didn't think of it! But regardless, these build hooks would be quite nice. I think platform independency isn't that hard, just execute a file directly. On linux, the desired program (whether it be shell language or anything else) can be set using the shebang, and on windows you can use links or binaries.
How would the config for that work? Could you provide any examples if you can think of any? Thanks!
edit: I think creating an issue for this would be better
Trying to use a
type = "vanilla"
[jar]
section withmc_version = "1.12.2"
leads to the following error on runningmcman build
:I've gotten around this by instead using:
Which works, but also means that I have to manually edit the EULA file before starting the server.
It's nice that the system is flexible enough to support this fix, but the whole situation leads to two things:
echo "eula=true" > eula.txt