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.pswp.cn/news/278573.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/278573.shtml
英文地址,請注明出處:http://en.pswp.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…