Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

hey there, I would be glad if someone could help.

I am tryin to host a modded server in 1.16.5 with the recommended forge version but the mods don't load. I tried multiple version of the server in 1.16.5 and nothing seams to work. When I try to start the server with " forge-1.16.5-36.2.20.jar " there is nothing happening  but the vanilla server work. when I downloaded the server the only files where libraries and logs so I added myself the mods folder. When I log in the vanilla server I can see all the mods in my inventory but the blocs can't be placed and the items can be dropped but don't appear in the world. Its like if the mod launcher don't work

the modded structure don't load to

 

Here is the log when I try to start the server with forge-1.16.5-36.2.20.jar

[07Jan.2022 10:09:26.273] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmlserver, --fml.forgeVersion, 36.2.20, --fml.mcpVersion, 20210115.111550, --fml.mcVersion, 1.16.5, --fml.forgeGroup, net.minecraftforge]
[07Jan.2022 10:09:26.275] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 8.0.9+86+master.3cf110c starting: java version 17.0.1 by Oracle Corporation

 

Here is the log when I start the vanilla server

[10:11:39] [main/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
[10:11:40] [main/WARN]: Ambiguity between arguments [teleport, destination] and [teleport, targets] with inputs: [Player, 0123, @e, dd12be42-52a9-4a91-a8a1-11c01849e498]
[10:11:40] [main/WARN]: Ambiguity between arguments [teleport, location] and [teleport, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[10:11:40] [main/WARN]: Ambiguity between arguments [teleport, location] and [teleport, targets] with inputs: [0.1 -0.5 .9, 0 0 0]
[10:11:40] [main/WARN]: Ambiguity between arguments [teleport, targets] and [teleport, destination] with inputs: [Player, 0123, dd12be42-52a9-4a91-a8a1-11c01849e498]
[10:11:40] [main/WARN]: Ambiguity between arguments [teleport, targets, location] and [teleport, targets, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[10:11:40] [main/INFO]: Reloading ResourceManager: Default
[10:11:41] [Worker-Main-11/INFO]: Loaded 7 recipes
[10:11:41] [Worker-Main-11/INFO]: Loaded 927 advancements
[10:11:44] [Server thread/INFO]: Starting minecraft server version 1.16.5
[10:11:44] [Server thread/INFO]: Loading properties
[10:11:44] [Server thread/INFO]: Default game type: CREATIVE
[10:11:44] [Server thread/INFO]: Generating keypair
[10:11:44] [Server console handler/ERROR]: Exception handling console input
java.io.IOException: The handle is invalid
    at java.io.FileInputStream.readBytes(Native Method) ~[?:?]
    at java.io.FileInputStream.read(FileInputStream.java:276) ~[?:?]
    at java.io.BufferedInputStream.read1(BufferedInputStream.java:282) ~[?:?]
    at java.io.BufferedInputStream.read(BufferedInputStream.java:343) ~[?:?]
    at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:270) ~[?:?]
    at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:313) ~[?:?]
    at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:188) ~[?:?]
    at java.io.InputStreamReader.read(InputStreamReader.java:177) ~[?:?]
    at java.io.BufferedReader.fill(BufferedReader.java:162) ~[?:?]
    at java.io.BufferedReader.readLine(BufferedReader.java:329) ~[?:?]
    at java.io.BufferedReader.readLine(BufferedReader.java:396) ~[?:?]
    at zg$1.run(SourceFile:95) [minecraft_server.1.16.5.jar:?]
