Minecraft 是全球最受欢迎的视频游戏之一,您可以在其中自由地以像素化体素形式设计整个世界。不仅是一款游戏,也是模组开发者可以扩展的工具,也是一种教孩子如何编码的方式。为那些对完整体验感兴趣的人提供了一个平台来制作自己的Minecraft 服务器(Minecraft server)。
对于那些刚接触 Minecraft(Minecraft)的人来说,最好通过购买游戏(game and jumping)开始您的旅程。这将帮助您更好地了解游戏所提供的内容。但是,如果您过着大胆的生活并且想要一切都没有训练轮,本文将提供有关如何使用Windows 10操作系统制作(operating system)Minecraft 服务器(Minecraft server)的教程。
如何制作 Minecraft 服务器(How To Make a Minecraft Server)
要正确配置Minecraft 服务器(Minecraft server),您需要掌握一些技术知识。对计算机和网络概念(computer and network concepts)的基本了解将对服务器管理大有帮助。
花点时间熟悉使用命令行(command line)、系统、网络和路由器的配置,以及一些基本的网络。您还需要确定是否计划在家中运行Minecraft 服务器(Minecraft server),或者更喜欢(home or prefer)托管它。请记住,托管您自己的服务器会冒着将您的家庭网络(home network)暴露给全世界的风险。
对于基于家庭的Minecraft 服务器(Minecraft server),请考虑使用中高级桌面系统(desktop system)。如果您计划在您为服务器计划的同一台计算机上玩Minecraft,这是不明智的。但是,只要您的系统具有强大的功能,就可以做到这一点。出于可靠性目的,它还需要以太网设置。
托管您的服务器通常只需要服务提供商(service provider)按月支付费用。这使您不必自己处理管理服务器硬件(server hardware)的麻烦。虚拟专用服务器非常适合不需要太多资源的小型社区。对于人口较多的社区,总是有专用的服务器选项。
在 Windows 10 上制作 Minecraft 服务器(Make a Minecraft Server On Windows 10)
首先确保您安装了最新版本的Java。
- 在Windows 搜索(Windows Search)(任务栏(Taskbar))中,输入Java。如果安装了 Java,您将在搜索结果中看到配置 Java 。(Configure Java)然后您可以选择它以显示Java 控制面板(Java Control Panel),该面板将提供版本号(version number)。如果没有出现配置 Java ,则需要(Configure Java)下载并安装最新版本(download and install the latest version)。
- 完成此任务后,您将需要决定所有Minecraft文件的存储位置。在您的 PC 上创建一个文件夹,所有Minecraft文件都将存放在其中。位置由您决定,只需记住它的放置位置。首次运行服务器时,会创建配置文件。最好将它们全部放在此文件夹中。
- Minecraft 网站上的服务器软件(The server software from the Minecraft website)将以Java.jar文件的形式提供。将其保存到您刚刚创建的文件夹中。
- 右键单击该文件并选择以管理员身份运行...( Run as administrator… )以启动服务器并让它创建服务器配置(server configuration)文件。在服务器准备好使用之前,需要修改这些文件。
- 在文件夹中找到名为eula.txt的文本文件,然后在(eula.txt)文本编辑器(text editor)中打开该文件。
- eula=false更改为eula=true。这是接受EULA。否则将阻止您启动Minecraft 服务器(Minecraft server)。
在本地网络上为少数玩家托管服务器不需要端口转发(port forwarding)。但是,为了让您的服务器可供全世界访问,您的路由器必须启用端口转发。(port forwarding)
要在路由器上配置端口转发(port forwarding),需要路由器文档中提供的具体说明。如果不熟悉,您可以在PortForward.com了解有关端口转发(port forwarding)的更多信息。Minecraft将要求您转发TCP 端口 25565(TCP port 25565)。
- 对于输出 IP(Output IP)(或服务器 IP(Server IP)),您需要输入服务器的本地IP 地址(IP address)。您可以通过打开命令提示符(Command Prompt)并输入/ipconfigIP 地址(IP address)。保持命令提示符窗口(Command Prompt window)打开,因为我们需要从那里启动Minecraft 服务器(Minecraft server)。
- 使用DIR命令导航到Minecraft 服务器(Minecraft server) 文件路径。(file path)该文件将类似于minecraft_server.1.15.2.jar。
java -Xmx1024M -Xms1024M -jar {服务器文件名} nogui(java -Xmx1024M -Xms1024M -jar {server file name} nogui)
将{server file name}替换为实际的服务器文件名(server file name)。如果您更愿意使用服务器的 UI,可以排除“nogui”参数。
- 服务器启动并运行后,您可以开始邀请其他人加入您的服务器。
- 家庭网络:通过您的本地(Home Network)IP 地址(IP address)连接到您的服务器。
- 非家庭网络:通过您的外部/公共IP 地址(IP address)连接到您的服务器。
- 您可以通过在 Google 上搜索“我的 IP 地址”(searching for “my ip address” on Google)找到您的公共IP 地址(IP address)。
- 为了确保您的服务器可以访问,您应该在Minecraft 服务器状态检查器中输入您的公共(Minecraft Server Status Checker)IP 地址(IP address)。
关于如何制作 Minecraft 服务器的其他资源(Other Resources On How To Make A Minecraft Server)
以下是一些关于如何最好地管理、设置和推广您自己的私人Minecraft 服务器(Minecraft server)的其他资源的链接。其中一些链接甚至可以帮助您使用MacOS 和 Linux(MacOS and Linux)操作系统设置Minecraft 服务器。(Minecraft server)
How To Make a Minecraft Server
Minecraft is one of the globe’s most popular vidеo games where you’re freе to design entire worlds in pixelated voxel form. Not just a game but also a tool for mod developers to expand upоn as wеll as a way to teach kids how to code. Those interested in the full experiencе are provided a platform to make a Minecraft server of their own.
For those new to Minecraft, it may be better to start your journey by purchasing the game and jumping in. This would help you get better acquainted with what the game has to offer. However, if you live a bold life and want it all without training wheels, this article will provide a tutorial on how to make a Minecraft server using the Windows 10 operating system.
How To Make a Minecraft Server
To properly configure a Minecraft server will require a bit of technical know-how on your part. A basic understanding of computer and network concepts will go a long way in server management.
Take the time to familiarize yourself with using a command line, the configurations of your system, network, and router, as well as some basic networking. You’ll also want to determine if you plan to run a Minecraft server from home or prefer to have it hosted. Keep in mind that hosting your own server runs the risk of exposing your home network to the world.
For a home-based Minecraft server, look to using a middling to high-tier desktop system. If you plan to play Minecraft on the same computer that you have planned for the server, it’s ill-advised. However, it can be done so long as your system is packing some serious power. It will also require an ethernet setup for reliability purposes.
Having your server hosted will normally only require a monthly fee from the service provider. This frees you from having to deal with the hassle of managing the server hardware yourself. Virtual Private Servers are ideal for smaller communities that won’t need much in the way of resources. For a more populated community, there’s always dedicated server options.
Make a Minecraft Server On Windows 10
Begin by ensuring that you have the latest version of Java installed.
- From Windows Search (Taskbar), type in Java. If Java is installed you’ll see Configure Java in the search results. You can then select it to have the Java Control Panel appear which will provide the version number. If Configure Java does not appear, you’ll need to download and install the latest version.
- Once this task is complete, you’ll want to decide where all Minecraft files will be stored. Create a folder on your PC in which all Minecraft files will go. The location is up to you just remember where it was placed. When the server is first run, configuration files are created. It’s best to keep them all together within this folder.
- The server software from the Minecraft website will come as a Java.jar file. Save it to the folder you just created.
- Right-click the file and select Run as administrator… to start the server and have it create the server configuration files. These files will need to be modified before the server is ready to use.
- Locate the text file called eula.txt inside the folder and open the file in a text editor.
- Change eula=false to eula=true. This is to accept the EULA. Failing to do so will prevent you from starting the Minecraft server.
Hosting a server for a few players on a local network will not require port forwarding. However, to make your server accessible to the world, port forwarding will have to be enabled on your router.
To configure port forwarding on your router will require specific instructions provided in your router’s documentation. If unfamiliar, you can learn more about port forwarding at PortForward.com. Minecraft, will require that you forward TCP port 25565.
- For the Output IP (or Server IP) you’ll need to enter your server’s local IP address. You can find out your server’s local IP address by opening Command Prompt and entering in the /ipconfig command. Keep the Command Prompt window open as we’ll need to start the Minecraft server from there.
- Navigate to the Minecraft server file path using the DIR command. The file will appear similar to minecraft_server.1.15.2.jar.
- Start the server with the following command:
java -Xmx1024M -Xms1024M -jar {server file name} nogui
Replace {server file name} with the actual server file name. You can exclude the “nogui” parameter if you’d rather use the server’s UI.
- After the server is up and running, you can begin inviting others to your server.
- Home Network: Connect to your server via your local IP address.
- Non-Home Network: Connect to your server via your external/public IP address.
- Your public IP address can be found by searching for “my ip address” on Google.
- In order to ensure that your server is accessible, you should enter your public IP address into the Minecraft Server Status Checker.
Other Resources On How To Make A Minecraft Server
Here are a few links to additional resources on how best to manage, set up, and promote your own private Minecraft server(s). Some of these links will even help you set up a Minecraft server using the MacOS and Linux operating systems.