Vps搭建Minecraft Server
Minecraft
这是一款沙盒游戏,玩家可以再三维世界里用方块建造建筑物,中文译为我的世界。
听说这款游戏热度特别高,可以自搭私服,拉伙伴一起玩。就用现成的VPS
尝试搭建一个server
.
Install JDK
1 | # CentOS |
Install Screen
Because we can’t keep connection long time by SSH, so we need
Screen
tool to keep touch with the Minecraft server.
1 | # CentOS |
Download Server client
1 | cd / |
Configure Server
Xmx
is mean the max used memory,Xms
is mean the min used memory, so the min memory is better > 256M, because is hard to start server when the value is below 256M.
1 | screen -S Minecraft |
How to use
input
ip + 25565
PS. 用vps
玩了两下server就挂了,低配的server不适合自建私服。
Resources:
https://www.vmvps.com/how-to-using-vps-to-build-your-own-minecraft-server.html
Author: itabas016
Link: https://tech.itabas.com/2016/01/14/vps/vps-minecraft-server/
License: CC BY-NC-ND 4.0