Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Forge-1.16.5-36.1.0 don't seem to look at mods directory (Mac Server only)


BenTheLost
 Share

Recommended Posts

I installed a minecraft on a macbook, and got it all working under Forge, final test being that I can connect with a forge client of the same version and it all loads OK, as long as there are no mods. If I have any mods on the client it fails. So I have been trying to put the same mods on the server, but it seems like the server just isn't even looking for the mods. 

I've tried to provide all info, especially 

  1. Server version
  2. Location
  3. Settings 

 

The install is a clean forge install. It is located in 

/Users/benmusic/Library/Application Support/minecraft (Same as a client install)

created a mod directory in the same directory (Installer did not create it automatically):

Quote

drwxr-xr-x  10 benmusic  staff       320 21 Mar 11:50 mods/

 

And in there I put a number of mods 

Quote

 

UNKNOWN:mods benmusic$ ls -altr

total 39144

-rw-r--r--@  1 benmusic  staff     6148 21 Mar 11:49 .DS_Store

-rw-r--r--@  1 benmusic  staff  3354610 21 Mar 11:50 BiomesOPlenty-1.16.4-13.0.0.432-universal.jar

-rw-r--r--@  1 benmusic  staff  6543172 21 Mar 11:50 create-mc1.16.3_v0.3e.jar

-rw-r--r--@  1 benmusic  staff  6831133 21 Mar 11:50 journeymap-1.16.5-5.7.1.jar

-rw-r--r--@  1 benmusic  staff   791032 21 Mar 11:50 pamhc2crops-1.16.3-1.0.1.jar

-rw-r--r--@  1 benmusic  staff   328828 21 Mar 11:50 pamhc2foodcore-1.16.3-1.0.2.jar

-rw-r--r--@  1 benmusic  staff   805390 21 Mar 11:50 pamhc2foodextended-1.16.3-1.0.1.jar

drwxr-xr-x  10 benmusic  staff      320 21 Mar 11:50 .

-rw-r--r--@  1 benmusic  staff   525796 21 Mar 11:50 pamhc2trees-1.16.3-1.0.0.jar

drwxr-xr-x  26 benmusic  staff      832 21 Mar 12:14 ..

UNKNOWN:mods benmusic$ 

 

I start the server with the following command in the install directory:

Quote

java -Xmx2048M -Xms2048M -jar minecraft_server.1.16.5.jar

The server starts, but I can see no indication that it loads any mods or even looks for them:

Quote

