Minecraft Wiki

除另有声明,转载时均必须注明出处若簡繁轉換出錯,請以遊戲內為準请勇于扩充与修正内容有兴趣逛逛我们的微博沟通交流,欢迎到社区专页需要协助,请在告示板留言

了解更多

Minecraft Wiki
Advertisement

多人联机是一种基于服务器的游戏类型。顾名思义,通过多人联机,不同玩家得以在同一个世界中相互交流互动。玩家可以互相协作进行建设、采矿以及互相战斗等。

玩家可以下载运行服务端以便使其他玩家可以连接并在此服务器中进行游戏。在服务器中可以选择不同的游戏模式,其中包括:生存模式创造模式极限模式以及冒险模式。值得注意的是,游戏模式可以因人而异,也就是说在同一服务器中一些玩家可以是创造模式,而与此同时其他玩家则为生存模式。。值得注意的是,游戏模式可以因人而异,也就是说有一些玩家可以是创造模式,而其他玩家则为生存模式。玩家可以被服务器管理员或其他OP晋升为op(系统操作员)进而获取使用如游戏时间和进行玩家传送等这样的服务器指令 的权限。

EarlySMP

早期的多人生存模式

Textformatting

文字样式(从上至下)依次为:粗体、删除线、下划线、斜体和重置 (§r) 文字样式

Colors

文字颜色代码。使用§并加以对应的数字或字母生成相应的文字颜色。如:§a会生成浅绿色文字。

虽然当前Minecraft并没有一份生存模式的服务器列表,但是却有一份Minecraft Clssic版的服务器列表。同样,在wiki的侧边栏处也有一份包括第三方服务器的列表

玩家可以选择在架设服务器时是否使用其本地网络的端口映射(使用本地IP地址或使用有服务器路由器生的全局IP地址)。本地服务器通常不需要端口映射。

服务器种类

服务器可以按照其类型进行分类,会有许许多多的服务器类型:

  • 多人生存模式(SMP) (Survival Multiplayer) 。服务器架设的标准类型,当假设服务器时默认设置即为多人生存模式。
  • 多人创造模式(CMP) (Creative Multiplayer)。玩家拥有无尽的资源和生命,通常用于团队建造。
  • 多人极限模式(HMP) (Hardcore Multiplayer)。在多人极限模式中,玩家一经死亡便会被服务器永久封禁。
  • 多人冒险模式(AMP) (Adventure Multiplayer)。在多人冒险模式中,玩家不能建造和摧毁方块。通常可以预防某些种类的恶意破坏
  • 当然还有一些服务器旨在完成其单独的目标而无法归类于以上这些分类之中。

一些服务器通过使用Mod ("模组")向其中添加一些自定义的物品、合成表等达到丰富默认的多人游戏体验的目的。

聊天

File:2011-11-27 20.42.17.png

多人联机聊天示意

请注意:下述命令可以进行自定义设置(下文中所述为默认设置)。