[10:11:44] [Server thread/INFO]: Starting Minecraft server on *:25565
[10:11:44] [Server thread/INFO]: Using default channel type
[10:11:45] [Server thread/INFO]: Preparing level "world"
[10:11:45] [Server thread/INFO]: Preparing start region for dimension minecraft:overworld
[10:11:47] [Server thread/INFO]: Preparing spawn area: 0%
[10:11:47] [Server thread/INFO]: Preparing spawn area: 0%
[10:11:47] [Server thread/INFO]: Preparing spawn area: 0%
[10:11:47] [Server thread/INFO]: Preparing spawn area: 0%
[10:11:48] [Server thread/INFO]: Preparing spawn area: 0%
[10:11:48] [Server thread/INFO]: Preparing spawn area: 0%
[10:11:54] [Worker-Main-14/INFO]: Preparing spawn area: 83%
[10:11:54] [Worker-Main-13/INFO]: Preparing spawn area: 83%
[10:11:54] [Worker-Main-8/INFO]: Preparing spawn area: 83%
[10:11:54] [Worker-Main-13/INFO]: Preparing spawn area: 83%
[10:11:54] [Worker-Main-10/INFO]: Preparing spawn area: 83%
[10:11:54] [Worker-Main-12/INFO]: Preparing spawn area: 83%
[10:11:54] [Worker-Main-14/INFO]: Preparing spawn area: 83%
[10:11:54] [Worker-Main-14/INFO]: Preparing spawn area: 83%
[10:11:54] [Worker-Main-11/INFO]: Preparing spawn area: 83%
[10:11:54] [Worker-Main-14/INFO]: Preparing spawn area: 83%
[10:11:54] [Worker-Main-8/INFO]: Preparing spawn area: 83%
[10:11:54] [Worker-Main-12/INFO]: Preparing spawn area: 83%
[10:11:54] [Worker-Main-8/INFO]: Preparing spawn area: 95%
[10:11:55] [Worker-Main-13/INFO]: Preparing spawn area: 95%
[10:11:55] [Worker-Main-12/INFO]: Preparing spawn area: 96%
[10:11:56] [Server thread/INFO]: Time elapsed: 10314 ms
[10:11:56] [Server thread/INFO]: Done (10.528s)! For help, type "help"
[10:11:56] [Server thread/INFO]: Stopping the server
[10:11:56] [Server thread/INFO]: Stopping server
[10:11:56] [Server thread/INFO]: Saving players
[10:11:56] [Server thread/INFO]: Saving worlds
[10:11:56] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:overworld
[10:11:57] [Server thread/INFO]: ThreadedAnvilChunkStorage (world): All chunks are saved
[10:11:57] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_nether
[10:11:57] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
[10:11:57] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_end
[10:11:57] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
[10:11:57] [Server thread/INFO]: ThreadedAnvilChunkStorage (world): All chunks are saved
[10:11:57] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
[10:11:57] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
 

 

 

  • Author

I downloaded java 8 instead of the one I had but the server still don't load the mod here is my log

 

[10:42:39] [main/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
[10:42:40] [main/WARN]: Ambiguity between arguments [teleport, destination] and [teleport, targets] with inputs: [Player, 0123, @e, dd12be42-52a9-4a91-a8a1-11c01849e498]
[10:42:40] [main/WARN]: Ambiguity between arguments [teleport, location] and [teleport, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[10:42:40] [main/WARN]: Ambiguity between arguments [teleport, location] and [teleport, targets] with inputs: [0.1 -0.5 .9, 0 0 0]
[10:42:40] [main/WARN]: Ambiguity between arguments [teleport, targets] and [teleport, destination] with inputs: [Player, 0123, dd12be42-52a9-4a91-a8a1-11c01849e498]
[10:42:40] [main/WARN]: Ambiguity between arguments [teleport, targets, location] and [teleport, targets, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[10:42:40] [main/INFO]: Reloading ResourceManager: Default
[10:42:40] [Worker-Main-12/INFO]: Loaded 7 recipes
[10:42:41] [Worker-Main-12/INFO]: Loaded 927 advancements
[10:42:44] [Server thread/INFO]: Starting minecraft server version 1.16.5
[10:42:44] [Server thread/INFO]: Loading properties
[10:42:44] [Server thread/INFO]: Default game type: CREATIVE
[10:42:44] [Server thread/INFO]: Generating keypair
[10:42:44] [Server console handler/ERROR]: Exception handling console input
java.io.IOException: The handle is invalid
    at java.io.FileInputStream.readBytes(Native Method) ~[?:?]
    at java.io.FileInputStream.read(FileInputStream.java:276) ~[?:?]
    at java.io.BufferedInputStream.read1(BufferedInputStream.java:282) ~[?:?]
    at java.io.BufferedInputStream.read(BufferedInputStream.java:343) ~[?:?]
    at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:270) ~[?:?]
    at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:313) ~[?:?]
    at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:188) ~[?:?]
    at java.io.InputStreamReader.read(InputStreamReader.java:177) ~[?:?]
    at java.io.BufferedReader.fill(BufferedReader.java:162) ~[?:?]
    at java.io.BufferedReader.readLine(BufferedReader.java:329) ~[?:?]
    at java.io.BufferedReader.readLine(BufferedReader.java:396) ~[?:?]
    at zg$1.run(SourceFile:95) [minecraft_server.1.16.5.jar:?]
