Jump to content

Custom Server tutorial


SXScarecrow

Recommended Posts

I've been trying to get a server working with my custom modpack. I added the bin, config, coremods(empty), and mods folders to my server's folder along with the 1.6.4 base server stuff, which is the version my modpack runs on. When I run launch.bat a console opens, it creates the libraries folder and downloads some files into it, then abruptly closes. Some text flashes onto the console for a split second, but it's too fast to read. I see alot of people posting their error messages to this thread, does it save them somewhere? Or does it normally stay open so you can read, copy and paste?

Link to comment
Share on other sites

It's the same issue I have, It's missing library files but I don't know how to fix it, they say to download 20 different files but don't tell you where to put it. Come on guys what's the point of the whole thread if you DON'T TELL US WHERE TO PUT THE FILES!

I've been trying to get a server working with my custom modpack. I added the bin, config, coremods(empty), and mods folders to my server's folder along with the 1.6.4 base server stuff, which is the version my modpack runs on. When I run launch.bat a console opens, it creates the libraries folder and downloads some files into it, then abruptly closes. Some text flashes onto the console for a split second, but it's too fast to read. I see alot of people posting their error messages to this thread, does it save them somewhere? Or does it normally stay open so you can read, copy and paste?
Link to comment
Share on other sites

Yeah, just find the library files missing (it should tell you in the terminal)... This should, as you said, be everywhere...

Now I'd hate to impose, but I still have my server issues of the server not working properly... It's not saving right and generated chunks are cut off abruptly, cutting entire mountains in half and whatnot, I personally don't care but my friends will INEVITABLY complain.

Any ideas? I had one guy say it my be something with access to my world file... but he went dark on me...

Link to comment
Share on other sites

That actually happened to my first single player world that I created back on a rather poor laptop, and has carried through in every transfer I have made of the world save. It would seem, based on this, that it happens because of some sort of corruption or random change in the world seed for generating terrain. Don't hold me to this though.

Link to comment
Share on other sites

Know any way of fixing this... I'm using a desktop that's fairly reasonable... Not lightning fast, but it works... And like I said, the world seed isn't the real issue it's the non-saving chunks.... I can live with block-y biomes, but not having to constantly rebuild my house...

Link to comment
Share on other sites

There's a link in the description of this tutorial:

In the files it gives you it includes a libraries folder. Deleting my libraries and replacing it with that folder seems to have improved things for me, so maybe that will help others with that issue. Now I just need to figure out how to change the version of forge the server uses so that my modpack will be compatible. I'm guessing the server .jar that comes with the 1.6.4 base server .zip comes with forge 9.11.1.935, since the console says that's installed. Is there a way to upgrade it to 9.11.1.953?

Edit: I switched out the .jar with the newest Forge server .jar, that fixed it :)

Link to comment
Share on other sites

Hey I keep getting an error launching the 1.6.4 server

Considering library net,java:jinput:jinput-platform:2.0.5

These libraries failed to download, try again.net.minecraft:launcherwrapper:1.8,

org.ow2.asm-all:4.1, net.sf.jopt-simple:4.5, lzma:0.0.1

We appear to be missing one or more essential library files.

You will need to add them to your server before FML and Forge will run successfully .java.lang.ClassNotFoundException: org.objectweb.asm.Type

at java.net.URLClassLoader$1.run(Unknown Source)

at java.net.URLClassLoader$1.run(Unknown Source)

at java.security.AccessController.doPrivilage(Native Method)

at java.net.URLClassLoader.loadClass(Unknown Source)

at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName0(Unknown Source)

at cpw.mods.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:69)

at cpw.mods.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:54

C:\Users\User\Desktop\Base Server 1.6.4>restart

'restart' is not recognized as an internal or external command,

operable program or batch file

Link to comment
Share on other sites

As said above, everyone is having this library issue. If you can find and download the library files manually, you should be able to use the server. I would recommend just downloading the server file from the link provided by Cinis though, as it is a working Forge-Bukkit 1.6.4 server.

Link to comment
Share on other sites

