Jump to content

Recommended Posts

Posted

Hey everyone! I wanted to make a thread that is for compiling all the help needed for starting a server in one place, so you don't have to go on the extensive goose hunt that I and so many other have had to!

That being said, you should know that this is not anything completely NEW and I do not take credit for the work that the people in the these Forums did, I am just trying to make it easier for people to find out why their Tekkit is not working.

If you have any problems, or if I left something out in this, please post in the comments and I will try to get back to all of you eventually!

I run my server off of Hamachi, so this will not cover Port Forwarding. For Hamachi, go here

http://hamachi.en.softonic.com/

TEKKIT IS CURRENTLY ONLY AVAILABLE FOR MINECRAFT 1.1 SO BE SURE YOU DOWNGRADE (INSTRUCTIONS/LINK BELOW)

Launcher:

Ladies! We are playing Tekkit tonight! So everyone go and get your download

on! (You just need to download the one listed under Client)

http://www.technicpack.net/tekkit/

OH! I almost forgot! If you have upgraded to version 1.2, then it must be downgraded! Tekkit is only compatible with 1.1, you know. Go here:

http://www.minecraftforum.net/topic/800346-tool-mcnostalgia-211-now-works-with-124/

and download the downgrader immediately! You need to be in version 1.1, which should be around 72 or something in the application! So make sure everything is working properly! And the Tekkit Launcher will be your new launcher, so run that instead of the Minecraft launcher!

Java Errors:

If you have Java problems with the launcher, download this (make sure you are running off of a 64bit OS).

http://www.oracle.com/technetwork/java/javase/downloads/jdk-7u3-download-1501626.html

It is the true latest version of Java, it just isn't on their website. Then if you still have Java directory errors, follow this guide.

http://forums.technicpack.net/index.php/topic,2805.0.html

Be sure to replace the ;C:\Program Files\Java\jre6\bin in step 5 with ;C:\Program Files\Java\jre7\bin because you are using the newer version now! Doing this should also ensure that the problem mod_IC2AdvancedMachines : Unsupported major.minor version 51.0 does not appear when trying to run the server.

Java Errors PT 2 - Virtual Machine and Small Heaps:

