Jump to content

Safe mode


Recommended Posts

In testing mods for a unrelated issue (Other post for more context) I am getting the message "Failed to load datapacks, can't proceed with server load. You can either fix your datapacks or reset to vanilla with --safemode"
the path to the issue doesn't exist, So i'm trying to set the forge server into safemode. However, --Safemode doesn't work in the run.sh file or JVM args and I can't find any information online.

Help appreciated!!!

Link to comment
Share on other sites

Why would you want to use safemode? Reverting to the vanilla datapack will likely stop all your mods from working properly.

As to the real problem, no log = no help

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Link to comment
Share on other sites

Is safemode not reverting the the vanilla datapacks? The console reads "Failed to load datapacks, can't proceed with server load. You can either fix your datapacks or reset to vanilla with --safemode"

I know the issue is that the world used is expecting mods that aren't there (removing batches for testing)
I didn't think the log would be too important here, and it's a hassle to get it off the server PC. Here it is.

https://gist.github.com/Arkaiid/790a99298d8d6120fcab4e8148a1ee84

Link to comment
Share on other sites

You can't remove mods that change world generation and then load a save that used that mod.

The game refuses to do that because it would break the save.

Imagine a mod that provides a new biome and then trying to load a save without that biome.

If you want to test without a worldgen mod, you will need a new/different save.

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Link to comment
Share on other sites

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.



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Firstly, Java 17 is not required for Forge in Minecraft version 1.12.2, instead it can be deadly to run a 1.12.2 server with Java 17, use Java 8!! Use the correct Java 8 path for the server and you should be good to go! For my use, I am using Eclipse Temurin Java, which you can download relatively easy! Here you have my start arguments when starting Forge server 1.12.2! "C:\Program Files\Eclipse Adoptium\jre-8.0.392.8-hotspot\bin\javaw.exe" -Xmx4G -Xms4G -jar forge-1.12.2-14.23.5.2860.jar pause As I am using Java JRE not Java JDK, please use the version that is best for you! With best regards  nicky.gg
    • Hey, sorry about this but i got an error C:\Users\logan\Desktop\1.12.2 Server>"C:\Program Files\Java\jdk-17\bin\java.exe" -Xmx4G -Xms2048M -jar forgeserver.jar A problem occurred running the Server launcher.java.lang.reflect.InvocationTargetException         at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)         at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)         at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)         at java.base/java.lang.reflect.Method.invoke(Method.java:568)         at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:70)         at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:34) Caused by: java.lang.ClassCastException: class jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to class java.net.URLClassLoader (jdk.internal.loader.ClassLoaders$AppClassLoader and java.net.URLClassLoader are in module java.base of loader 'bootstrap')         at net.minecraft.launchwrapper.Launch.<init>(Launch.java:34)         at net.minecraft.launchwrapper.Launch.main(Launch.java:28)         ... 6 more C:\Users\logan\Desktop\1.12.2 Server>pause Press any key to continue . . .
    • Make sure you have Java 17 installed Then create the start.bat file Into it, paste:   "C:\Program Files\Java\jdk-17.0.9\bin\javaw.exe" -Xmx4G -Xms2048M -jar forge-14.23.5.2860.jar pause Keep the quotation marks and make sure the Java path is correct Start the server with the bat file
    • I don't have any mod called 'Registrate', I removed Createdeco and the connector adaptations of the last mods that you advised me to remove and i had the same result again, it still crashes. log crash log the only advance that I got is that now red forge loading screen loads the mods but it crash few seconds later
  • Topics

×
×
  • Create New...

Important Information

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