There's a link in the description of this tutorial:
In the files it gives you it includes a libraries folder. Deleting my libraries and replacing it with that folder seems to have improved things for me, so maybe that will help others with that issue. Now I just need to figure out how to change the version of forge the server uses so that my modpack will be compatible. I'm guessing the server .jar that comes with the 1.6.4 base server .zip comes with forge 9.11.1.935, since the console says that's installed. Is there a way to upgrade it to 9.11.1.953?

Edit: I switched out the .jar with the newest Forge server .jar, that fixed it :)

bumping this great post so others dont lose it

Link to comment
Share on other sites

Does crafting fences work in single player?

Yes Fence is a Minecraft item however Iron and Nether Fences are not.

And I can't find what files I'm missing since I have RAID-0 SSD and launching the server file, and giving me error, and closing takes less than 1.5 seconds.

Link to comment
Share on other sites

Yes Fence is a Minecraft item however Iron and Nether Fences are not.

And I can't find what files I'm missing since I have RAID-0 SSD and launching the server file, and giving me error, and closing takes less than 1.5 seconds.

Add a pause line at the end the script or use the console to run the server

Link to comment
Share on other sites

If you want a working server for 1.6.4, just download the files here:

It will give you a completely functional 1.6.4 Forge-Bukkit server, although you may have to lower the memory usage to suit your system needs to be able to launch it. If so, just open the launch.bat files with something like Notepad++ and change the max memory value from 2G to 1G, and your problem should be solved. Again, credit to Cinis for finding this.

Note: For some reason, the Echopet and NPC plugins won't work on my server. This may be because of my system, may be because of the downloads, may even be the plugins I was using together. Just thought it would be useful to put it out there.

Link to comment
Share on other sites

This is a custom server. Not sure what is wrong. All help is greatly appreciated.

2013-12-22 23:57:18 [iNFO] [ForgeModLoader] Forge Mod Loader version 5.2.23.738 for Minecraft 1.5.2 loading

2013-12-22 23:57:18 [iNFO] [ForgeModLoader] Java is Java HotSpot 64-Bit Server VM, version 1.7.0_07, running on Windows 7:amd64:6.1, installed at C:Program FilesJavajre7

2013-12-22 23:57:18 [FINE] [ForgeModLoader] Java classpath at launch is server.jar

2013-12-22 23:57:18 [FINE] [ForgeModLoader] Java library path at launch is C:Windowssystem32;C:WindowsSunJavabin;C:Windowssystem32;C:Windows;C:Program FilesCommon FilesMicrosoft SharedWindows Live;C:Program Files (x86)Common FilesMicrosoft SharedWindows Live;C:Program Files (x86)NVIDIA CorporationPhysXCommon;C:Program Files (x86)InteliCLS Client;C:Program FilesInteliCLS Client;C:Windowssystem32;C:Windows;C:WindowsSystem32Wbem;C:WindowsSystem32WindowsPowerShellv1.0;C:Program Files (x86)IntelOpenCL SDK2.0binx86;C:Program Files (x86)IntelOpenCL SDK2.0binx64;C:Program FilesIntelIntel® Management Engine ComponentsDAL;C:Program FilesIntelIntel® Management Engine ComponentsIPT;C:Program Files (x86)IntelIntel® Management Engine ComponentsDAL;C:Program Files (x86)IntelIntel® Management Engine ComponentsIPT;;C:Program FilesLucidlogix TechnologiesVIRTU MVP;C:Program Files (x86)Common FilesAcronisSnapAPI;C:Program Files (x86)Windows LiveShared;C:Program Files (x86)QuickTimeQTSystem;.

2013-12-22 23:57:18 [FINE] [ForgeModLoader] Enabling runtime deobfuscation

2013-12-22 23:57:18 [WARNING] [ForgeModLoader] The coremod codechicken.core.asm.CodeChickenCorePlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft

2013-12-22 23:57:18 [WARNING] [ForgeModLoader] The coremod cofh.asm.CoFHPlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft

2013-12-22 23:57:18 [WARNING] [ForgeModLoader] The coremod denoflionsx.denLib.CoreMod.denLibCore does not have a MCVersion annotation, it may cause issues with this version of Minecraft

2013-12-22 23:57:18 [WARNING] [ForgeModLoader] The coremod micdoodle8.mods.galacticraft.asm.GalacticraftPlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft

