Minecraft Server Start.bat closes immediately?

Ne
- in Servers
29

I want to do a Minecraft server, but I can't open the Start.bat. It closes again immediately. What should I do?

Me
-1

Send us the output of the file "latest.log" in the subfolder "logs"

Ca
1

Open the command prompt and then do the Start.bat then you can see the error, otherwise look in the latest.log.

Qu
-11

What is in the start.bat? Without that nobody can help you. What kind of server is that? Why does nobody ever give details here? You can also tell the doctor that you are in pain. But if you don't say where (!) And describe it, he won't always be able to help you.

Ne

Ok, I'll do it right away

St

Your Start.bat looks like this:

java -Xmx1024M -Xms1024M -jar minecraft_server.1.16.x.jar nogui
Break

is the "break" missing, if so, add some tinkering…

then you may have to edit the eula.txt…

or there are errors because of the lack of Java…

Ne

I checked there was no new latest.log

Ne

So do I have to write the "pause" on it?

St

It makes sense as long as you have errors, because this leaves the CMD open and you see the error… (until you press the space bar or something else)

Ne

Ok, I'll try

Me

You have appended errors from the output, do you have more than 6GB of RAM on your computer? Change the first value to 2G and try again.

Ne

Yes, I have 8GB

Ok, I'll try

Ne

Ok i try

St

According to your pictures, you allocated too much memory…

You can't allocate more memory than the computer even has…

And you need the 64 bit version of Java to assign more than 3G…

Ne

I have already assigned 2G. DOES NOT WORK

St

How much RAM does the computer have on which the server is running?

Ne

8G

St

And, is Windows running there or is it a Linux computer without a surface?

Ne

Windows runs normally. Got HP

St

Well, Windows needs at least 4 GB to run… That leaves 4 GB left…

How many pages do you have open in Explorer? And which programs are running on the side?

All of this needs RAM, there's almost nothing left for the server…

Assign 1 GB and try to start with it…

And be sure to install Java 64 bit…

Send me the server, then I'll try it on myself…

I have 64GB of RAM left.

Ne
-1

Here the server: https://www.curseforge.com/...ve-2/files

With additional files from Blizzor96

St

So it works for me, here the https://1drv.ms/u/s!AtGvQjACjCY-t1jaA2_3kyuvE1Ml?e=9JLxpD and here the https://1drv.ms/u/s!AtGvQjACjCY-t1mV_Y6LwOYpEJtM?e=Y48z3Y, after I clicked Install. With the same settings as yours…

Ne

Install worked but didn't start…

St

Then it's up to your PC. If you want it to work, I have to answer it with Teamviewer… Then we should arrange to meet for a support session.

Ne

We can't make appointments. But you can maybe send me a page or just write me how to do it, whatever that is…

St

To do this, I have to remotely control your PC… There's no page where that is written…

Teamviewer is an official program that I use to support other people - and I do it professionally… And for the doubters, yes, I have the license…

Ne

Ok sometime…

I do not know

St

Your thing, I ran it in 5 minutes

Since I can't look into your PC via the text here, further support is difficult…

Everyone will agree…

Download the finished server, I've already zipped it and linked it…

Try it out and let me know… If this works for you, then there's an error in your server…

You can start directly from the directory…

Ne

Yes…

St

So, if you are doing what you hopefully have to go down, then the fault lies in what you have with you…

I hope that I have interpreted your "yes" correctly…

Help with a Start.bat file? He Healthyfinger