[10:42:44] [Server thread/INFO]: Starting Minecraft server on *:25565
[10:42:44] [Server thread/INFO]: Using default channel type
[10:42:44] [Server thread/INFO]: Preparing level "world"
[10:42:45] [Server thread/INFO]: Preparing start region for dimension minecraft:overworld
[10:42:46] [Server thread/INFO]: Preparing spawn area: 0%
[10:42:46] [Server thread/INFO]: Preparing spawn area: 0%
[10:42:46] [Server thread/INFO]: Preparing spawn area: 0%
[10:42:46] [Server thread/INFO]: Preparing spawn area: 0%
[10:42:47] [Server thread/INFO]: Preparing spawn area: 47%
[10:42:47] [Server thread/INFO]: Preparing spawn area: 47%
[10:42:52] [Worker-Main-13/INFO]: Preparing spawn area: 83%
[10:42:52] [Worker-Main-12/INFO]: Preparing spawn area: 83%
[10:42:52] [Worker-Main-13/INFO]: Preparing spawn area: 83%
[10:42:52] [Worker-Main-9/INFO]: Preparing spawn area: 83%
[10:42:52] [Worker-Main-13/INFO]: Preparing spawn area: 83%
[10:42:52] [Worker-Main-13/INFO]: Preparing spawn area: 83%
[10:42:52] [Worker-Main-10/INFO]: Preparing spawn area: 83%
[10:42:52] [Worker-Main-14/INFO]: Preparing spawn area: 83%
[10:42:52] [Worker-Main-10/INFO]: Preparing spawn area: 83%
[10:42:52] [Worker-Main-13/INFO]: Preparing spawn area: 83%
[10:42:53] [Worker-Main-11/INFO]: Preparing spawn area: 83%
[10:42:53] [Worker-Main-8/INFO]: Preparing spawn area: 83%
[10:42:54] [Server thread/INFO]: Preparing spawn area: 84%
[10:42:54] [Worker-Main-10/INFO]: Preparing spawn area: 91%
[10:42:54] [Server thread/INFO]: Time elapsed: 9808 ms
[10:42:54] [Server thread/INFO]: Done (9.984s)! For help, type "help"
[10:43:06] [User Authenticator #1/INFO]: UUID of player Lucas2k5 is 549039a1-4bd8-4954-9182-4ddc14390b64
[10:43:06] [Server thread/INFO]: Lucas2k5[/192.168.87.1:64067] logged in with entity id 210 at (189.5, 63.0, 30.5)
[10:43:06] [Server thread/INFO]: Lucas2k5 joined the game
[10:43:33] [Server thread/INFO]: Lucas2k5 lost connection: Disconnected
[10:43:33] [Server thread/INFO]: Lucas2k5 left the game
[10:43:38] [Server thread/INFO]: Stopping the server
[10:43:38] [Server thread/INFO]: Stopping server
[10:43:38] [Server thread/INFO]: Saving players
[10:43:38] [Server thread/INFO]: Saving worlds
[10:43:38] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:overworld
[10:43:38] [Server thread/INFO]: ThreadedAnvilChunkStorage (world): All chunks are saved
[10:43:38] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_nether
[10:43:38] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
[10:43:38] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_end
[10:43:38] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
[10:43:38] [Server thread/INFO]: ThreadedAnvilChunkStorage (world): All chunks are saved
[10:43:38] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
[10:43:38] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved

 

the forge-1.16.5-36.2.20.jar can't load when I launch it so the log is from the vanilla server

Edited by lucasfrederic2k5

  • Author

when I try to launch the forge-1.16.5-36.2.20.jar my mouse icon is saying that something is loading but nothing appear I waited like 5-6 min but i have an i7 and 16gb of ram

  • Author

I think I have the wrong command

 

C:\Users\lucas>java -Xmx1024M -Xms1024M -jar
Error: -jar requires jar file specification
Usage: java [options] <mainclass> [args...]
           (to execute a class)
   or  java [options] -jar <jarfile> [args...]
           (to execute a jar file)
   or  java [options] -m <module>[/<mainclass>] [args...]
       java [options] --module <module>[/<mainclass>] [args...]
           (to execute the main class in a module)
   or  java [options] <sourcefile> [args]
           (to execute a single source-file program)

 Arguments following the main class, source file, -jar <jarfile>,
 -m or --module <module>/<mainclass> are passed as the arguments to
 main class.

 where options include:

    -cp <class search path of directories and zip/jar files>
    -classpath <class search path of directories and zip/jar files>
    --class-path <class search path of directories and zip/jar files>
                  A ; separated list of directories, JAR archives,
                  and ZIP archives to search for class files.
    -p <module path>
    --module-path <module path>...
                  A ; separated list of directories, each directory
                  is a directory of modules.
    --upgrade-module-path <module path>...
                  A ; separated list of directories, each directory
                  is a directory of modules that replace upgradeable
                  modules in the runtime image
    --add-modules <module name>[,<module name>...]
                  root modules to resolve in addition to the initial module.
                  <module name> can also be ALL-DEFAULT, ALL-SYSTEM,
                  ALL-MODULE-PATH.
    --enable-native-access <module name>[,<module name>...]
                  modules that are permitted to perform restricted native operations.
                  <module name> can also be ALL-UNNAMED.
    --list-modules
                  list observable modules and exit
    -d <module name>
    --describe-module <module name>
                  describe a module and exit
    --dry-run     create VM and load main class but do not execute main method.
                  The --dry-run option may be useful for validating the
                  command-line options such as the module system configuration.
    --validate-modules
                  validate all modules and exit
                  The --validate-modules option may be useful for finding
                  conflicts and other errors with modules on the module path.
    -D<name>=<value>
                  set a system property
    -verbose:[class|module|gc|jni]
                  enable verbose output for the given subsystem
    -version      print product version to the error stream and exit
    --version     print product version to the output stream and exit
    -showversion  print product version to the error stream and continue
    --show-version
                  print product version to the output stream and continue
    --show-module-resolution
                  show module resolution output during startup
    -? -h -help
                  print this help message to the error stream
    --help        print this help message to the output stream
    -X            print help on extra options to the error stream
    --help-extra  print help on extra options to the output stream
    -ea[:<packagename>...|:<classname>]
    -enableassertions[:<packagename>...|:<classname>]
                  enable assertions with specified granularity
    -da[:<packagename>...|:<classname>]
    -disableassertions[:<packagename>...|:<classname>]
                  disable assertions with specified granularity
    -esa | -enablesystemassertions
                  enable system assertions
    -dsa | -disablesystemassertions
                  disable system assertions
    -agentlib:<libname>[=<options>]
                  load native agent library <libname>, e.g. -agentlib:jdwp
                  see also -agentlib:jdwp=help
    -agentpath:<pathname>[=<options>]
                  load native agent library by full pathname
    -javaagent:<jarpath>[=<options>]
                  load Java programming language agent, see java.lang.instrument
    -splash:<imagepath>
                  show splash screen with specified image
                  HiDPI scaled images are automatically supported and used
                  if available. The unscaled image filename, e.g. image.ext,
                  should always be passed as the argument to the -splash option.
                  The most appropriate scaled image provided will be picked up
                  automatically.
                  See the SplashScreen API documentation for more information
    @argument files
                  one or more argument files containing options
    -disable-@files
                  prevent further argument file expansion
    --enable-preview
                  allow classes to depend on preview features of this release
To specify an argument for a long option, you can use --<name>=<value> or
--<name> <value>.
 

 

Edited by lucasfrederic2k5

  • Author

I found the command

 

C:\Users\lucas\OneDrive\Desktop\working server>java -jar forge-1.16.5-36.2.20.jar
2022-01-07 14:23:25,746 main WARN Advanced terminal features are not available in this environment
[14:23:25] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmlserver, --fml.forgeVersion, 36.2.20, --fml.mcpVersion, 20210115.111550, --fml.mcVersion, 1.16.5, --fml.forgeGroup, net.minecraftforge]
[14:23:25] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 8.0.9+86+master.3cf110c starting: java version 17.0.1 by Oracle Corporation
Exception in thread "main" java.lang.IllegalAccessError: class cpw.mods.modlauncher.SecureJarHandler (in unnamed module @0xadd0edd) cannot access class sun.security.util.ManifestEntryVerifier (in module java.base) because module java.base does not export sun.security.util to unnamed module @0xadd0edd
        at cpw.mods.modlauncher.SecureJarHandler.lambda$static$1(SecureJarHandler.java:41)
        at cpw.mods.modlauncher.api.LamdbaExceptionUtils.uncheck(LamdbaExceptionUtils.java:95)
        at cpw.mods.modlauncher.SecureJarHandler.<clinit>(SecureJarHandler.java:41)
        at cpw.mods.modlauncher.Launcher.lambda$new$6(Launcher.java:55)
        at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1708)
        at cpw.mods.modlauncher.api.TypesafeMap.computeIfAbsent(TypesafeMap.java:52)
        at cpw.mods.modlauncher.api.TypesafeMap.computeIfAbsent(TypesafeMap.java:47)
        at cpw.mods.modlauncher.Environment.computePropertyIfAbsent(Environment.java:62)
        at cpw.mods.modlauncher.Launcher.<init>(Launcher.java:55)
        at cpw.mods.modlauncher.Launcher.main(Launcher.java:66)
        at net.minecraftforge.server.ServerMain$Runner.runLauncher(ServerMain.java:63)
        at net.minecraftforge.server.ServerMain$Runner.access$100(ServerMain.java:60)
        at net.minecraftforge.server.ServerMain.main(ServerMain.java:57)
 

Edited by lucasfrederic2k5

Minecraft 1.16 requires java 8-15, you currently using java 17,
downgrade your java to 8-15 and the problem should be fixed.

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.