Share

Share

Server

From Minecraft Wiki
Revision as of 15:09, 10 April 2012 by Dragon44nl (Talk | contribs)

Jump to: navigation, search

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. This is not a list of servers.

Server Setup

General recommendations

  • Setting up a server takes some time, and some technical know-how. Don't try to set up a server unless you have some basic computer and networking knowledge.
  • Hosting and playing on the same machine is not generally recommended, unless you have a fairly powerful 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.
  • 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. Expect to pay monthly for this type of server.

Server requirements

  • The more memory your computer has, the better. It's recommended to have more than 2 GB, that way plenty of ram is left over for the operating system, and you have the possibility of allocating more to the Minecraft server.
  • Minecraft servers, as of 1.1.0, can use multiple cores, so now they won't sit idle.

Server commands and known issues

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

Server installation and configuration

Ready to set up a server? View the installation and configuration guide:


Setting up a server

Types of Servers

There are numerous kinds of Minecraft servers, usually distinguished by the level used in them or how players in them are supposed to behave. Many special types of servers rely on the use of map editors.

Types of Gameplay

Survival

Standard servers usually have relatively regular maps, allowing players to build or destroy whatever they want (though griefing is often against servers' rules).

Creative

Usually a server that allows players to make what ever they want, more focused on building and griefing is not allowed. Unfortunately griefing is very easy to be done on creative servers. If a server has Bukkit Plugins such as WorldGuard, regions can be protected.

Roleplay

A server, usually with a normal map, where players are encouraged to take on roles like Mayor, Blacksmith, Cook, and act as them in the game. These servers often attempt to simulate settlement in some foreign land or similar, and require the gathering of resources to build structures. There are generally factions that can be made in these servers.

PvP

A server where players are encouraged to fight versus other players (thus the appellation PvP, meaning Player versus Player). Stealing is sometimes allowed. Sometimes if a player logs off while in combat, then they could be killed by plugins. So fight until the bitter end!

Hardcore PvP

A type of server which is like PvP, but fully allows griefing. Also, stealing is fully allowed. So you can blow up people's homes and steal their stuff. But don't cry when your stuff is stolen.

Prison

In prison servers, there typically is no wilderness, and players must earn money in order to advance in the prison. There are servers that allow you to gain freedom as you advance in the ranks of the prison, in which you can gain or earn your freedom or there are other servers that you can escape and be free.

Drug

These servers are based on an economy where players grow crops and try to hide them far away from the spawn and deep underground, meant to be drugs, whereas others take the role of police officers who try their best to find other players' drugs. Both types sell the drugs at a admin shop for in-game currency. Although rare, many players consider them fun and sensational.

Faction

Faction Servers are like a clan server, create your Faction or join one and fight or raid other factions. Usually griefing is allowed, but some servers don't allow it.

Challenge

Usually these servers have some sort of a challenge, such as surviving underwater, living in a small box with few materials , or a block in the sky (SkyBlock).

Economy

These servers often use a plugin that allows you to have a type of currency. You can usually buy and sell and make your own shops. Many servers also allow you to buy land plots or even ranks in the server.

Hunger Games

A server type derived from the book and film adaption, "The Hunger Games". The objective of this type of server is to be the last man standing. Players can begin with a chosen kit,but they are very limited. The game continues until there is only one person alive, hence last man standing.

City

A server that has a city-like region where you make a house on your own protected land. Mostly these servers have in some area a free place where anyone can build/take. The main point is usually to try to get many natural resources so you can have the best house and possibly rank up. iConomy is a typical plugin on these servers.

Maintenance

Delete Player

If you want to delete a player from the game, you can remove the player's .dat file. Navigate to the Minecraft home directory, open the map folder, open the player's folder, and delete the PLAYERNAME.dat file. In Minecraft version 1.2.4, 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 unchanged 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 simlar 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).
Copy the world folder to create the backup. DO NOT MOVE IT! (No server restart needed)

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.

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 are intended to be humorous. Death messages were added in Beta 1.8 Pre-release.

Drowning

  • [player] drowned

Falling

  • [player] hit the ground too hard

Player versus Player (PvP)

  • [victim] was slain by [killer]
  • [victim] was shot by [killer] Only happens for kills using a bow
  • [victim] was killed by [killer] Only happens for kills using a splash potion

Void

  • [player] fell out of the world

Lava

  • [player] tried to swim in lava

Fire Block

  • [player] went up in flames

Fire Effect

  • [player] burned to death

Explosion
Creepers and Ghasts also cause this message.

  • [player] blew up

Hostile Mob
Note: "a" or "an" is added before the mob name.

  • [victim] was slain by [mob]
  • [victim] was shot by [mob]
  • [victim] was fireballed by [mob] Only caused by Blazes

Potion of Harming

  • [player] was killed by magic Suicides only

Suffocation

  • [player] suffocated in a wall

Cactus

  • [player] was pricked to death

Starvation

  • [player] starved to death

Dispenser when using arrows

  • [player] was shot by arrow

(previously [player] was shot by Herobrine) (replaced in Minecraft 1.0)[1]

Other (also caused by /kill command)

  • [player] died

Unused

This message is rarely used since snowballs, chicken eggs and ender pearls do not cause much damage/knockback to players.

References

  1. This message was removed and replaced with "[Player name] was shot by arrow" in Minecraft 1.0.

External links