Jump to content

Recommended Posts

Posted (edited)

Hi yesterday and days before i usually started server and played with friends. Suddenly today i want to start server and the cmd open and immediately closed i tried this on 1.15.2 forge also on 1.12.2 and nothing i using this code or what is it called

REM Don't edit these values unless you know what you are doing.
set INSTALL_JAR=forge-1.15.2-31.1.19-installer.jar
set SERVER_JAR=forge-1.15.2-31.1.19.jar

REM You can edit these values if you wish.
set MIN_RAM=2048M
set MAX_RAM=8192M
set JAVA_PARAMETERS=-XX:+UseG1GC -Dsun.rmi.dgc.server.gcInterval=2147483646 -XX:+UnlockExperimentalVMOptions -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M -Dfml.readTimeout=180

It worked yesterday please help i reinstaled already java but nothing happend :(

Edit it says 

"no main manifest attribute"

Edited by perecnicek
Posted (edited)
  On 4/11/2020 at 6:32 PM, Ugdhar said:

That code you pasted only sets some environment variables, it doesn't actually execute anything.

Expand  

but it worked i downloaded it from sky factory server pack. And today it started saying this ---> "no main manifest attribute" i runed 4 server on this code and plaied 2 weeks on server

this is the first file:

@echo off

call settings.bat

:start_server
echo Starting 1.15.2 Server...
java -server -Xms%MIN_RAM% -Xmx%MAX_RAM% %JAVA_PARAMETERS% -jar %SERVER_JAR% nogui
exit /B

goto start_server
and the second is this:

REM Don't edit these values unless you know what you are doing.
set INSTALL_JAR=forge-1.15.2-31.1.19-installer.jar
set SERVER_JAR=forge-1.15.2-31.1.19.jar

REM You can edit these values if you wish.
set MIN_RAM=2048M
set MAX_RAM=8192M
set JAVA_PARAMETERS=-XX:+UseG1GC -Dsun.rmi.dgc.server.gcInterval=2147483646 -XX:+UnlockExperimentalVMOptions -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M -Dfml.readTimeout=180

Edited by perecnicek
Posted

Ok, so what you will probably want to do is open a command prompt or powershell window and run that "first file" from the commandline, and it will theoretically not just close on you so you can see what the actual error is saying.

Hold shift and right-click in a blank spot in the folder that bat file is in, and you should get the option to open the powershell or command window there.

Posted
  On 4/11/2020 at 6:41 PM, Ugdhar said:

Ok, so what you will probably want to do is open a command prompt or powershell window and run that "first file" from the commandline, and it will theoretically not just close on you so you can see what the actual error is saying.

Hold shift and right-click in a blank spot in the folder that bat file is in, and you should get the option to open the powershell or command window there.

Expand  

I have opned power shell how can i run that file ? i mean the command for that

Posted (edited)
  On 4/11/2020 at 6:52 PM, Ugdhar said:

what is the filename of your "first file" you pasted above? If it is called startserver.bat then you would type .\startserver.bat

Expand  

I got this

image.thumb.png.4d89a8e649c9733258442ff6667ef9f1.png

But this server is old few week how could this happend ?

Edited by perecnicek
Posted
  On 4/11/2020 at 6:54 PM, perecnicek said:

But this server is old few week how could this happend ?

Expand  

I have no idea, unless things were moved into a new folder or files were removed. Those would be the only 2 things I would thing would do that. Sorry. :(

Posted

It's sounding like you grabbed a couple scripts out of a modpack's server zip and are using them globally as server management scripts. which is not recommended.

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

Posted

The intended use is to run Forge's installer manually and then start the server with a command or a script.

I know this might sound like the same procedure you're already doing, but the scripts you have now have a couple extra bells and whistles that try to automate things for you and might actually make it worse when things go wrong.

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

Posted
  On 4/11/2020 at 7:16 PM, DaemonUmbra said:

The intended use is to run Forge's installer manually and then start the server with a command or a script.

I know this might sound like the same procedure you're already doing, but the scripts you have now have a couple extra bells and whistles that try to automate things for you and might actually make it worse when things go wrong.

Expand  

Okay i try that way but why i cant run older server ? which worked for 2-3 weeks

Posted
  On 4/11/2020 at 7:16 PM, DaemonUmbra said:

The intended use is to run Forge's installer manually and then start the server with a command or a script.

I know this might sound like the same procedure you're already doing, but the scripts you have now have a couple extra bells and whistles that try to automate things for you and might actually make it worse when things go wrong.

Expand  

I dit it like you said and now i using this code from wiki java -jar forge-1.12.2-14.23.5.2852-installer.jar --installServer and dont work

Posted

Saying it "dont work" is the equivalent of telling the Doctor "It hurts".

In addition, 1.12.2 isn't supported here anymore.

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

Posted

Yes, however I'm not going to help you fix a server that's out of support

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

Posted (edited)

No entiendo por qué dicen "1.12.2 ya no es compatible aquí" si han lanzado nuevas versiones de forge hace menos de una semana, ¿qué razón hay para actualizar? ¿Puedes proporcionar una lista de cambios? ¿Qué error soluciona?

Screenshot_8.thumb.png.6ae313a5ab20db3316447ab602d36b07.png

Edited by HeberonYT
Posted

Please keep this forum in English.

 

Those updates actually have no changes from a Player's perspective, they have been updated to the same toolset used by the more modern branches so mod devs who ignore our advice about updating will stop complaining when the old toolset breaks.

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.