A common error for starting the server host is the "Could not create Java virtual machine" error. To fix this, simply right click on the .bat file (aka launcher) and click edit. If the option to edit does not appear, left click the .bat file once and try right clicking it again. Then, copy (minus the ") and paste "java -Xmx1G -Xms512M -jar Tekkit.jar nogui

pause"

in place of the preexisting line of code. Save and exit the text editor. You should now be able to run the .bat without that error appearing. Remember to include the M at the end of -Xms512M, because if the problem "too small initial heap" appears then that could be why. The next part of the guide will help you better under stand this code.

Changing the RAM:

The code previously used in fixing the "too small heap" and "virtual machine" errors, as well, may be used to edit the amount of RAM the server runs off of. -Xms512M means it runs off of 512 Megaybytes. This is the default RAM the server uses, and is recommended to those who are hosting and playing off the same computer. This number can be changed, however. The other part of the code, -Xmx specifies the max size of the heap. This does not limit the amount Tekkit will use. This should ALWAYS be less than the total free memory. If you are running a 32bit Java, then it should be less than 1.5G. If a "stack overflow" error occurs, try increasing that -Xmx value. These sizes never really have to be changed, the server should run fine on those settings. If you do want to change it, and have a good amount left of RAM, change the amount using G for gigabytes and M for megabytes.

Port Forwarding on a Mac (thanks to termhn for this):

You're in luck because this is extremely simple. Head over to: http://www.codingmonkeys.de/portmap/

and download "For users" version. When it downloads, place it wherever you want and open it up. Click the little + and enter your info as follows:

Local Port: The port you put in server.properties

Desired Port: Again, the port you put in server.properties

TCP is fine

Description: Add a little description if you're using multiple

Example String: You can leave this blank

And you're done! How sweet is that?

BD Texture Pack:

And if you wish to get fancy, try out this great Texture Pack that I'm using!

http://bdcraft.net/node/65

All you need to do is follow the simple step-by-step listed on the page, DO NOT download the Optifine mod though! That is included with the Technic Launcher, and you don't want to go messing around with the .class and .dll files more than you have to! Alright, you all should be good to go. So get on the Tekkit band wagon and let's play some MC!

Bukkit Permissions:

This one is a doozy. Permissions require you to code (from my knowledge at least) individual users/groups and the permission nodes they get. Permission nodes are what are usually listed under the "Permissions" section of Bukkit Plugins, and they are what needs to be added into the config.yml file of your Permission's folder. First I'll go through the things of what you will need (or at least what I use):

- 7zip: http://7-zip.org/ OR WinRAR: http://www.rarlab.com/ (I personally use both and just juggle between the two)

- Notepad++: http://notepad-plus-plus.org/ (this is used for coding)

- Bukkit Permissions: http://forums.bukkit.org/threads/admn-dev-permissionsbukkit-v1-6-official-default-groups-plugin-1-1-r5.26785/ (this is where you config the .yml file)

- Vault: http://dev.bukkit.org/server-mods/vault/ (not needed but is automatic and used for many useful plugins)

You will also want a basic understanding of Permission's form of coding and how it is presented to you by Dev's. A great thing to use to understand it is the Permissions Wiki found here http://wiki.bukkit.org/Setting_Up_Bukkit_Permissions#Setting_Up_Permissions_with_PermissionsBukkit in the Setting Up Permissions with PermissionsBukkit section. But just in case you are a little confused, I will give you a bit of help.

Parent and Child nodes: There are two forms of nodes, Parent and Child nodes. Child permissions are a single permission like door.open: false. Parent permissions are permissions with multiple permissions like door.* which would give access to multiple nodes like door.open door.close door.destroy.

Inheritance: Inheritance, which is in the config.yml, lets groups/users have the same commands from other groups/users. In other words, if you were making ranks in a server; i.e. builder, knight, guest, etc., you could add commands with each rank using this. If you were a User with minor permissions like easyenchant.use: true, then when you were to get promoted to OP, you would have in the coding that you are inheriting user so you still have all those commands. Inheritance is more so used for ease of use so that you no longer need to copy and paste the nodes to everyone.

Got all that? Good. Now we shall begin.

So now that everything is moved into your Plugins folder, and you've opened up the config.yml in Notepad++ (that simply means do that now) you will be presented with this example http://wiki.bukkit.org/images/2/24/BukkitPermissionsExample.png. This is the basic coding lines. Generally, you just have to fill in the things you want where it tells you. But remember SPACING IS IMPORTANT so be sure to copy paste empty spots before the text so that you get the precise amount of spacing from the margins. For ease of use, especially for the new guys, you can use this tool http://yaml-online-parser.appspot.com/ to format your .yml before it goes directly into the config.yml. This tool will also point out errors in your coding, and tell you how to fix it.

In the example, right under ConspiracyWizard, you should see the code permissions: and under that permissions.example: true. This is where the next section of the guide is to be used for. You do not need the example node, but it may be helpful to have around just in case you need a refresh.

When adding nodes like this easyenchant.use you will need to add a ":" and true/false after it. It should look along the lines of this easyenchant.use: true. That should allow you to toggle the accessibility of the use of that command to that individual. To give separate commands to individuals you must enter their username (and yours) just as "ConspiracyWizard" is in the example. Luckily with the example they provided, you can just put in your info in place of theirs and it will work fine. When you're done configuring your .yml withe the online parser, and no errors are presented in the output, all you need to do is copy and paste the code in the left box, and put it in place of the example in Permission's config.yml. When you are all finished it should look something like this (this is in PermissionsEX style, but works generally the same way): http://pastebin.com/0euDT027

Now hop onto your server, and see if everything is working. If it is, then you are ready to go and start adding more plugins to your server! If not, then please comment below and I will try to assist you when I can.

Posted

Thought I'd add a bit on the mac version...

Port Forwarding on a Mac:

You're in luck because this is extremely simple. Head over to: http://www.codingmonkeys.de/portmap/

and download "For users" version. When it downloads, place it wherever you want and open it up. Click the little + and enter your info as follows:

Local Port: The port you put in server.properties

Desired Port: Again, the port you put in server.properties

TCP is fine

Description: Add a little description if you're using multiple

Example String: You can leave this blank

And you're done! How sweet is that?

Posted

Thought I'd add a bit on the mac version...

Port Forwarding on a Mac:

You're in luck because this is extremely simple. Head over to: http://www.codingmonkeys.de/portmap/

and download "For users" version. When it downloads, place it wherever you want and open it up. Click the little + and enter your info as follows:

Local Port: The port you put in server.properties

Desired Port: Again, the port you put in server.properties

TCP is fine

Description: Add a little description if you're using multiple

Example String: You can leave this blank

And you're done! How sweet is that?

I run Widows and don't know about the Mac side of things, so thank you very much for this addition! I'll put it in right now!

Posted

WOO! Just added the Permissions section of the guide. That took forever. Hope this helps out, guys! Let me no if you have any issues or suggestions, I'd be happy to include them.

  • 1 month later...

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