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 variety of different Minecraft servers, see the tutorial page.

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. Probably, your best bet can be 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 a 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 on server requirements.

Playing on a server
For information on playing on a server, including joining a server and tips and tricks, read the Playing on servers tutorial.

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

Types of servers
Multiple archetypes of Minecraft servers 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 additional features.

The Big Three
These types of servers are the most popular choices for creation.

FactionPvP
This type of server uses plugins 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 or the Towny 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. The FactionPvP servers usually allow griefing and are very flexible with customization.Also there are admins, vips, builders and so on, and so on... There are usually safe zones too.

PvP/Survival
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-Environment (PvE) combat. Griefing is usually not allowed unless stated otherwise.

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.

Less Popular
Just because the titles states they are less-popular doesn't necessarily mean they are. These servers take more than just a few hours to create.

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 plugins to prevent players' constructions from being modified without their consent.

Adventure
This type of server usually prevents most or all attempts to build or destroy blocks. Instead of traditional 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.

Roleplay
This type of server encourages or requires players to assume the role of their character. Usually this means 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 frequently use plugins to provide players with special powers in exchange for choosing a player class, species, etc. They also are usually set in medieval times.

Hardcore PvP
This type of server is usually unmodified or very lightly modified. Subtypes of this 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 to control players and simulate a prison experience. During the end of 2013 and beginning of 2014, Prison servers started to really take off and become a much more popular game mode. Prison servers are harder to construct than most servers, and take longer. Most prison servers hove "guards" which will kill if you are found with weapons, or are caught while doing pvp. you will not be banned for breaking rules, as they are purely for role play.

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, in which players can receive 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, usually via plugins. Two teams are chosen and they battle it out, trying to collect the other teams flag and return it to their home point a number of times to win the game.

Bow Spleef
A server where players spawn in with a bow and an arrow and try to shoot TNT beneath players' feet, in the attempt to be the last one standing above it. Developed by OlsonElliott at http://dev.bukkit.org/bukkit-plugins/bow-spleef/

SkyBlock
This type of server forces players to show their legitimate side. Players will spawn on a small island with a chest full of basic items. They will be forced to survive with few items by creating a farm, a cobblestone generator, and other useful renewable devices. These types of servers are sometimes PVP servers.

KitPvP
A server in which players choose from a kit or several kits to have big PVP battles. The gamemode is either Adventure or Survival.

TimeBomb
Also called TNT-Tag or Hot potato. One player is the tagger, and the others have to avoid them. to tag someone, you have to hit them with whatever item is the "hot potato" (this can be TNT, a potato, or anything the developer desires). The reason the tagger is in such a hurry to get rid of this is that, after a certain amount of time, the item, and whoever is holding it, get blown to bits. This will eliminate that player, and another player is chosen randomly as tagger.

HungerGames
Players of these servers have to battle against each other after collecting resources and materials. Last player alive wins. Background: The HungerGames are based upon the books of Suzanne Collins called the "HungerGames" and its movies. The Minecraft community liked the survival aspect of that series and started hosting their own HungerGames events.

Survival Games
Similar to Hardcore Games, but players can't collect materials. The only way to get geared up is searching for chests hidden everywhere on the map. Winner is the last player standing.

MineZ
MineZ, developed by the staff of the Shotbow Network, is based on the Arma II: Combined Operations mod named DayZ. MineZ involves dropping a player into a zombie apocalypse, where said zombies hit harder, run faster and think smarter. Overall, they WILL kill you. This is a co-operational gamemode, but PvP is enabled. MineZ features new game mechanics such as thirst and player healing, as natural regeneration from a full hunger bar is off. The server substitutes some Minecraft items for DayZ items, such as paper for bandages.

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 them or move them to a different spot, or even give them an enchanted item, you can edit the PLAYERNAME.dat file with an NBT editor similar to how you would a level save. (Only the player needs to be offline. No server restart needed.)

Creating backups
Use the save-all command ingame (as a server op) or from the server's console to save the world. Create a copy of the world directory to create the backup. Do not move the directory as this might crash the server. No restart is required.

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 resource pack
You can set a default resource pack for your server and the client will download it and use it for your server. (Please note: the client can turn off the resource pack)
 * 1) Choose or create a resource pack.
 * 2) Upload the resource 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:.
 * 6) Restart the server & log on to check the resource pack

Setting the server's icon
As of 1.7, servers can have an icon that will show up in the Multiplayer list.
 * 1) Create a PNG image with a size of 64 by 64 pixels, transparency is supported.
 * 2) Save (or rename) it to.
 * 3) Move it to the server's directory.
 * 4) Restart the server.

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 whilst trying to escape [player/mob]

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

