Server

Minecraft servers allow players to play online with other people. They may either be run on a hosted Minecraft server service, a dedicated server, a Virtual Private Server or a home machine.

Server installation and configuration
For a full tutorial on setting up a Minecraft server, please read the installation and configuration guide.

General recommendations

 * Setting up a server takes some time, and some technical knowledge. Don't try to set up a server unless you have some basic computer and networking abilities. Your best bet is to look on the internet for a guide on how to set up a server.
 * Hosting and playing on the same machine does not usually matter, unless you have a slow computer.
 * Netbooks and Notebooks don't usually make for good server machines. They typically have lower end hardware in comparison to desktops and dedicated server machines.
 * Hosting a server with many players in a wireless network (WLAN and especially WWAN) is not recommended. Use wired network instead, such as Ethernet.
 * If you decide you don't want to host, but still want to play online, check out the public server options in the Minecraft servers area of the Minecraft forum.
 * If you still want to manage a server, but not from home, check out the Minecraft server hosting area of the Minecraft forum or other websites. Expect to pay monthly for this type of server since finding free hosting is a rarity.

Server requirements
Please see server requirement comparison tables for more information.

Server commands
The server commands page has a list of useful commands.

See the known bugs page for known single/multiplayer issues.

Special note: Atheros and Realtek network adapters are known to not work well with servers in general. If you experience a total loss of internet (requiring a reboot), or constant disconnects, check and see if you have either brand of network adapter installed. If you do, you can try updating the driver for the device directly from the manufacturer. If a driver update does not fix the issue, the general solution is to buy a new adapter (anything from Intel is recommended as a replacement).

Types of servers
Multiple archetypes of minecraft server exist, distinguished by the unique gameplay features, rules, and societal structures which they implement. No two servers are the same, and frequently the line between archetypes is blurred or indistinguishable. Many special types of servers rely on the use of map editors or the creative game mode to build custom maps and the Craftbukkit server software to provide proprietary features.

Adventure
This type of server usually prevents most or all attempts to build or destroy blocks. Instead of tratitional gameplay, these servers offer unique gameplay elements, often inspired by Role-Playing Games. These servers are rarely unmodified, often bearing significant changes via server modifications which make normal gameplay impossible.

Survival
The most popular current server type, Survival servers are typically played entirely in the Survival game mode. Maps on these servers usually consist of a premade spawn location, which is sometimes built by the server operators using creative mode, and a surrounding area created by players. These types of servers are frequently modified to suit the desires of the operators, and frequently have some kind of system which allows players to protect their structures from griefing, either on their own or with the assistance of an operator.

Freebuild
A middle ground between survival and creative servers, this type of server requires players to gather certain materials in the traditional way, but allows them to use infinite amounts of other materials, usually common materials like wood, stone, sand, and other plentiful resources.

Creative
This type of server is played entirely in the creative game mode, with building being the focus of the community. Rarely are these servers unmodified due to the ease with which griefing is accomplished; most of these servers use proprietary protection systems to prevent players' constructions from being modified without their consent.

Roleplay
This type of server encourages or requires players to assume the role of their character. Usually this mean that there is a system in place which allows the player's ingame character to be customized, frequently by assuming species, social ranks, superhuman abilities, and the like. These servers are frequently modified with proprietary software to provide players with special powers in exchange for choosing a player class, species, etc.

PvP
This type of server typically falls either into the Adventure or Survival categories, with the exception that Player-versus-Player (PvP) combat is allowed or encouraged in tandem with Player-versus-Enemy (PvE) combat.

Hardcore PvP
This type of server is usually unmodified or very lightly modified with proprietary software. Subtypes of thie server type including Anarchy and Chaos servers, Hardcore PvP servers generally have few rules and encourage killing, looting, and griefing other players.

Prison
Constructed to emulate life in Prison, this type of server is comprised of a prison where players spawn, sometimes with multiple "cell blocks" which players advance through in order to gain freedom. This type of server must be modified with proprietary software to control players and simulate a Prison experience.

Faction
This type of server is modified with proprietary software to allow players to form groups called Factions and claim & protect land from other Factions. Usually this is accomplished with the Craftbukkit server software and the Factions plugin. Land protected by a Faction cannot be built on or destroyed by players belonging to a different Faction. Factions can also ally with each other or declare war on each other. The amount of land one Faction can protect at any given time is decided by the number of players belonging to that Faction.

Challenge
Typically consisting of a premade map and the survival game mode, this server offers a variation on the survival mantra such as surviving without the use of a certain material or in unique terrain. Describing a Challenge server is best accomplished by example - Skyblock servers, one type of challenge server, place players on a small island with exactly enough renewable resources to survive and expand the island.

Economy
This type of server is modified to introduce a currency system, usually in an intangible form. Players trade in this currency to obtain resources, or hoard it in an attempt to be the wealthiest person on the server.

City
This type of server offers one or more areas, usually protected from griefing using proprietary software, in which players can recieve a space to build in, either for free or for some form of currency system as in an economy server. This type of server is rarely unmodified.

Capture the Flag
This type of server offers a new type of gamemode for a server. However this requires proprietary software. Two teams are chosen and they battle it out, trying to collect the other teams flag and return it to there home point a number of times to win the game.

Survival Games
This type of server forces players to show there legitimate side. This requires proprietary software. Players will spawn on a small island with a chest full of basic items. They will be forced to survive with little items by creating a farm, cobble stone generator and other useful renewable devices.