[13:04:50] [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'

[13:04:51] [main/WARN]: Ambiguity between arguments [teleport, destination] and [teleport, targets] with inputs: [Player, 0123, @e, dd12be42-52a9-4a91-a8a1-11c01849e498]

[13:04:51] [main/WARN]: Ambiguity between arguments [teleport, location] and [teleport, destination] with inputs: [0.1 -0.5 .9, 0 0 0]

[13:04:51] [main/WARN]: Ambiguity between arguments [teleport, location] and [teleport, targets] with inputs: [0.1 -0.5 .9, 0 0 0]

[13:04:51] [main/WARN]: Ambiguity between arguments [teleport, targets] and [teleport, destination] with inputs: [Player, 0123, dd12be42-52a9-4a91-a8a1-11c01849e498]

[13:04:51] [main/WARN]: Ambiguity between arguments [teleport, targets, location] and [teleport, targets, destination] with inputs: [0.1 -0.5 .9, 0 0 0]

[13:04:51] [main/INFO]: Reloading ResourceManager: Default

[13:04:52] [Worker-Main-14/INFO]: Loaded 7 recipes

[13:04:52] [Worker-Main-14/INFO]: Loaded 927 advancements

[13:04:57] [Server thread/INFO]: Starting minecraft server version 1.16.5

[13:04:57] [Server thread/INFO]: Loading properties

[13:04:57] [Server thread/INFO]: Default game type: SURVIVAL

[13:04:57] [Server thread/INFO]: Generating keypair

[13:04:57] [Server thread/INFO]: Starting Minecraft server on 192.168.0.2:25565

[13:04:57] [Server thread/INFO]: Using default channel type

[13:04:57] [Server thread/INFO]: Preparing level "world"

[13:04:57] [Server thread/INFO]: Preparing start region for dimension minecraft:overworld

[13:04:59] [Server thread/INFO]: Preparing spawn area: 0%

[13:04:59] [Server thread/INFO]: Preparing spawn area: 0%

[13:04:59] [Server thread/INFO]: Preparing spawn area: 0%

[13:04:59] [Server thread/INFO]: Preparing spawn area: 0%

[13:04:59] [Server thread/INFO]: Preparing spawn area: 0%

[13:05:05] [Worker-Main-13/INFO]: Preparing spawn area: 83%

[13:05:05] [Worker-Main-8/INFO]: Preparing spawn area: 83%

[13:05:05] [Worker-Main-11/INFO]: Preparing spawn area: 83%

[13:05:05] [Worker-Main-8/INFO]: Preparing spawn area: 83%

[13:05:05] [Worker-Main-11/INFO]: Preparing spawn area: 83%

[13:05:05] [Worker-Main-8/INFO]: Preparing spawn area: 83%

[13:05:05] [Worker-Main-11/INFO]: Preparing spawn area: 83%

[13:05:05] [Worker-Main-11/INFO]: Preparing spawn area: 83%

[13:05:05] [Worker-Main-11/INFO]: Preparing spawn area: 83%

[13:05:05] [Worker-Main-8/INFO]: Preparing spawn area: 83%

[13:05:05] [Worker-Main-11/INFO]: Preparing spawn area: 83%

[13:05:05] [Worker-Main-12/INFO]: Preparing spawn area: 83%

[13:05:06] [Worker-Main-9/INFO]: Preparing spawn area: 83%

[13:05:06] [Worker-Main-14/INFO]: Preparing spawn area: 83%

[13:05:07] [Worker-Main-13/INFO]: Preparing spawn area: 83%

[13:05:07] [Worker-Main-11/INFO]: Preparing spawn area: 83%

[13:05:08] [Worker-Main-8/INFO]: Preparing spawn area: 83%

[13:05:08] [Worker-Main-8/INFO]: Preparing spawn area: 83%

[13:05:09] [Worker-Main-13/INFO]: Preparing spawn area: 83%

[13:05:09] [Worker-Main-14/INFO]: Preparing spawn area: 83%

[13:05:10] [Worker-Main-9/INFO]: Preparing spawn area: 83%

[13:05:10] [Worker-Main-12/INFO]: Preparing spawn area: 84%

[13:05:11] [Worker-Main-9/INFO]: Preparing spawn area: 84%

[13:05:11] [Worker-Main-14/INFO]: Preparing spawn area: 86%

[13:05:12] [Worker-Main-12/INFO]: Preparing spawn area: 89%

[13:05:12] [Worker-Main-9/INFO]: Preparing spawn area: 89%

[13:05:13] [Worker-Main-12/INFO]: Preparing spawn area: 91%

[13:05:14] [Server thread/INFO]: Preparing spawn area: 94%

[13:05:14] [Server thread/INFO]: Time elapsed: 16759 ms

[13:05:14] [Server thread/INFO]: Done (16.859s)! For help, type "help"

 

I can't figure out how to get the server to tell me exact version

I copied in the server.properties (got that by using the init command, only changes are bound to IP and name)

server.properties

Link to comment
Share on other sites

Now I feel rather silly, must have missed that in the instructions, and when I tried I get an error

java -Xmx2048M -Xms2048M -jar forge-1.16.5-36.1.0.jar nogui

 

 

[14:00:22] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmlserver, --fml.forgeVersion, 36.1.0, --fml.mcpVersion, 20210115.111550, --fml.mcVersion, 1.16.5, --fml.forgeGroup, net.minecraftforge, nogui]
[14:00:22] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 8.0.9+86+master.3cf110c starting: java version 16 by Oracle Corporation
Exception in thread "main" java.lang.IllegalAccessError: class cpw.mods.modlauncher.SecureJarHandler (in unnamed module @0x4ccc0db7) cannot access class sun.security.util.ManifestEntryVerifier (in module java.base) because module java.base does not export sun.security.util to unnamed module @0x4ccc0db7
	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)

And think its right java

java -version

java version "16" 2021-03-16

Java(TM) SE Runtime Environment (build 16+36-2231)

Java HotSpot(TM) 64-Bit Server VM (build 16+36-2231, mixed mode, sharing)

Link to comment
Share on other sites

Just wanted so say a massive thank you!

 

Installing Java 15 and starting the correct Jar resolved the issue (seems obvious, but think I found all the less useful instructions, sorry about that)

 

The script with the below line did the trick for me on a mac 

export JAVA_HOME=$(/usr/libexec/java_home -v 15.0.1)

java -Xmx2048M -Xms2048M -jar forge-1.16.5-36.1.0.jar 

Link to comment
Share on other sites

  • 3 months later...

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

 Share



×
×
  • Create New...

Important Information

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