minecraft服务器_如何启动自己的Minecraft服务器进行多人游戏

minecraft服务器

minecraft服务器

banner

If you’ve played Minecraft, then it’s easy to see how much fun it can be. Running your own server lets you bring all of your friends into the same game, and you can play with rules you get to make or break. It’s the ultimate in an already addictive game!

如果您玩过《我的世界》,那么很容易看到它有多有趣。 运行自己的服务器可使您将所有朋友带入同一个游戏,并且您可以按照自己的成败规则进行游戏。 这是本已令人上瘾的游戏的终极目标!

We’ve already shown you How To Get Started with Minecraft, a Game Geeks Love. What’s better than single player? Multiplayer, of course! You can join one of hundreds of servers at minecraftservers.net to get started, or search around for more exclusive ones, but ultimately you’re bound by their rules and discretion. Running your own server lets you and your friends can play together with your own set of rules, and it’s really easy to do.

我们已经向您展示了Gines Love游戏Minecraft的入门。 有什么比单人游戏更好? 多人游戏,当然! 您可以在minecraftservers.net上加入数百台服务器中的一台,以开始使用服务器,也可以搜索更多的专用服务器,但最终您会受其规则和自由裁量权的约束。 运行自己的服务器使您和您的朋友可以一起使用自己的规则,这非常容易做到。

下载并首次运行 (Download and First Run)

download

Head on over to the Minecraft Download page and go down to the “Multiplater beta server software” section. Windows users can Just download the .exe file and run it.  OS X and Linux users should download the .jar file, then run the server using the following command in Terminal:

转到Minecraft下载页面,然后转到“ Multiplater beta服务器软件”部分。 Windows用户可以下载.exe文件并运行它。 OS X和Linux用户应下载.jar文件,然后在终端中使用以下命令运行服务器:

java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui

java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui

If you want to devote more (or less) RAM to your server, change the 1024M to something else, like 2048M. The first number is the maximum amount it can use, and the second number is the minimum. Since everything is in Java, you should have at least a spare gig of RAM to devote to Minecraft. Things can get unruly with a decent amount of people playing, especially when you start to do crazy stuff like blowing up huge caverns with massive amounts of TNT.

如果要为服务器分配更多(或更少)的RAM,请将1024M更改为其他内容,例如2048M。 第一个数字是它可以使用的最大数量,第二个数字是最小的数量。 由于所有内容都是Java语言,因此您至少应有一个备用的RAM用于Minecraft。 大量的玩耍会使事情变得不规则,尤其是当您开始做疯狂的事情时,例如用大量的TNT炸毁巨大的洞穴。

server windows

In the server window, you’ll see the memory and processor thread use on the left, the list of connected players in the lower left, and the log and chat window on the right side. The first time you run the server, you’ll get some errors at first. That’s normal, so don’t panic!

在服务器窗口中,您将在左侧看到内存和处理器线程的使用,在左下方看到已连接播放器的列表,并在右侧看到日志和聊天窗口。 第一次运行服务器时,首先会出现一些错误。 那很正常,所以不要惊慌!

log errors

The server didn’t find the configuration files it needs, so it’ll make them. You’ll see some new files come up in the same folder as your server.

服务器找不到所需的配置文件,因此将其创建。 您会看到一些新文件出现在与服务器相同的文件夹中。

new files

There’s the “world” folder, which contains your generated map area, an ops list, and a server.properties file, among other things.

这里有一个“世界”文件夹,其中包含您生成的地图区域,一个操作列表和一个server.properties文件等。

Once the world is finished generating, you’ll get a little notice about the help file. Close the server, or if you’re running it in Terminal, just type “stop” (without the quotes). We’re going to tweak and we can’t do that while the server’s running.

一旦完成生成,您将获得有关帮助文件的一点通知。 关闭服务器,或者如果您在终端中运行它,只需键入“ stop”(不带引号)。 我们将进行调整,并且在服务器运行时无法执行此操作。