2013-12-22 23:57:18 [WARNING] [ForgeModLoader] The coremod mods.immibis.microblocks.coremod.MicroblocksCoreMod does not have a MCVersion annotation, it may cause issues with this version of Minecraft

2013-12-22 23:57:18 [FINE] [ForgeModLoader] The coremod powercrystals.core.CoreLoader requested minecraft version 1.5.2 and minecraft is 1.5.2. It will be loaded.

2013-12-22 23:57:18 [iNFO] [ForgeModLoader] Downloading file http://files.minecraftforge.net/fmllibs/bcprov-jdk15on-148.jar

2013-12-22 23:57:18 [sEVERE] [ForgeModLoader] There was a problem downloading the file bcprov-jdk15on-148.jar automatically. Perhaps you have an environment without internet access. You will need to download the file manually or restart and let it try again

2013-12-22 23:57:18 [iNFO] [ForgeModLoader] Downloading file http://files.minecraftforge.net/fmllibs/scala-library.jar

2013-12-22 23:57:18 [sEVERE] [ForgeModLoader] There was a problem downloading the file scala-library.jar automatically. Perhaps you have an environment without internet access. You will need to download the file manually or restart and let it try again

2013-12-22 23:57:18 [sEVERE] [ForgeModLoader] There were errors during initial FML setup. Some files failed to download or were otherwise corrupted. You will need to manually obtain the following files from these download links and ensure your lib directory is clean.

2013-12-22 23:57:18 [sEVERE] [ForgeModLoader] *** Download http://files.minecraftforge.net/fmllibs/argo-small-3.2.jar

2013-12-22 23:57:18 [sEVERE] [ForgeModLoader] *** Download http://files.minecraftforge.net/fmllibs/guava-14.0-rc3.jar

2013-12-22 23:57:18 [sEVERE] [ForgeModLoader] *** Download http://files.minecraftforge.net/fmllibs/asm-all-4.1.jar

2013-12-22 23:57:18 [sEVERE] [ForgeModLoader] *** Download http://files.minecraftforge.net/fmllibs/bcprov-jdk15on-148.jar

2013-12-22 23:57:18 [sEVERE] [ForgeModLoader] *** Download http://files.minecraftforge.net/fmllibs/deobfuscation_data_1.5.2.zip

2013-12-22 23:57:18 [sEVERE] [ForgeModLoader] *** Download http://files.minecraftforge.net/fmllibs/scala-library.jar

2013-12-22 23:57:18 [sEVERE] [ForgeModLoader] <===========>

2013-12-22 23:57:18 [sEVERE] [ForgeModLoader] The following is the errors that caused the setup to fail. They may help you diagnose and resolve the issue

2013-12-22 23:57:18 [sEVERE] [ForgeModLoader] A download error occured

2013-12-22 23:57:18 [sEVERE] [ForgeModLoader] A download error occured

2013-12-22 23:57:18 [sEVERE] [ForgeModLoader] <<< ==== >>>

2013-12-22 23:57:18 [sEVERE] [ForgeModLoader] The following is diagnostic information for developers to review.

2013-12-22 23:57:18 [sEVERE] [ForgeModLoader] Error details

java.lang.RuntimeException: A download error occured

at cpw.mods.fml.relauncher.RelaunchLibraryManager.downloadFile(RelaunchLibraryManager.java:549)

at cpw.mods.fml.relauncher.RelaunchLibraryManager.handleLaunch(RelaunchLibraryManager.java:166)

at cpw.mods.fml.relauncher.FMLRelauncher.setupHome(FMLRelauncher.java:172)

at cpw.mods.fml.relauncher.FMLRelauncher.relaunchServer(FMLRelauncher.java:147)

at cpw.mods.fml.relauncher.FMLRelauncher.handleServerRelaunch(FMLRelauncher.java:45)

at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:1614)

at org.bukkit.craftbukkit.Main.main(Main.java:21)

Caused by: java.io.FileNotFoundException: http://files.minecraftforge.net/fmllibs/bcprov-jdk15on-148.jar

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)

at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source)

at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)

at cpw.mods.fml.relauncher.RelaunchLibraryManager.downloadFile(RelaunchLibraryManager.java:533)

... 6 more

