本站文本内容除另有声明外,均在知识共享 署名-非商业性使用-相同方式共享 3.0 协议下提供。

服务器

来自Minecraft Wiki
跳转至: 导航搜索
此页面的(部分)内容需要被翻译。
你可以帮助我们来翻译此页面

Minecraft 服务器可以使玩家在线和其他玩家一起玩Minecraft。

服务器的种类[编辑 | 编辑源代码]

另见:教程/在服务器上游玩

目前有多种服务器以独特的游戏内容、规则以及引入的社会结构而闻名。没有两个服务器是相同的,服务器的类型之间的界线通常是模糊的无法区分的。许多特殊种类的服务器使用地图编辑器或在创造模式中来建造自定义地图,使用CraftBukkit软件来提供附加功能。这些服务器多数面向PVP,一些面向生存模式、创造模式和极限模式,一些服务器拥有经济系统,一些服务器有内置迷你游戏。

架设服务器[编辑 | 编辑源代码]

有许多工具提供给玩家以便玩家能够架设、管理一个服务器。注意,服务器有服务器需求以便服务器能够高效流畅地运行。

  • 默认多人游戏服务端可从Mojang处免费下载和使用,Windows、Mac OS X以及基于Unix的系统(Linux、BSD...)可用。详见Minecraft 多人游戏服务器教程以及Mojang的Minecraft 多人游戏服务器下载页面以获取帮助。
  • 向局域网开放提供一个在未在路由器设定转发的情况下与你同一本地网络的玩家可访问的服务器。详见搭建局域网服务器教程来获取更多信息。
  • 额外的服务端如Bukkit、Spigot和Sponge为玩家提供一种向服务器添加插件的方法。这些服务端通常用在较大的服务器上以运行防恶意破坏插件。
  • 租用服务器是由其它公司外部托管的服务器。这些托管服务器并不是免费使用的,玩家必须定期支付服务器租金。
  • Realms是Mojang官方托管服务器服务,允许一定数量的玩家在服务器游玩。

详见教程#服务器以获取如何使用这些软件的教程。

管理和维护服务器[编辑 | 编辑源代码]

另见:教程/服务器维护

Servers are generally managed by administrators and operators. The administrator generally takes responsibility of the server. It may be that the server is running from their machine, or that they simply have jurisdiction over a server. Operators generally assist the administrators to moderate a server, and to prevent unruly players and griefers. Both operators and administrators have access to various commands in order to ensure the smooth running of the server. On a default server, players are assigned as operator or administrator by using the /op <playername> command, or by editing the ops json file (ops.json) in the server directory, then restarting the server.

Local 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.

The server saves the level in the "world" folder every 30 seconds if chunks have been modified, by default.

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}) – The server is running a more recent version of Minecraft then the client is
  • Outdated server (I'm still on {version}) – 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 themselves (using mods)
  • Illegal stance - ??, Happens when a client is extremely high or low
  • Illegal position - The client is beyond X/Z: ±30,000,000 (±32,000,000 in 1.6.4 and lower.)
  • 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.
  • Out of memory! - This only happens when your memory is 100%, or if one traveled past X/Z: ±34,359,738,368 in Beta 1.7.3 or lower (see Far Lands). (It shows up on the F3 Debug screen)

Please note that the kick command can disconnect clients with custom message.

另见[编辑 | 编辑源代码]

外部链接[编辑 | 编辑源代码]