调整服务器的属性 (Tweaking the Server’s Properties)

Open up the server.properties file in notepad. You’ll see something like this:

在记事本中打开server.properties文件。 您会看到以下内容:

server

You’ll see some important options.

您会看到一些重要的选择。

  • level-name: This is the name of your Minecraft world. If you change this name, the server will look for a folder with a matching name, and if none is found, it will generate a new level with this name.

    level-name:这是您的Minecraft世界的名称。 如果更改此名称,则服务器将查找具有匹配名称的文件夹,如果找不到,则它将使用该名称生成新级别。
  • spawn-monsters: If set to false, monsters such as zombies, skeletons, and creepers will not spawn. Often turned off for “op” or “creative” servers, where everyone builds and survival is not the focus of gameplay.

    生成怪物:如果设置为false,则不会生成诸如僵尸,骷髅和爬行者之类的怪物。 通常对于“ op”或“ creative”服务器关闭,因为每个人都在这里建造,生存并不是游戏的重点。
  • spawn-animals: If set to false, animals such as wolves, cows, sheep, and chickens will not spawn.

    spawn-animals:如果设置为false,则不会生成诸如狼,牛,绵羊和鸡等动物。
  • pvp: If set to false, players will not be able to harm one another, although you can still inflict damage by pushing other players off of ledges.

    pvp:如果设置为false,玩家将无法互相伤害,尽管您仍然可以通过将其他玩家推离壁架来造成伤害。
  • white-list: If set to true, the server will only allows the usernames in the “white-list.txt” file to successfully connect and play.

    白名单:如果设置为true,则服务器将仅允许“ white-list.txt”文件中的用户名成功连接并播放。

For a complete description of all of the options, check out the Minecraft Wiki’s page on server.properties. Once you’re done changing things to what you want, save the file.

有关所有选项的完整说明,请查看server.properties上的Minecraft Wiki页面。 完成将内容更改为所需内容后,保存文件。

Since it’s your server, be sure to add your Minecraft username in the “ops.txt” file. That way, you’ll be an “operator” with full admin rights. You can generate any item you want, ban players, make other players ops, and change the in-game time.

由于它是您的服务器,因此请确保在“ ops.txt”文件中添加您的Minecraft用户名。 这样,您将成为具有完全管理员权限的“操作员”。 您可以生成所需的任何物品,禁止玩家,进行其他玩家操作并更改游戏时间。

In order for your friends to connect to your server you’ll have to configure port forwarding on your router. The default port is 25565, but this can be changed in the server.properties file. Your friends will need your IP address (or DNS alias/redirect) and this port number so that they can connect.

为了让您的朋友连接到您的服务器,您必须在路由器上配置端口转发。 缺省端口为25565,但是可以在server.properties文件中更改此端口。 您的朋友将需要您的IP地址(或DNS别名/重定向)和此端口号,以便他们可以连接。

When you’re ready, start up the server again.

准备就绪后,再次启动服务器。

在服务器上播放 (Playing On a Server)

multiplayer

When you start Minecraft, you’re given the option of connecting to a multiplayer server. Clicking on it will allow you to enter its address information.

启动Minecraft时,可以选择连接到多人服务器。 单击它将允许您输入其地址信息。

serverinfo

If you’re playing on the same computer as your server, you can just type “localhost” (without the quotes). Otherwise, plug in your server’s IP address or domain name. Click connect, and you’ll join the server.

如果您与服务器使用的是同一台计算机,则只需键入“ localhost”(不带引号)即可。 否则,请插入服务器的IP地址或域名。 单击“连接”,您将加入服务器。

Hit T to bring up the chat console.

按T调出聊天控制台。

chat prompt

You’ll see all of the public messages by users, system messages, and commands that you’ve executed. Notice the little prompt (>) in the lower left corner. Typing something and hitting Enter will send a message to all other players in a group chat. You can execute commands here, too, and they always start with a forward slash (/).