Delete player
If you want to delete a player from the game, you can remove the player's .dat file. Navigate to the Minecraft server directory, open the world folder, open the player's folder, and delete the PLAYERNAME.dat file. In Minecraft version 1.4.6, this folder is at "minecraft\world\players", where "minecraft" is the folder where minecraft was installed on the server. This will cause the player to start over at the spawn point with no inventory. The player's changes to the world will be untouched, along with any inventory stored in chests. This will not ban the player that has been deleted.

Ban player
If you want to ban a player from playing on your server, edit the minecraft\banned-ips.txt", where "minecraft" is the folder where minecraft was installed on the server and add the user you want to ban to this banned-ips.txt file. Bans an IP address from the server, the full IP address must be specified; wildcards are not valid. Players who are banned through this method will see "Your IP address is banned from this server!" when attempting to connect.  Alternatively an operator can use the "ban-ip" command via "ban-ip ipaddress" where "ipaddress" is the IP address of the user you wish to ban.  This can be undone via the operator issuing the "pardon-ip ipaddress" command or editing the server's banned-ips.txt file

Edit player
If you don't want to delete a player completely, but want to remove something from him or move him to a different spot, or even give him an enchanted item, you can edit the PLAYERNAME.dat file with NBTedit similar to how you would a level save. (Only the player needs to be offline. No server restart needed.)

Creating backups
Enter save-all into the console or /save-all in Minecraft (as a server op). Enter save-off into the console or /save-off in Minecraft (as a server op). Copy the world folder to create the backup. DO NOT MOVE IT! (No server restart needed) Enter save-on into the console or /save-on in Minecraft (as a server op).

Resetting the Nether or the End
Ensure there are no players in that dimension, stop the server. Delete the "DIM-1" folder to reset The Nether, delete the "DIM1" folder to reset The End. Any builds inside those dimensions will be lost, the Ender Dragon will also reappear for The End. Restart the server.

Setting the server's texture pack
You can set a default texture pack for your server and the client will download it and use it for your server. (Please note: the client can turn off the texture pack)
 * 1) Choose a texture pack.
 * 2) Upload the texture pack to Dropbox, or similar. The important thing is that you can have a DIRECT link to the .zip file.
 * 3) Set the file to public. (at least on dropbox)
 * 4) Open your server.properties file.
 * 5) Find   and edit it like this:  . For example:
 * 6) Restart the server & log on to check the texture pack

Death messages
Death messages are broadcast to everyone on the server upon a player's death. These messages relate to how the player died and some are intended to be humorous. Death messages were added in Beta 1.8 Pre-release. New death messages were added in Snapshot 13w02a.

Anvil
 * [player] was squashed by a falling anvil

Cactus
 * [player] was pricked to death
 * [player] walked into a cactus while trying to escape [player/mob]

Dispenser when using arrows
 * [player] was shot by arrow

Drowning
 * [player] drowned

Explosion
 * [player] blew up
 * Creepers and Ghasts also cause this message.
 * [player] was blown up by creeper

Falling
 * [player] hit the ground too hard
 * [player] fell off a ladder
 * [player] fell off some vines
 * [player] fell out of the water
 * [player] fell from a high place
 * [player] fell into a patch of fire
 * [player] fell into a patch of cacti

Fire
 * [player] went up in flames
 * [player] burned to death
 * [player] was burnt to a crisp whilst fighting [player/mob]
 * [player] walked into a fire whilst fighting [player/mob]

Ghast
 * [player] was blown from a high place
 * This death message only happens if a Ghast hits a block you're standing on and you fall to your death.

Mob
 * [player] was slain by [mob]
 * [player] was shot by [mob]
 * Only caused by mobs with projectile attacks
 * [player] was fireballed by [mob]
 * Only caused by Blazes and Ghasts
 * [player] was killed by [mob]
 * Only caused by Witches
 * [player] got finished off by [mob] using [weapon]
 * [player] was slain by [mob] using [weapon]

Lava
 * [player] tried to swim in lava
 * [player] tried to swim in lava while trying to escape [player/mob]

Other
 * [player] died

Player versus Player (PvP)
 * [player] got finished off by [player] using [weapon]
 * [player] was slain by [player] using [weapon]
 * [player] was shot by [player]
 * Only happens for kills using a bow
 * [player] was killed by [player]
 * Only happens for kills using a splash potion

Potion of Harming
 * [player] was killed by magic
 * Only happens when the potion is shot from a dispenser or by drinking it

Starvation
 * [player] starved to death

Suffocation
 * [player] suffocated in a wall

Thorns Enchantment
 * [player] was killed while trying to hurt [player/mob]
 * Can be caused by a mob if it is able to wear armor

Unused This message is rarely used since snowballs, chicken eggs and ender pearls do not cause any damage to players, it will only hit them.
 * [victim] was pummeled by [killer] Happens when killed by a Snowball, a Chicken Egg or an Ender Pearl

Void
 * [player] fell out of the world
 * [player] fell from a high place and fell out of the world
 * [player] was knocked into the void by [player]

Wither effect
 * [player] withered away

Renting a server
While you can build your own server, sometimes renting a server can be a better option if your Internet or computer can't handle the amount of players you want on the server. You can search for hosts on the Internet, or find them in the Minecraft Server Hosting section of the Minecraft Forums or Similar websites. Avoid sites that don't have good reputation or look suspicious, as this can lead to hackers and griefers that are hard to deal with.