Caused by: java.io.FileNotFoundException: http://files.minecraftforge.net/fmllibs/bcprov-jdk15on-148.jar

at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)

at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(Unknown Source)

at java.net.URLConnection.getHeaderFieldLong(Unknown Source)

at java.net.URLConnection.getContentLengthLong(Unknown Source)

at java.net.URLConnection.getContentLength(Unknown Source)

at cpw.mods.fml.relauncher.RelaunchLibraryManager.downloadFile(RelaunchLibraryManager.java:532)

... 6 more

2013-12-22 23:57:18 [sEVERE] [ForgeModLoader] Error details

java.lang.RuntimeException: A download error occured

at cpw.mods.fml.relauncher.RelaunchLibraryManager.downloadFile(RelaunchLibraryManager.java:549)

at cpw.mods.fml.relauncher.RelaunchLibraryManager.handleLaunch(RelaunchLibraryManager.java:166)

at cpw.mods.fml.relauncher.FMLRelauncher.setupHome(FMLRelauncher.java:172)

at cpw.mods.fml.relauncher.FMLRelauncher.relaunchServer(FMLRelauncher.java:147)

at cpw.mods.fml.relauncher.FMLRelauncher.handleServerRelaunch(FMLRelauncher.java:45)

at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:1614)

at org.bukkit.craftbukkit.Main.main(Main.java:21)

Caused by: java.io.FileNotFoundException: http://files.minecraftforge.net/fmllibs/scala-library.jar

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)

at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source)

at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)

at cpw.mods.fml.relauncher.RelaunchLibraryManager.downloadFile(RelaunchLibraryManager.java:533)

... 6 more

Caused by: java.io.FileNotFoundException: http://files.minecraftforge.net/fmllibs/scala-library.jar

at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)

at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(Unknown Source)

at java.net.URLConnection.getHeaderFieldLong(Unknown Source)

at java.net.URLConnection.getContentLengthLong(Unknown Source)

at java.net.URLConnection.getContentLength(Unknown Source)

at cpw.mods.fml.relauncher.RelaunchLibraryManager.downloadFile(RelaunchLibraryManager.java:532)

... 6 more

Link to comment
Share on other sites

To pokemastertech:

Caused by: java.lang.NoClassDefFoundError: net/minecraft/client/entity/EntityClientPlayerMP

at bspkrs.armorstatushud.fml.ArmorStatusHUDMod.preInit(ArmorStatusHUDMod.java:37)

There's your problem. An armor stand has become bugged, and it's causing you world to crash when it tries to load it. For some reason, Bilbiocraft seems to cause some issues, because the same thing happened to me with a bookcase. Just go into your world save with MCEdit and delete the offending block, and everything will be right as rain.

Link to comment
Share on other sites

To pokemastertech:

There's your problem. An armor stand has become bugged, and it's causing you world to crash when it tries to load it. For some reason, Bilbiocraft seems to cause some issues, because the same thing happened to me with a bookcase. Just go into your world save with MCEdit and delete the offending block, and everything will be right as rain.

Well, I don't have bibliocraft, and there's nothing in the world...

I've retried to make a server and this time it gave me this as a crash report:

---- Minecraft Crash Report ----// You're mean. Time: 23/12/13 5:09 PM

Description: Exception in server tick loop

cpw.mods.fml.common.MissingModsException

at cpw.mods.fml.common.Loader.sortModList(Loader.java:228)

at cpw.mods.fml.common.Loader.loadMods(Loader.java:491)

at cpw.mods.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:99)

at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:350)

at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:69)

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:445)

at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:583)

Link to comment
Share on other sites

Well, I don't have bibliocraft, and there's nothing in the world...

I've retried to make a server and this time it gave me this as a crash report:

---- Minecraft Crash Report ----// You're mean. Time: 23/12/13 5:09 PM

Description: Exception in server tick loop

cpw.mods.fml.common.MissingModsException

at cpw.mods.fml.common.Loader.sortModList(Loader.java:228)

at cpw.mods.fml.common.Loader.loadMods(Loader.java:491)

at cpw.mods.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:99)

at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:350)

at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:69)

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:445)

at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:583)

can you please post the full crash report to pastebin so we can see it?

Link to comment
Share on other sites

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