在多人联机中,玩家可以通过按T与其他玩家聊天或者输入指令。通过在语句之前使用斜杠(/)可以使服务器经行判断是否为指令。可以实现如下聊天功能:

  • 历史记录 - 通过向上/下滚动鼠标滚轮浏览历史记录。也可以使用PAGEUPPAGEDOWN
  • 可以点击聊天中出现的链接。
  • 使用上/下浏览最近发送的信息。
  • If you start typing a player's name or a command, and press Tab ↹, it'll automatically type the rest of the username or command for you. (Will not finish player name if player isn't online.)
  • Copy & paste in chat. (CTRL + V is for paste and CTRL + C is to copy. ⇧ Shift + Arrow keys will select text for you.)
  • The section symbol, §, allows players to change the style of the text.
    • Just like typing §k in chat displays random characters, §l §m §n and §o creates bold, striked, underlined and italic text respectively, while §r resets any set states. These (the section symbol: §) cannot be typed in vanilla clients because they are restricted from being typed. If § is pasted and posted in chat, the player who sent it will be automatically kicked from the server with an "Illegal characters in chat" message, and an disconnect.endOfStream error server-side.
  • Pressing the '/' acts like a command key: it opens the chat with a '/' in it. In other keyboard layouts, it might be another key. Since version 1.3.1 it is possible to change the key in the Controls options.
  • Pressing a letter and holding it while you press Tab ↹ enters the first username starting with that letter. If there are multiple with that letter, it will give a list in chat and pressing tab more than once scrolls through the names.

Third-party server lists

主条目:Server list

Due to the non-existence of an official server list, different source sites offer lists for different multiplayer servers. A collection of such sites is on the Server list page.

The Minecraft site also contains a server list for Classic servers. However, a Server List in the multiplayer join screen was introduced in Beta 1.8. This does not have a full server list, however, it does save servers, ping them, and can tell you the number of players online and the maximum players online.

Local area network

A LAN game is only accessible to other people in your local network (e.g. just the people also connected to your router/switch are able to connect to you)

To open your current single player world for other players in your LAN, type the command "/publish" into the chat (note that this is still very restricted, e.g. you can't adjust the game options using the commandline) or access the Game Menu and click on the "Open to LAN" button. There you can select the gamemode for other players and whether they should be allowed to use Cheats. Both of these methods give you an IP for use, for example: "Local game hosted on hostname:12345".

Now other players can either connect to your game using the link minecraft provided you or they can connect using the multiplayer menu with its new "Scanning for LAN-Worlds" section at the bottom.

On the technical side a minecraft client with an opened LAN game sends a UDP multicast to the local address 224.0.2.60:4445 every 1.5 seconds. Other clients then listen for this multicast to show your game in their multiplayer menu.

Technical notes

In Classic, the server saves the level to the server_level.dat file every minute, or by issuing the /save-all command. In the full game, the server saves the level in the "world" folder every 30 seconds if chunks have been modified, by default.

Home-made servers do not strictly require access to minecraft.net, and so can be played on an isolated local network with no Internet connection. They use minecraft.net as a repository of player skins and also a database containing a list of accounts, preventing hackers and griefers from using false names while on such a server. This and other settings are modified by editing the server.properties text file.

History

c
June 8, 2009Multiplayer released after many beta trials.
a
August 4, 2010Survival multiplayer is released.
1.2.2Vehicles are now functional.
1.2.3Health and damage now functional.
1.2.4Other players are shown as sneaking when they are sneaking.
1.2.6Added /kill command.
b
1.0Inventory is now server-side (fixes disappearing items and duplication as a result).
1.2Worn armor is now visible on other players.
Paintings now work.
1.3Players standing on fences no longer get stuck.
1.4"Ghost" client-sided slimes no longer spawn.
1.5Wolves no longer constantly whimper when they have full health.
1.6Huge bugfix update
The Nether now works in multiplayer.
Dispensers now emit smoke and play sounds when used.
Fixed fake client-sided music discs spawned when ejecting them from a jukebox.
New settings in Server.properties: view-distance and allow-nether.
1.7.3Modded clients may no longer edit text of placed signs.
1.8Ghast attack sounds in multiplayer fixed.
r
1.1It was now possible to enter colored text in multiplayer chat.
1.2.1It is no longer possible to enter colored text in multiplayer's chat with the vanilla client.
Monster spawners now show the correct mob inside them.
Mob hitboxes were fixed (it is now possible to hit their legs).
1.2.4Chat was greatly improved. There is now a chat history, it is now possible to complete usernames using the Tab ↹ key, and it is now possible to copy-paste text.
Many multiplayer bugs were fixed, such as ghost TNT.
12w23aPlayers can now see the cracking effect when other players mine blocks.
12w24aAdded initial support for LAN games via /publish
12w25aPlayers can now teleport to a specific location with the /tp username x y z command in creative mode or with cheats enabled in Survival mode.
Added the "Open to LAN" in-game menu.
Multiplayer now scans for local games.

Bugs

  • Many events of the game are affected by bad multiplayer lag, with effects such as resulting in mobs hitting you more easily than in singleplayer.
  • Sometimes your skin changes back to default skin. This often happens when leaving/entering The Nether or The End, or when teleporting.
  • In multiplayer, players sometimes glitch through a block or may seem as if they were hovering over a block.
  • Blocks will sometimes appear to be destroyed on the client's side, yet still exist on the server. This will cause the player who sees the invisible block to vibrate when attempting to enter the space that the block occupies.

Trivia

  • In multiplayer, one is able to change the gamemode by simply using a command; however, one needs operator status to do so. (For example, "/gamemode 1 <playername>" converts your gamemode to Creative (Survival is 0, Creative is 1, and Adventure is 2.)
  • When changing the game mode, all current items in the inventory will be preserved.

Gallery

See also

  • Server
  • Server list
  • SMP Server commands
  • Formatting codes
  • Setting up a server
  • Death messages


Advertisement