Drowning
 * [player] drowned
 * [player] drowned whilst trying to escape [player/mob]

Explosion
 * [player] blew up
 * [player] was blown up by [player/mob]
 * "[player] was blown up by [player]" shows up only when TNT is activated by a player using flint and steel or an arrow shot from a bow with the 'Flame' enchantment.

Falling
 * [player] hit the ground too hard
 * Only caused if the player is killed by a short fall or Ender Pearl damage.
 * [player] fell from a high place
 * Caused by a fall greater than 5 blocks.
 * [player] fell off a ladder
 * [player] fell off some vines
 * [player] fell out of the water
 * [player] fell into a patch of fire
 * [player] fell into a patch of cacti
 * [player] was doomed to fall (by [mob/player])
 * [player] was shot off some vines by [mob/player]
 * [player] was shot off a ladder by [mob/player]
 * [player] was blown from a high place by [mob]
 * Only caused if knockback from a Creeper explosion or Ghast fireball causes the player to fall to their death.

Fire
 * [player] went up in flames
 * This message appears if the player died while in the source of the fire.
 * [player] burned to death
 * This message appears if the player died while on fire, but not in the source.
 * [player] was burnt to a crisp whilst fighting [player/mob]
 * [player] walked into a fire whilst fighting [player/mob]

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] using magic
 * Only caused by Witches
 * [player] got finished off by [mob] using [weapon]
 * [player] was slain by [mob] using [weapon]
 * Only caused by mobs holding renamed weapons

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

Other
 * [player] died (shows when killed by lightning, or player uses /kill)


 * [player] was squashed by a falling block (shows when a custom falling sand is modified to inflict damage, and kills the player)

Player versus Player (PvP)
 * [player] got finished off by [player] using [weapon]
 * [player] was slain by [player] using [weapon]
 * The phrase 'using [weapon]' only appears for kills using a renamed weapon.
 * [player] was shot by [player]
 * Only happens for kills using a bow. If the bow is renamed it will also show 'using [bow name]' at the end of the message.
 * [player] was killed by [player] using magic
 * 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, by drinking it, or with the effect command

Starvation
 * [player] starved to death
 * Only caused if on Hard or Hardcore mode

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 never used since snowballs, chicken eggs and ender pearls do not cause any damage to players, they will only hit them.
 * [victim] was pummeled by [killer] Happens when killed by a Snowball, an Egg or an Ender Pearl

Void (including /kill command)
 * [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/mob]

Wither effect
 * [player] withered away

Kick messages
Kick messages are messages that are displayed when an operator kicks the player, or the player has issues connecting to the server.


 * End Of Stream (Client message) – The server has stopped sending data to the client
 * Internal Server Error:java.net.Minecraft – The server is sending unknown information to the client, usually from a server mod
 * Internal exception: java.io.IOException: Received string length longer than maximum allowed (105>100) – A message the client sent that isn't in the frames of normal messages
 * Internal Server Error – The server generated an exception when handling the client's request.
 * Disconnected - The player disconnected by using the Disconnect button in the Main Menu
 * Illegal characters in chat – The client was denied sending certain characters, such as the § symbol
 * disconnect.spam - The client is sending chat messages too quickly
 * Read timed out – The server can't find the player's connection
 * Bad login – The client is running in offline mode and can't connect to an authenticated server
 * Outdated client (Please use {version} since 1.7) – The server is running a more recent version of Minecraft then the client is
 * Outdated server (I'm still on {version} since 1.7) – The client is running a more recent version of Minecraft than the server is
 * You are banned from this server (May be followed by Reason: {reason} and/or Your ban will be removed on {date}) – Self-explanatory, the client is banned and will remain banned until pardoned by an admin
 * You have been IP banned. - The client's IP has been banned.
 * Kicked by an operator. - The client has been disconnected using the kick command.
 * Flying is not enabled on this server - The client tried to fly for longer than 5 seconds in Survival or Adventure mode
 * Attempting to attack an invalid entity - ??, Happens when a client tries to hit himself (using mods)
 * Illegal stance - ??, Happens when a client is extremely high or low
 * Illegal position - The client is beyond ±32000000 x or z position (Changed to 30 million sometime in 1.7 or 1.8 snapshots)
 * You have died. Game over, man, it's game over! - The client is dead but tried to join in Hardcore mode.
 * You have been idle for too long! - The client was idle for a longer time than allowed.

Please note that the kick command or modded Servers can disconnect clients with arbitrary message.

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, these hosts may often be simply out looking for your money and may not provide the best service.

Realms
There will be an option to make small servers with the Realms server hosting feature in the future, although it will cost money. Realms are currently only available in a limited number of countries (see Realms); changing the location of your PC to one of those countries will get you the option to buy/join minecraft realms.