Talk:Tutorials/Setting up a server/Archive 1

Fix tutorial
The link to "Windows tutorial with focus on how to forward a port" under "Other Tutorials" is broken. Anyone has a new one?

Mac issue
I run a mac and when I execute start.command I always get the following:

admin/op.txt
2. Add your username to the admin.txt and op.txt. Admin.txt allows you to execute server commands, and op privileges allows you to destroy/place blocks.

Isn't it ops.txt? is admin.txt still used? TiriPon 20:51, 5 January 2011 (UTC)

Old server version linked
It may be worth mentioning in the download section that the link at the top of http://www.minecraft.net/servers.jsp results in one downloading an extremely out of date server. Mirth23 23:47, 22 February 2011 (UTC)

Permissions?
I run a 15 inch macbook pro (1 or 2 models ago) with mac OS X 10.6.7 (the most current). Im trying to start my minecraft server via "start.command". Yet, "I don't have permission." I tried unlocking the file info window and changing my permission to read and access. Even when I do and the changes are saved, I still don't have permission. Help please?

Nevermind. I just changed the permissions for "net.minecraft.server.MinecraftServer" and everything is fixed.

Hamachi
How do I sign up for admin rights using Hamachi? Joev14 19:57, 27 April 2011 (UTC)

Split this article?
This article is very confusing to read. I believe splitting this article into "Windows Help" "Linux Help" and "Mac Help" would greatly improve the article. Hailfire 15:28, 6 May 2011 (UTC)

I agree. Mepholic 20:05, 4 June 2011 (UTC)

Hamatchi Admin?
Make it more clear how to become an admin on hamatchi, I can't figure it out for the life of me.

Hamachi Admin not needed
As far as I can tell, to set up a Hamachi server you do not actually need to have "Admin Rights" as the article states. You just need to click Network and then Create a New Network. Whoever joins your server just clicks "join an existing network" and then enters the network name you specified. There are tons of videos about it on Youtube. I am running a server and I never signed up for "Admin Rights". Please change this, if it has not been changed already.

p.s. If you are trying to set up a server, Hamachi is a lot easier than port forwarding. Bobthejeffmonkey 23:48, 30 May 2011 (UTC)

Swappiness on Linux Servers?
Has anybody experimented with swappiness on Linux based Minecraft servers? There has been a lot of debate over whether servers vs. desktops should swap more or less. The general consensus is that servers should swap memory more, while desktops should swap memory less.

Some good reading on this right here.

I have a suspicion that lowering the swappiness on a Linux based Minecraft servers will lower the load time for chunks that people haven't seen or been in for a while. Mepholic 20:27, 4 June 2011 (UTC)

Java Virtual Machine still not working
XP Machine has 2GB of Ram, which should be plenty. Online version of the game works fine. But every time I try to run minecraft.exe, it says "failed to start Java virtual machine". Any steps I'm missing? Chadlupkes 02:10, 18 July 2011 (UTC)

Alternative Java packages
Arch Linux has alternative java packages in community besides openjdk:

community/jre 7-3 Oracle's Java Runtime Environment community/jdk 7-3 Oracle's Java Development Kit

jre is all that's required for the Minecraft server to work. -Worldwise001 06:32, 9 August 2011 (UTC)

Setting up Ports
Here's some proposed information to add regarding setting up ports and connecting (which probably could use editing)


 * What reasons are there for changing to a different port number?
 * The default is already in use.
 * You want to run more than one server- each will need its own port.
 * The default is blocked. Some networks might have the minecraft port blocked to prevent people from running servers, or to play at all. Usually you'll only see this in places like schools, businesses, or public WiFi hotspots.
 * Preventing random scans from potential attackers. (see note on security below)


 * How to change the default port
 * If you want to use a different port than the default, change it in the server config file. It's usually not a good idea to use port numbers between 0 and 1023 since they are reserved. The highest numbered port which can be used is 65535.
 * For a list of commonly used ports check Wikipedia.
 * You will need to update your port forwarding rule to match your server port. If you run more than one server, each one will need to have a different port number (and its own forwarding rule).


 * If it keeps saying the port is already in use
 * You might have a firewall, antivirus, or other security program blocking it. You also might not be running it with the correct permissions, depending on what OS you're using.


 * How to connect to a server using a non-standard port
 * Users who wish to connect to a server which is running on a non-standard port must add a colon and port number after the IP address. (example 192.168.2.3:25590 if the server port is 25590 and the IP it's running on is 192.168.2.3)
 * This will also work with DNS, and dynamic DNS, so for example "minecraft.mydomain.com:25590" will work instead of the IP address, but note the port number must still be used.
 * You WILL have to add the port number even if you're connecting to a server on your own local network.


 * A note on security
 * Changing your port is not a very strong security feature on its own.
 * It's mostly only useful to avoid detection by someone who is just randomly scanning ports, but as minecraft gets more popular it's more likely that it will start being scanned for specifically.
 * If your server is getting attacked then it's probably a better idea to just change your IP address instead. (Most ISP's will assign a new IP address when your router's MAC address changes.)
 * Also, you'll have to tell everybody what port to use or they can't connect. So it's most useful if you run a purely private server.
 * Nagroth 11:39, 20 August 2011 (UTC)