您将按用户,系统消息和已执行的命令查看所有公共消息。 请注意左下角的小提示(>)。 键入内容并按Enter,将在群聊中向所有其他玩家发送消息。 您也可以在此处执行命令,并且它们始终以正斜杠(/)开头。

As an op, you should be able to type “/list” and hit Enter to list all of the connected players. You can also give items to any player (including yourself), ban and pardon specific users, and change the system time. If you’re unsure of a specific command’s requirement, you can type “/help” to get more info. For the full list of server commands, check out the Minecraft Wiki’s Server Commands page.

作为操作,您应该能够输入“ / list”并按Enter列出所有已连接的播放器。 您还可以将物品提供给任何玩家(包括您自己),禁止和赦免特定用户,以及更改系统时间。 如果不确定特定命令的要求,可以键入“ / help”以获取更多信息。 有关服务器命令的完整列表,请查看Minecraft Wiki的“服务器命令”页面。

Now go and tell all of your friends to join! There’s nothing that beats building massive structures, exploring the vast landscape, and mining into moutains, except doing it with 8 of your best friends.

现在,告诉所有朋友加入! 除了与您的8个最好的朋友一起做之外,没有什么比建造大型建筑物,探索广阔的景观和挖掘山寨更好的了。

翻译自: https://www.howtogeek.com/58968/how-to-start-your-own-minecraft-server/

minecraft服务器

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/278573.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

Spring Boot 2.x(六):优雅的统一返回值

目录 为什么要统一返回值ReturnVOReturnCode使用ReturnVO使用AOP进行全局异常的处理云撸猫公众号为什么要统一返回值 在我们做后端应用的时候,前后端分离的情况下,我们经常会定义一个数据格式,通常会包含code,message,…

Object defineProperty

Object defineProperty一、简介1. 属性表2.互斥性3. get、set的简单使用二、深入1.定义常量2. Object.preventExtensions() 禁止对象拓展(不可逆)3. Object.seal() 密封(不可逆)4. Object.freeze() 冻结(不可逆)三、应用一、简介 defineProperty可以详细的配置一个对象的属性的…

jhope代码分析以及网站结构

如下图所示,为Extjs部分代码提供的网页结构:网站看上去本来是这样的前端采用ExtJS,与后台的SpringMVCSpringHibernate进行数据交互。之前分析过登录的过程,不赘述在loginController处理登录返回结果的最后,如下语句也就…

Ubuntu下Authentication token manipulation error或者Authentication Failure解决办法

在Ubuntu18.04使用以下命令出现以下错误: 用passwd为新建用户或者root添加密码:Authentication token manipulation error 切换root用户出现Authentication Failure. 网上出现了大致两种方法: 第一种:用户文件和密码文件被保护,用chattr命令移除保护即可…

初学者:如何使用虚拟PC将Windows 7安装到虚拟机

Continuing in our series covering how to use Virtual PC, this week we’ll be showing you how to install Windows 7 into a virtual machine. It’s a very simple process, but here’s the step-by-step guide for beginners. 继续我们的系列文章,介绍如何使…

arcgis本地服务快速迁移到新机

情景 在本机或服务器发布了几十、几百个gis服务,当换电脑或者换服务器时不可能挨个找源文件重新发布服务,于是就想着既然是本地文件,一定可以拷贝过去的,经过一番搜索,结果如下: 方案一、迁移至新站点 新机站点创建…

js中 给json对象添加属性和json数组添加元素

json对象: 比如现在有一个json对象为jsonObj,需要给这个对象添加新的属性newParam,同时给newParam赋值为pre。做法如下: var jsonObj{param1:22,param2 :33}; 现在给jsonObj添加一个新的属性newParam jsonObj.newParam pre; 新的…

zabbix中php信息缺失之后的安装

