Hi, I was hoping someone who was a little better at this than me could help me out. Im setting up a fabric server using port forwarding to play cobblemon with just me and a few friends. When I load the fabric instance from the launcher and play single player Cobblemon works as expected. However, when I start up the server it works, but when I get on it no mods seem to be working. The only thing is that when I press M to select a starter pokemon an error pops up in the chat stating "You cannot choose a starter right now" which tells me the mod is there but somehow nonfunctional.
[19:54:58] [ServerMain/INFO]: Environment: Environment[sessionHost=https://sessionserver.mojang.com, servicesHost=https://api.minecraftservices.com, name=PROD]
[19:54:59] [ServerMain/INFO]: Loaded 1290 recipes
[19:54:59] [ServerMain/INFO]: Loaded 1399 advancements
[19:55:00] [Server thread/INFO]: Starting minecraft server version 1.21.1
[19:55:00] [Server thread/INFO]: Loading properties
[19:55:00] [Server thread/INFO]: Default game type: SURVIVAL
[19:55:00] [Server thread/INFO]: Generating keypair
[19:55:00] [Server console handler/ERROR]: Exception handling console input
java.io.IOException: Ugyldig referanse
at java.base/java.io.FileInputStream.readBytes(Native Method) ~[?:?]
at java.base/java.io.FileInputStream.read(FileInputStream.java:328) ~[?:?]
at java.base/java.lang.System$In.read(System.java:2252) ~[?:?]
at java.base/java.io.BufferedInputStream.read1(BufferedInputStream.java:345) ~[?:?]
at java.base/java.io.BufferedInputStream.implRead(BufferedInputStream.java:420) ~[?:?]
at java.base/java.io.BufferedInputStream.read(BufferedInputStream.java:399) ~[?:?]
at java.base/sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:350) ~[?:?]
at java.base/sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:393) ~[?:?]
at java.base/sun.nio.cs.StreamDecoder.lockedRead(StreamDecoder.java:217) ~[?:?]
at java.base/sun.nio.cs.StreamDecoder.read(StreamDecoder.java:171) ~[?:?]
at java.base/java.io.InputStreamReader.read(InputStreamReader.java:190) ~[?:?]
at java.base/java.io.BufferedReader.fill(BufferedReader.java:160) ~[?:?]
at java.base/java.io.BufferedReader.implReadLine(BufferedReader.java:370) ~[?:?]
at java.base/java.io.BufferedReader.readLine(BufferedReader.java:347) ~[?:?]
at java.base/java.io.BufferedReader.readLine(BufferedReader.java:436) ~[?:?]
at apn$1.run(SourceFile:103) [server-1.21.1.jar:?]
[19:55:00] [Server thread/INFO]: Starting Minecraft server on *:25565
[19:55:00] [Server thread/INFO]: Using default channel type
[19:55:00] [Server thread/INFO]: Preparing level "world"
[19:55:00] [Server thread/INFO]: Preparing start region for dimension minecraft:overworld
[19:55:01] [Worker-Main-9/INFO]: Preparing spawn area: 0%
[19:55:01] [Server thread/INFO]: Time elapsed: 225 ms
[19:55:01] [Server thread/INFO]: Done (0.885s)! For help, type "help"
[19:55:05] [Server thread/INFO]: Stopping the server
[19:55:05] [Server thread/INFO]: Stopping server
[19:55:05] [Server thread/INFO]: Saving players
[19:55:05] [Server thread/INFO]: Saving worlds
[19:55:05] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:overworld
[19:55:05] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_nether
[19:55:05] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_end
[19:55:05] [Server thread/INFO]: ThreadedAnvilChunkStorage (world): All chunks are saved
[19:55:05] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
[19:55:05] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
[19:55:05] [Server thread/INFO]: ThreadedAnvilChunkStorage: All dimensions are saved
If there is anything else I should provide just let me know. I currently just have the three mods "architectury-13.0.8-fabric", "Cobblemon-fabric-1.6.0+1.21.1" and "fabric-api-0.114.0+1.21.1" which I run both serverside and clientside.
Hm. When I use the fabric-server-launch.jar file in the same folder nothing appears but a Java(TM) Platform SE binary process starts running which I can see on the taskmaster. It also does not open the server.
In the server property file for the server.jar file I did change level-type=minecraft\:fabric if that matters.
The server.jar is from the Fabric installer, and it says it needs the official Minecraft server jar to run.
I had Java 23. I downloaded and installed Java 21, but that didn't seem to change much. The log seems the same, and the server runs the same. Thank you for your patience.
I did try that one earlier, but it had an even longer error log I was having even more trouble trying to parse, which it has again now that I'm retrying it. I could give it for you to look over, if you'd like:
Thank you, I've gotten the server up on some unshaky legs, able to connect to it through localhost. However I don't have a server console so I don't really know how it is working, and I've met some different problems with trying to get my friends on it despite both setting up port forwarding and letting it through the firewall. I will keep at it, but you've been an immense help.
Hi, I was hoping someone who was a little better at this than me could help me out. Im setting up a fabric server using port forwarding to play cobblemon with just me and a few friends. When I load the fabric instance from the launcher and play single player Cobblemon works as expected. However, when I start up the server it works, but when I get on it no mods seem to be working. The only thing is that when I press M to select a starter pokemon an error pops up in the chat stating "You cannot choose a starter right now" which tells me the mod is there but somehow nonfunctional.
Here is the pastebin with the latest log file:
https://pastebin.com/UjGkQjur
Alternatively here it is below:
If there is anything else I should provide just let me know. I currently just have the three mods "architectury-13.0.8-fabric", "Cobblemon-fabric-1.6.0+1.21.1" and "fabric-api-0.114.0+1.21.1" which I run both serverside and clientside.
Thanks!
This is a vanilla server, not a fabric server - are you sure you start the correct jar file?
>> Link to Curseforge <<
Hm. When I use the fabric-server-launch.jar file in the same folder nothing appears but a Java(TM) Platform SE binary process starts running which I can see on the taskmaster. It also does not open the server.
In the server property file for the server.jar file I did change level-type=minecraft\:fabric if that matters.
The server.jar is from the Fabric installer, and it says it needs the official Minecraft server jar to run.
Do you use Java 21?
>> Link to Curseforge <<
I had Java 23. I downloaded and installed Java 21, but that didn't seem to change much. The log seems the same, and the server runs the same. Thank you for your patience.
Make a test with a pre-configured modpack - there is a server pack available:
https://www.curseforge.com/minecraft/modpacks/cobblemon-fabric/files/6035005/additional-files
>> Link to Curseforge <<
I did try that one earlier, but it had an even longer error log I was having even more trouble trying to parse, which it has again now that I'm retrying it. I could give it for you to look over, if you'd like:
https://pastebin.com/TiKmhmQH
This is what I get after running the start.bat file.
This looks better - but the server is using Java 23 instead of Java 21
Check your java installation and copy the path to the javaw.exe (bin folder)
Replace the word java in your script with the java path and put it into quotation marks
Something lie this:
>> Link to Curseforge <<
Thank you, I've gotten the server up on some unshaky legs, able to connect to it through localhost. However I don't have a server console so I don't really know how it is working, and I've met some different problems with trying to get my friends on it despite both setting up port forwarding and letting it through the firewall. I will keep at it, but you've been an immense help.
Remove the nogui from your startscript
Check this guide:
https://www.hostinger.com/tutorials/how-to-port-forward-a-minecraft-server
If this is still not working, and you are in a smaller group, maybe use tools like Hamachi to create an own network
>> Link to Curseforge <<