Jump to content

Recommended Posts

Posted

Once I've made a server package how would I make a server for my modpack? Would I need to portforward and such? Please go into detail, thanks

  • Moderators
Posted

If you are running it on a computer at home, then yes, you need to portforward TCP or both TCP/UDP to whatever the internal LAN IP of your server, at whatever port you chose (25565 is the default). If your server computer has a firewall, add exceptions for that port too in your computer's firewall software. 

  • Moderators
Posted (edited)

did you rename the forge universal in your server's  clientpack /bin folder to modpack.jar? (If Windows is hiding file extensions, either unhide them or just name it modpack)

Edited by AetherPirate
  • Moderators
Posted (edited)

yes, put the forge universal in there, renamed as I noted 

 

Actually, that's just for client packs. Server packs should have the forge universal at the root, and have a start.bat that calls it with arguments to set memory. 

Edited by AetherPirate
Posted

Could I get the required text for the .bat file for 64 bit java, version 1.7.10 forge

[15:57:51 INFO]: Starting minecraft server version 1.7.10
[15:57:51 WARN]: To start the server with more ram, launch it as "java -Xmx1024M -Xms1024M -jar minecraft_server.jar"
[15:57:51 INFO]: Loading properties
[15:57:51 ERROR]: Exception handling console input
java.io.IOException: The handle is invalid
    at java.io.FileInputStream.readBytes(Native Method) ~[?:1.8.0_111]
    at java.io.FileInputStream.read(Unknown Source) ~[?:1.8.0_111]
    at java.io.BufferedInputStream.read1(Unknown Source) ~[?:1.8.0_111]
    at java.io.BufferedInputStream.read(Unknown Source) ~[?:1.8.0_111]
    at sun.nio.cs.StreamDecoder.readBytes(Unknown Source) ~[?:1.8.0_111]
    at sun.nio.cs.StreamDecoder.implRead(Unknown Source) ~[?:1.8.0_111]
    at sun.nio.cs.StreamDecoder.read(Unknown Source) ~[?:1.8.0_111]
    at java.io.InputStreamReader.read(Unknown Source) ~[?:1.8.0_111]
    at java.io.BufferedReader.fill(Unknown Source) ~[?:1.8.0_111]
    at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_111]
    at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_111]
    at lv.run(SourceFile:79) [server.jar:?]
[15:57:51 INFO]: Default game type: SURVIVAL
[15:57:51 INFO]: Generating keypair
[15:57:52 INFO]: Starting Minecraft server on 192.168.1.2:25565
[15:57:52 INFO]: Preparing level "world"
[15:57:52 INFO]: Preparing start region for level 0
[15:57:53 INFO]: Preparing spawn area: 38%
[15:57:54 INFO]: Preparing spawn area: 99%
[15:57:55 INFO]: Done (2.169s)! For help, type "help" or "?"

 

^ Server log and chat

serverfile.PNG

EULA Is set to true btw

modpack.jar is 1.7.10 universal forge

[16:18:51 WARN]: Failed to handle packet for /192.168.1.2:58720
java.util.NoSuchElementException: splitter
    at io.netty.channel.DefaultChannelPipeline.getContextOrDie(DefaultChannelPipeline.java:905) ~[server.jar:?]
    at io.netty.channel.DefaultChannelPipeline.addBefore(DefaultChannelPipeline.java:160) ~[server.jar:?]
    at io.netty.channel.DefaultChannelPipeline.addBefore(DefaultChannelPipeline.java:153) ~[server.jar:?]
    at ej.a(SourceFile:254) ~[server.jar:?]
    at nn.a(SourceFile:135) ~[server.jar:?]
    at jx.a(SourceFile:39) ~[server.jar:?]
    at jx.a(SourceFile:12) ~[server.jar:?]
    at ej.a(SourceFile:174) ~[server.jar:?]
    at nc.c(SourceFile:134) [server.jar:?]
    at net.minecraft.server.MinecraftServer.v(SourceFile:540) [server.jar:?]
    at lt.v(SourceFile:275) [server.jar:?]
    at net.minecraft.server.MinecraftServer.u(SourceFile:453) [server.jar:?]
    at net.minecraft.server.MinecraftServer.run(SourceFile:369) [server.jar:?]
    at lj.run(SourceFile:628) [server.jar:?]
[16:18:51 WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 27265ms behind, skipping 545 tick(s)
[16:18:51 INFO]: com.mojang.authlib.GameProfile@bb709b[id=<null>,name=CovertOperation,properties={},legacy=false] (/192.168.1.2:58720) lost connection: Disconnected

^ server chat and log AFTER trying to connect to server but timing out

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...