安装php下enable bcmath和gettext (在安装php时可以添加 --enable-bcmath --enable-gettext)1,bcmath安装方法bcmath这个扩展在php源安装包压缩包中都是有的,需要重新编译一下才能够支持;cd php-5.2.7/ext/bcmath(源…

极客大佬用什么电脑_极客特惠:笔记本电脑,高清电视和免费应用

极客大佬用什么电脑If you love new gear but not high prices then we’ve got some deals for you; grab some deeply discounted laptops, monitors and HDTVs, and free mobile apps in this week’s Geek Deals roundup. 如果您喜欢新设备,但不喜欢高价&#x…

Linux内核 TCP/IP、Socket参数调优

详见http://blog.csdn.net/u010009038/article/details/51917460转载于:https://blog.51cto.com/jack88/2063979

ppt插入html(用office而不是wps)

最近新get到的技能,在ppt里面插入html!注意要用 Microsoft Office PowerPoint 才行,而不是wps,一定要先安装Microsoft Office PowerPoint再执行以下操作。 1、修改注册表的值,才能在PowerPoint中插入 Microsoft Web B…

如何使用SkyDrive的25 GB作为映射驱动器以方便访问

SkyDrive is an online storage system included in Windows Live, which gives you 25 GB of space that you can sync to your desktop. Here’s how to connect it to your Windows 7 computer as a mapped drive. SkyDrive是Windows Live中包含的一个在线存储系统&#xff…

SpringBoot+Mybatis 框架之 @SelectProvider注解方式搭建

之前搭建了Select标签来做SringBootMybatis的集成。这次使用SelectProvider标签的方式搭建一次。 一、搭建SpringBoot的项目 https://start.spring.io/自己配置SpringBoot的项目,点击“Generate Project”按钮就可以下载下来一个配置好的SpringBoot项目。 二、项目结…

程鑫峰:1.23日央行推行负利率政策,伦敦金后市行情解析

程鑫峰:1.23日央行推行负利率政策,伦敦金后市行情解析 QQ截图20180123153028.png   尽管美国政府关门闹剧刚刚结束,但交易员、投资者和策略师对于美元的前景依然不太乐观。美国货币政策对美元的影响力减弱可能是全球通货再膨胀交易的另一个…

从购买域名到nginx,flask搭建自己的网站

搭建一个只属于自己的网站? 一、注册域名(可选*) 1.注册阿里云账号 网址:登录(注册) 2.购买域名:阿里云域名注册 有一元域名、免费域名等。 购买过程中需要创建信息模板(必须完成邮箱真实…

alexa语音实现_如何通过语音删除Alexa录音

alexa语音实现Amazon亚马孙Amazon is rolling out new privacy features today for Alexa. In addition to an educational “privacy hub,” the company lets you delete your stored recordings by voice. But it’s off by default; you’ll need to flip a switch. 亚马逊…

linux如何查看所有的用户(user)、用户组(group)、密码(password/passwd)

linux如何查看所有的用户和组信息_百度经验https://jingyan.baidu.com/article/a681b0de159b093b184346a7.html linux添加用户、用户组、密码_百度经验https://jingyan.baidu.com/article/335530da8b7e0419cb41c3e5.html 给用户开通sudo权限 xxx is not in the sudoers file.Th…

angular之两种路由

安装angular npm install -g angular/cli ng new myapp ng g component componentName 自带路由 引入&#xff1a;angular-route.js <div ng-controllerctr1><a href#home>首页</a> <a href#mine>我的</a> <div ng-view></div><d…

用scrapy框架写爬虫

爬虫可以发送给引擎的两种请求&#xff1a; # 1、url&#xff1a;# &#xff08;爬虫&#xff09;yield scrapy.Request -> 引擎 -> 调度器&#xff08;发送给调度器入队&#xff09; -> 引擎&#xff08;调度器出队请求于引擎&#xff09;# -> 下载器&#xff08;…

audacity_如何在Audacity中快速编辑多个文件

audacityGot a bunch of files that need to be edited the same way? You can automate the process to save time and effort using Audacity’s Chain feature and modify tons of files at the same time. 有一堆需要以相同方式编辑的文件&#xff1f; 您可以使用Audacity…