Teeb tsa koj tus kheej server los ua si Minecraft siv sijhawm me ntsis, tab sis nws tsim nyog rau kev ua si nrog koj cov phooj ywg hauv qhov chaw nyab xeeb. Nyeem rau kom kawm paub yuav ua li cas ua Minecraft server rau Mac, Windows, thiab Linux.
Yuav Ua Li Cas Koj Yuav Tsum Tau
- Minecraft server software.
- A desktop computer lossis laptop high-end.
- Ib kab txuas Ethernet.
- A web host.
Yuav ua li cas tuav lub Minecraft Server
Nyob ntawm koj lub khoos phis tawj lub peev xwm, koj tuaj yeem lossis tsis tuaj yeem tuav lub server thiab ua si Minecraft ntawm tib lub cuab yeej. Nws raug nquahu kom siv cov chaw taws teeb hosting rau koj lub server. Lub Rooj Sib Tham Minecraft muaj cov npe dawb thiab hwm cov kev pabcuam hosting. Qee qhov, zoo li Server.pro, tso cai rau koj los ua Minecraft server dawb, tab sis feem ntau lub vev xaib hosting tuam txhab them tus nqi txhua hli.
Kev tuav koj tus kheej server tuaj yeem qhib koj lub computer rau kev tawm tsam sab nraud. Kev siv tus neeg muab kev pabcuam hwm hosting pab koj kom tsis txhob muaj kev pheej hmoo.
Setting Up Port Forwarding
Yog tias koj tsuas yog npaj ua si nrog phooj ywg hauv lub network hauv zos, koj tuaj yeem tsis quav ntsej txog ntu no; Txawm li cas los xij, rau lwm lub ntiaj teb kom nkag mus rau koj lub server, koj yuav tsum ua kom muaj chaw nres nkoj xa mus rau koj lub router. Txij li txhua lub router sib txawv, sab laj koj tus router phau ntawv qhia kom paub meej ntxiv txog kev teeb tsa chaw nres nkoj xa mus. Txawm li cas los xij, koj tuaj yeem ua raws tib cov kauj ruam txawm tias koj siv OS dab tsi.
Teeb tsa chaw nres nkoj xa mus qhib koj lub network rau sab nraud kev nyab xeeb kev pheej hmoo.
- Mus saib koj lub router homepage los ntawm kev nkag mus rau koj qhov chaw nyob IP chaw nyob rau hauv lub vev xaib tshawb nrhiav bar. Saib Yuav Ua Li Cas Pom Koj Qhov Chaw Nyob Qhov Chaw IP Qhov Chaw Nyob.
- Koj yuav raug ceeb toom kom nkag mus rau tus neeg siv lub npe thiab tus password. Nrog koj tus router phau ntawv qhia lossis saib koj lub router ntawm PortForward.com txhawm rau nrhiav tus neeg siv lub npe thiab tus password. Cov ntaub ntawv no kuj tseem tuaj yeem pom ntawm lub router nws tus kheej.
- Tom qab koj lub router reboots, nrhiav qhov Port Forwarding ntu ntawm koj lub router homepage. Tej zaum nws yuav nyob rau hauv nce qib. Tshawb xyuas lub router phau ntawv qhia kev pab yog tias tsim nyog.
-
Los ntawm no, koj tuaj yeem teeb tsa cov cai rau chaw nres nkoj tom ntej. Nyob ntawm koj lub router, tej zaum koj yuav tau xaiv ib lub pob uas hais tias Ntxiv lossis ib yam dab tsi zoo sib xws. Lub npe txoj cai "Minecraft."
- Nyob rau hauv ob qhov chaw nres nkoj, nkag mus rau lub neej ntawd Minecraft server chaw nres nkoj: 25565.
- Nkag mus rau koj lub khoos phis tawj tus IP zoo li qub hauv IP lossis Chaw nyob teb.
-
Xaiv ob lub TCP thiab UDP raws tu qauv. Koj tuaj yeem pom cov ntawv qhia zaub mov poob lossis lub thawv koj tuaj yeem tshawb xyuas.
- Click Save or Apply.
- Tom qab koj lub router reboots, koj lub server yuav tsum nkag mus rau cov players thoob ntiaj teb.
Yuav Ua Li Cas Tsim Minecraft Server rau Windows
Cov screenshots thiab cov lus qhia hauv qab no xa mus rau Windows 10. Lwm cov qauv ntawm Windows muaj qhov sib txawv, tab sis cov kauj ruam rau kev teeb tsa lub server yog tib yam:
-
Download thiab nruab qhov tshiab tshaj plaws ntawm Java.
- Download Minecraft server software. Cov ntaub ntawv muaj qhov txuas ntxiv.jar.
- Tsim ib lub nplaub tshev tshiab ntawm koj lub desktop lossis txhua qhov chaw koj xav tau thiab npe nws " minecraft_server." Luag cov. jar file rau hauv.
- ob-nias lub. jar file. Lub server yuav tsum pib, tab sis koj yuav tau txais cov lus yuam kev. Kaw lub qhov rais neeg rau zaub mov yog tias nws tsis kaw cia li.
- Qee cov ntaub ntawv teeb tsa yuav tshwm sim hauv koj daim nplaub tshev. Qhib cov ntaub ntawv npe eula.txt. Yog nug tias qhov kev pab cuam twg qhib nws nrog, xaiv koj cov ntawv nyeem, xws li Notepad.
-
Nyob hauv tus editor, nrhiav cov kab eula=false thiab hloov nws nrog eula=true, ces khaws cov ntaub ntawv thiab kaw nws.
Cov kauj ruam no tiv thaiv lub server los ntawm kev kaw cia. Yog tias koj tau txais cov lus yuam kev, koj tseem tuaj yeem khiav koj lub server ua tus tswj hwm. Cia li right-click lub. jar file thiab xaiv Run as administrator.
-
Ob zaug-nias cov ntaub ntawv server dua. Lub sijhawm no, koj tus neeg rau zaub mov yuav tsum pib ua tiav, thiab ntau cov ntaub ntawv yuav tshwm sim hauv daim nplaub tshev. Thaum koj pom cov lus "Ua tiav" hauv lub qhov rais server, ntaus " stop" hauv lub thawv ntawv thiab nias Enter Lub server yuav tsum kaw.
-
Koj tuaj yeem khiav koj cov neeg rau zaub mov tam sim no, tab sis koj yuav xav kho lub cim xeeb lub cim xeeb thiab tsim cov ntawv tso tawm yog tias koj npaj yuav ua si nrog lwm tus. Ua li no, tsim cov ntaub ntawv.txt tshiab hauv Notepad los ntawm kev xaiv File > New. Ntaus cov hauv qab no:
java -Xmx3G -Xms1G -jar server.jar
- Go to File > Save As and name the file " run.bat. "
- Select Save as type, ces xaiv All Files.
- Xaiv koj minecraft_server folder rau qhov chaw thiab xaiv Txuag. Thaum twg koj xav tso koj lub server, tsuas yog ob npaug nyem rau cov ntaub ntawv run.bat koj tsim.
- Tam sim no koj tuaj yeem caw lwm tus Minecraft players los koom nrog koj lub server. Lawv tsuas yog xav paub koj qhov chaw nyob IP pej xeem, lossis koj qhov chaw nyob IP hauv zos yog tias koj ua si hauv tib lub network.
- txhawm rau xyuas seb koj lub server puas nkag tau, nkag mus rau koj tus IP chaw nyob rau hauv Minecraft Server Status Checker. Koj tus neeg rau zaub mov yuav tsuas yog muaj nyob rau pej xeem yog tias koj yav tas los teeb tsa chaw nres nkoj xa mus. Txhawm rau saib koj qhov chaw nyob IP pej xeem, tsuas yog sau "kuv tus IP chaw nyob" rau hauv Google.
Yuav ua li cas teeb tsa Minecraft Server rau Mac
Txhawm rau khiav Minecraft server ntawm Mac, koj yuav tsum muaj macOS 10.8 lossis tom qab ntawd. Txhawm rau hloov kho koj OS, mus saib Apple Support.
- Los ntawm Apple ntawv qhia zaub mov, mus rau System Preferences thiab nrhiav Java icon. Qhib nws los tso tawm Java Control Panel.
- Click the Update tab, ces xaiv Update Now.
- Thaum lub qhov rais installer tshwm, xaiv Install Update > Install and Relaunch.
- Download Minecraft server software.
- Create a new folder named " minecraft_server" and drag the server software file rau hauv.
- Qhib ib daim ntawv tshiab.txt los ntawm kev nkag mus rau hauv koj li Applications nplaub tshev thiab nyem ob npaug rau TextEdit icon.
- Once hauv TextEdit, xaiv Format > Ua Daim Ntawv Plain > OK.
-
Ntaus cov hauv qab no rau hauv daim ntawv:
!/bin/bash
cd "$(dirname "$0")"
exec java -Xms1G -Xmx1G -jar {server file name} nogui
Tsuas hloov { server file name} nrog lub npe ntawm cov ntaub ntawv server.
- Txuag cov ntaub ntawv hauv cov ntawv tais ceev tseg uas muaj koj cov ntaub ntawv.jar thiab lub npe nws " start.command."
- Qhib Mac davhlau ya nyob twg los ntawm kev mus rau Applications > Utilities, ces ob npaug nias rau Terminaldaim ntawv thov.
- Nyob rau hauv lub qhov rais davhlau ya nyob twg, ntaus " chmod a+x" (tsis muaj cov lus hais) ua raws li ib qho chaw, thiab tom qab ntawd nias Enter.
- Drag thiab tso lub start.command file koj tsim rau hauv lub qhov rais davhlau ya nyob twg, ces nias Enter dua.
- Tam sim no koj tuaj yeem qhib start.command file txhawm rau khiav lub server. Thaum koj nyem ob npaug rau cov ntaub ntawv, lub qhov rais tshiab yuav qhib, thiab koj yuav pom qee cov lus yuam kev. Tsis txhob txhawj txog lawv; Tam sim no tus neeg rau zaub mov yuav tsum npaj ua si Minecraft.
- Caw lwm tus los koom nrog koj tus neeg rau zaub mov los ntawm kev sib qhia koj tus pej xeem lossis tus IP chaw nyob. Nkag mus rau koj tus IP chaw nyob rau pej xeem rau hauv Minecraft Server Status Checker kom paub meej tias nws nkag mus rau lub ntiaj teb sab nraud. Nrhiav koj qhov chaw nyob IP pej xeem los ntawm kev nkag mus rau "kuv tus IP chaw nyob" rau hauv Google.
Yuav ua li cas teeb tsa Minecraft Server ntawm Linux
Nws tuaj yeem ua rau Minecraft server nrog rau Linux faib. Cov kauj ruam hauv qab no yog tsim lub Minecraft server rau Ubuntu 16.04. Kev teeb tsa yog ua tiav tag nrho los ntawm lub davhlau ya nyob twg.
Vim tias koj xav tau RAM ntau npaum li qhov ua tau, koj yuav tsum siv qhov kev pabcuam sab nraud los khiav koj lub server. Teem ib tus as khauj nrog ib qho ntawm cov kev pabcuam uas tau teev tseg hauv Minecraft Forum ua ntej koj pib tsim koj lub server.
-
Txuas rau koj qhov kev pabcuam hosting ntawm SSH los ntawm kev nkag mus rau hauv qab no rau hauv koj lub davhlau ya nyob twg:
ssh username@ipaddress
Hloov "ipaddress" nrog koj tus tswv tsev tus IP chaw nyob thiab tus neeg siv lub npe nrog koj lub npe siv. Tej zaum koj yuav raug nug kom sau koj tus password rau koj qhov kev pabcuam hosting. Ua raws li cov lus qhia kom ua tiav cov txheej txheem.
-
Install Java los ntawm kev nkag mus rau hauv qab no rau hauv lub davhlau ya nyob twg:
sudo apt-tau hloov tshiab
sudo apt-tau nruab default-jdk
Yog xav tau, nkag mus Y thaum nug kom tso cai rau kev teeb tsa.
-
Install Screen kom koj lub server khiav thaum koj tsis txuas nrog. Nkag mus:
sudo apt-tau nruab npo
-
Tsim cov npe rau koj cov ntaub ntawv server thiab qhib nws los ntawm kev nkag mus rau hauv qab no:
mkdir minecraft
cd minecraft
-
Install wget. Nkag mus:
sudo apt-tau nruab wget
-
Download Minecraft server cov ntaub ntawv siv wget hais kom ua. Nkag mus:
wget -O minecraft_server.jar
Saib nplooj ntawv rub tawm Minecraft kom paub tseeb tias qhov URL saum toj no tau hloov tshiab.
-
Tau txais daim ntawv tso cai daim ntawv tso cai kawg nrog rau cov lus txib no:
echo "eula=true" > eula.txt
-
Run Screen los ntawm nkag mus:
screen -S "Minecraft server 1"
-
Pib koj lub server nrog cov lus txib hauv qab no:
java -Xmx512M -Xms512M -jar minecraft_server.jar nogui
Xav kom kho tus - Xmx thiab - Xms nqis los faib ntau lub cim xeeb rau cov neeg rau zaub mov yog tias koj tus tswv yuav tso cai.
- Koj tuaj yeem lees paub tias koj lub server nkag tau los ntawm kev nkag mus rau IP chaw nyob rau hauv Minecraft Server Status Checker.
Yuav ua li cas txuas rau koj Minecraft Server
Yog tias koj tuav koj tus kheej Minecraft server, lub qhov rais server yuav tsum qhib rau lwm tus kom nkag mus tau.
- Qhib Minecraft thiab nkag rau hauv koj tus lej Minecraft.
- Xaiv Multiplayer los ntawm Minecraft zaub mov.
- Xaiv Add Server nyob rau sab xis ntawm qhov screen.
-
Muab koj lub npe rau koj lub npe.
Nco ntsoov lub ntiaj teb no pom tau, tsis txhob siv tej lus hais lus phem lossis lus phem.
- Nkag mus rau koj tus tswv tsev tus IP chaw nyob rau hauv Chaw Nyob lub thawv. Yog tias koj hosting tus neeg rau zaub mov, nkag mus rau koj tus IP chaw nyob, uas txawv dua li koj tus IP chaw nyob.
- Xaiv Done nyob hauv qab ntawm qhov rais.
- Xaiv koj lub npe neeg rau zaub mov thaum nws tshwm rau saum lub vijtsam, tom qab ntawd xaiv Koom nrog server.
-
Piv txwv tias koj tau npaj koj lub router kom zoo, cov neeg ua si thoob ntiaj teb tam sim no tuaj yeem txuas rau koj lub server.
Tej zaum koj yuav xav tau lov tes taw koj lub computer firewall ua ntej lwm tus tuaj yeem txuas rau koj lub server hauv zos; Txawm li cas los xij, ua li ntawd tuaj yeem ua rau koj lub khoos phis tawj muaj kev cuam tshuam rau sab nraud, yog li tsuas yog qhia koj qhov chaw nyob IP ntiag tug rau cov tib neeg uas koj ntseeg siab.
FAQ
Kuv yuav ua li cas hloov kho Minecraft server?
Teeb tsa lub modded Minecraft server cuam tshuam feem ntau ntawm cov kauj ruam ib yam li saum toj no, nrog rau ib qho kev zam. Koj tseem yuav nruab Minecraft Forge, uas muab rau koj nkag mus rau mods. Thaum koj tau teeb tsa Forge thiab koj lub server, koj tuaj yeem rub tawm Minecraft mods los hloov qhov kev ua si ua haujlwm li cas.
Kuv koom nrog Minecraft server li cas?
Lwm tus tuaj yeem koom nrog koj lub server (lossis koj tuaj yeem koom nrog lwm tus) los ntawm kev qhib Minecraft, mus rau Multiplayer > Direct Txuas, thiab nkag mus rau pej xeem IP chaw nyob cuam tshuam nrog lub server. Xwb, cov neeg ua si ntawm koj lub network Wi-Fi tuaj yeem nkag mus rau koj tus IP chaw nyob.
Kuv yuav ua lub eeb hauv Minecraft li cas?
Lub eeb, uas tso cai rau koj caij koj cov tsiaj nyeg thiab cov pob txha, tsuas yog muaj los ntawm kev saib hauv siab thoob plaws ntiaj teb; Koj tsis tuaj yeem tsim lub eeb hauv Minecraft. Hauv lub ntiaj teb muaj tswv yim, txawm li cas los xij, koj tuaj yeem siv cov lus txib hauv Minecraft kom tau txais lub eeb los ntawm kev qhib lub thawv sib tham thiab ntaus ntawv / muab @[username] eeb 1 lossis /muab @[username] saddle 1 0