Jump to content

Tekkit For Dummies


Recommended Posts

Hi all,

Im brand new to Tekkit, got the launcher and i think its a brilliant Mod!

however me and my friend would like to set up a Tekkit Server.

i have searched the forums but cant find a step by step guide to setting up a server. i've never ran a server so i would really appreciate a step by step.

Hope you people can help!

Link to comment
Share on other sites

Step 1: Locate a suitable PC with at least 2 GB RAM (you can make them with less but don't expect it to hold many players - less than 5 players for less RAM)

Step 2: Download and install java version 7

Step 3: Download tekkit server 3.1.2

Step 4: unpack that zip file somewhere (doesn't matter where so long as you know where it is)

Step 5: where you unpacked the contents locate the file launch.bat and EDIT it

the default is - java -Xmx3G -Xms2G -jar Tekkit.jar nogui

On a 2GB RAM PC change it to - java -Xmx1024m -Xms1024M -jar Tekkit.jar nogui

I've bolden the 2 important bits, this is the RAM, the default line expects you to have at LEAST 5GB RAM to run, this is often why people who just download and run tekkit crash (using Windows) without it ever starting. So adjust the startup line to suit your RAM configuration.

Step 6: Run launch.bat from the tekkit folder

Step 7: in the command prompt window that appears wait until it finishes processing everything and you get a > prompt back. At this prompt type stop and press enter, you will be prompted to press any key when it's stopped successfully (the black window will disappear).

Step 8: in the tekkit folder a load of new files and folders will appear:

Step 8a: setting your server properties - edit server.properties file make any changes like motd, level-name (server name) and adjust any of the other settings in here to suit the type of server you are making.

Step 8b: adding player names to ops.txt allows for OPs (admins) on your server, I personally play on my server without ANY OPs since the temptation to just spawn items sometimes gets too great smile.png

Step 8c: configure tekkit by altering files in the config folder, these are too vast to go through one at a time here. The exception is EE which places it's config folder in root, called mod_EE.props.

Step 9: After launching your server and checking it works (by connecting to it using the Tehnic launcher) the hardest part is getting it to show on the internet. This will most likely require some form of port forwarding on your router.

Step 10: Find your internet address. The vast majority of routers work behind NATd IPs (well they do in the UK smile.png so you need to find your internet address, easiest way to do this is to google myip and use one of the first 2 or 3 links that show up. It is this IP that you need to pass to people along with the port.

Step 11: good luck biggrin.png

Link to comment
Share on other sites

Wow, looks like b0bst3r was feeling generous, to type that all down :D

A rundown of the options in server.properties can be found on minecraftwiki.net.

To connect a client to a server running on the same computer, you need the loopback IP (127.0.0.1)

To connect a client to a server running on a computer in the same LAN, you need its local IP (usually 192.168.something.something)

To connect a client to a server running somewhere on the internet, the person running the server must have configured port forwarding on their router, and then you need the public IP of the remote site. If you host a server for people not on your LAN, you need to provide this IP to your players.

A neat trick - you don't need to search for sites that tell you your public IP. Just ask Google directly: what is my IP? And Google will answer you.

Link to comment
Share on other sites

Hi Guys,

So Friday evening i got my server up and running played on it with a few friends left it on all weekend.

i turned off the computer last night. came to play on my server again tonight but its not having it. I've check the IP address and its still the same, the port is also still forwarded. ive ran the .batfile and the tekkit jar in the server folder

what am i doing wrong here?

Link to comment
Share on other sites

You might want to give more info as to what is actually happening or not happening. THere are many different stages that can go wrong for many different reasons. Saying "what am I doing wrong" here without a description is about as useful as saying "I am thinking of a number between 1 and 1000, tell me which" :p

Link to comment
Share on other sites

Hmmm... actually, the way I am used to do it with doesn't seem to trigger. Let me try to find it...

Okay, color me confused. I could have sworn that I've seen the standard

tag used on these boards before, but I absolutely can't find it right now. Guess you'll just have to make a monster post then.

Link to comment
Share on other sites

here is the monster post

C:\Users\stuart.williams\Documents\New folder\Tekikt Server>java -Xmx1024m -Xms1

024M -jar Tekkit.jar nogui

182 recipes

27 achievements

19:55:42 [iNFO] Starting minecraft server version 1.2.5

19:55:42 [iNFO] Attempting early MinecraftForge initialization

19:55:42 [iNFO] Completed early MinecraftForge initialization

19:55:42 [iNFO] Forge Mod Loader version 2.2.91.173 for Minecraft 1.2.5 loading

19:55:43 [iNFO] Loading mods from C:\Users\stuart.williams\Documents\New folder\

Tekikt Server\mods

19:55:43 [WARNING] Failed to load mod class net/minecraft/server/mod_NetherOres.

class in C:\Users\stuart.williams\Documents\New folder\Tekikt Server\mods\mod_Ne

therOres.jar

19:55:43 [sEVERE] Zip file mod_NetherOres.jar failed to read properly

19:55:43 [iNFO] File mod_NetherOres.jar contained no mods

19:55:43 [iNFO] Directory weaponmod contained no mods

19:55:43 [sEVERE] A problem has occured during mod loading. Likely a corrupt jar

is located in your mods directory

19:55:43 [sEVERE] cpw.mods.fml.common.LoaderException: cpw.mods.fml.common.Loade

rException: java.lang.UnsupportedClassVersionError: net/minecraft/server/mod_Net

herOres : Unsupported major.minor version 51.0

19:55:43 [sEVERE] at cpw.mods.fml.common.Loader.load(Loader.java:436)

19:55:43 [sEVERE] at cpw.mods.fml.common.Loader.loadMods(Loader.java:606)

19:55:43 [sEVERE] at cpw.mods.fml.server.FMLBukkitHandler.onPreLoad(FMLBuk

kitHandler.java:134)

19:55:43 [sEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftSe

rver.java:135)

19:55:43 [sEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer

ver.java:438)

19:55:43 [sEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour

ceFile:492)

19:55:43 [sEVERE] Caused by: cpw.mods.fml.common.LoaderException: java.lang.Unsu

pportedClassVersionError: net/minecraft/server/mod_NetherOres : Unsupported majo

r.minor version 51.0

19:55:43 [sEVERE] at cpw.mods.fml.common.Loader.loadModClass(Loader.java:5

27)

19:55:43 [sEVERE] at cpw.mods.fml.common.Loader.attemptFileLoad(Loader.jav

a:562)

19:55:43 [sEVERE] at cpw.mods.fml.common.Loader.load(Loader.java:419)

19:55:43 [sEVERE] ... 5 more

19:55:43 [sEVERE] Caused by: java.lang.UnsupportedClassVersionError: net/minecra

ft/server/mod_NetherOres : Unsupported major.minor version 51.0

19:55:43 [sEVERE] at java.lang.ClassLoader.defineClass1(Native Method)

19:55:43 [sEVERE] at java.lang.ClassLoader.defineClassCond(Unknown Source)

19:55:43 [sEVERE] at java.lang.ClassLoader.defineClass(Unknown Source)

19:55:43 [sEVERE] at java.security.SecureClassLoader.defineClass(Unknown S

ource)

19:55:43 [sEVERE] at java.net.URLClassLoader.defineClass(Unknown Source)

19:55:43 [sEVERE] at java.net.URLClassLoader.access$000(Unknown Source)

19:55:43 [sEVERE] at java.net.URLClassLoader$1.run(Unknown Source)

19:55:43 [sEVERE] at java.security.AccessController.doPrivileged(Native Me

thod)

19:55:43 [sEVERE] at java.net.URLClassLoader.findClass(Unknown Source)

19:55:43 [sEVERE] at java.lang.ClassLoader.loadClass(Unknown Source)

19:55:43 [sEVERE] at sun.misc.Launcher$AppClassLoader.loadClass(Unknown So

urce)

19:55:43 [sEVERE] at java.lang.ClassLoader.loadClass(Unknown Source)

19:55:43 [sEVERE] at java.lang.ClassLoader.loadClass(Unknown Source)

19:55:43 [sEVERE] at java.lang.Class.forName0(Native Method)

19:55:43 [sEVERE] at java.lang.Class.forName(Unknown Source)

19:55:43 [sEVERE] at cpw.mods.fml.common.Loader.loadModClass(Loader.java:4

94)

19:55:43 [sEVERE] ... 7 more

19:55:43 [sEVERE] Unexpected exception

cpw.mods.fml.common.LoaderException: cpw.mods.fml.common.LoaderException: java.l

ang.UnsupportedClassVersionError: net/minecraft/server/mod_NetherOres : Unsuppor

ted major.minor version 51.0

at cpw.mods.fml.common.Loader.load(Loader.java:436)

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

at cpw.mods.fml.server.FMLBukkitHandler.onPreLoad(FMLBukkitHandler.java:

134)

at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:135)

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

at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)

Caused by: cpw.mods.fml.common.LoaderException: java.lang.UnsupportedClassVersio

nError: net/minecraft/server/mod_NetherOres : Unsupported major.minor version 51

.0

at cpw.mods.fml.common.Loader.loadModClass(Loader.java:527)

at cpw.mods.fml.common.Loader.attemptFileLoad(Loader.java:562)

at cpw.mods.fml.common.Loader.load(Loader.java:419)

... 5 more

Caused by: java.lang.UnsupportedClassVersionError: net/minecraft/server/mod_Neth

erOres : Unsupported major.minor version 51.0

at java.lang.ClassLoader.defineClass1(Native Method)

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

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

at java.security.SecureClassLoader.defineClass(Unknown Source)

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

at java.net.URLClassLoader.access$000(Unknown Source)

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

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

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

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

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

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

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

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

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

at cpw.mods.fml.common.Loader.loadModClass(Loader.java:494)

... 7 more

>stop

19:56:13 [iNFO] Stopping server

19:56:13 [sEVERE] java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

19:56:13 [sEVERE] at java.util.ArrayList.RangeCheck(Unknown Source)

19:56:13 [sEVERE] at java.util.ArrayList.get(Unknown Source)

19:56:13 [sEVERE] at net.minecraft.server.MinecraftServer.stop(MinecraftSe

rver.java:424)

19:56:13 [sEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer

ver.java:497)

19:56:13 [sEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour

ceFile:492)

19:56:13 [iNFO] Stopping server

19:56:13 [sEVERE] Exception in thread "Thread-3"

>

C:\Users\stuart.williams\Documents\New folder\Tekikt Server>pause

Press any key to continue . . .

Link to comment
Share on other sites

See, that startup log is full of errors. That is why just saying "it's not showing up as online" doesn't allow us to help you very much. If the server throws an error, you need to tell us that.

Cause:

You have corrupt files in your server directory.

Solution 1:

1.) delete C:\Users\stuart.williams\Documents\New folder\Tekikt Server\mods\mod_NetherOres.jar

2.) retrieve a fresh one from the server zipfile you downloaded and place it into the aforementioned directory

If that doesn't work...

Solution 2:

1.) back up your world folders (worldname, worldname_nether, worldname_the_end)

2.) delete the entire tekkit server directory

3.) redownload the server from the Technicpack website and unzip into a new directory

4.) restore your backed up world folders to the new directory

5.) specify your worldname in server.properties so it actually loads it instead of creating a new one

6.) re-op yourself and anyone else who needs to be

7.) start the server, verify it loads the correct world, and shut it down

8.) if you made any config file changes, now is the time to add them

9.) you should now be able to play again

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