当前位置:网站首页>使用快解析搭建自己的minecraft服务器
使用快解析搭建自己的minecraft服务器
2022-07-04 23:12:00 【快解析】
很多minecraft服务器主都想自己搭建一个外网的minecraft服务器,在没有外网IP的情况下,一般都是使用Logmein Hamachi方案。这种方案有它的弊端,需要客户机安装Hamachi,不方便。另外,免费版只支持5人。开服兴趣大大降低。
今天介绍一种使用快解析内网穿透服务搭建自己的minecraft服务器的方法。
一、安装快解析客户端

1.进入快解析官网,下载当快解析的安装包。
2.双击安装包,按照提示安装。

二、配置minecraft服务器
1.检查配置与带宽
基本要求是内存不能小于1G
2.安装Java环境
访问http://www.java.com/zh_CN/ 下载并安装最新版本Java。
3.这里以常用的Bukkit服务器为例,配置服务端
(1)下载bukkit服务端主文件,网址:http://dl.bukkit.org/, 选择所需版本;
(2)将下载到的CraftBukkit.jar放到一个专门的文件夹中,如果下载到的文件名不是CraftBukkit.jar,请手工重命名。
(3)新建一个文本文档,重命名为start.bat;
(4)编辑内容;
① @ECHO OFF
② java -Xms1g -Xmx1g -jar CraftBukkit.jar
③ pause
④ 其中xms是最小内存,xmx是最大内存,可以根据自己需要修改,保存。
⑤打开start.bat,等待出现Done (****s)! For help, type "help" or "?"后,输入stop停止服务器;

(5)根目录出现一堆文件,使用编辑器打开server.properties文件;
server-port=25565 '服务器端口
online-mode=false '正版验证,盗版用户无法登录
max-players=20 '支持在线人数,取决于CPU
motd=A Minecraft Server '服务器名称

(6)保存并重新打开start.bat这样就成功配置一个服务器!
三、配置快解析
1.打快解析客户端,选择任意登录方式进行登录
2.点击快解析主界面上添加端口映射
3.按照要求填写信息
涉及映射填写相关信息有:
应用程序端口:以实际为准,不可以随便乱填写。给大家顺便普及几个常用的端口:WEB服务器(网站服务器):80端口;FTP服务器(文件服务器):21端口;终端服务器:3389端口;邮件服务器:25端口(SMTP)和110端口(POP);VPN服务器:1723端口。
公共端口类型:根据自己场景应用需求选择。
内网地址:内网访问固定地址,可以是固定内网IP或计算机名,推荐填写127.0.0.1格式。

4.添加成功,产生一个外网访问地址。
已经在内网快解析端口映射域名生效后,在游戏中登录时请用 域名和外网端口(快解析的外网访问地址)登录。
完成!开服成功!
边栏推荐
- Excel 快捷键-随时补充
- Jar批量管理小工具
- The initial arrangement of particles in SPH (solved by two pictures)
- Redis introduction complete tutorial: List explanation
- The small program vant tab component solves the problem of too much text and incomplete display
- Network namespace
- Solve the problem that the virtual machine cannot be remotely connected through SSH service
- C语言快速解决反转链表
- 法国学者:最优传输理论下对抗攻击可解释性探讨
- 【爬虫】数据提取之xpath
猜你喜欢

SPH中的粒子初始排列问题(两张图解决)

Qt个人学习总结

ECCV 2022 | 腾讯优图提出DisCo:拯救小模型在自监督学习中的效果

Redis: redis transactions

一次edu证书站的挖掘

Font design symbol combination multifunctional wechat applet source code

CTF competition problem solution STM32 reverse introduction

Redis getting started complete tutorial: hash description

Selected cutting-edge technical articles of Bi Ren Academy of science and technology

Combien de temps faut - il pour obtenir un certificat PMP?
随机推荐
The input of uniapp is invalid except for numbers
微软禁用IE浏览器后,打开IE浏览器闪退解决办法
【二叉树】节点与其祖先之间的最大差值
The caching feature of docker image and dockerfile
企业里Win10 开启BitLocker锁定磁盘,如何备份系统,当系统出现问题又如何恢复,快速恢复又兼顾系统安全(远程设备篇)
[graph theory] topological sorting
heatmap. JS picture hotspot heat map plug-in
js正则表达式之中文验证(转)
cout/cerr/clog的区别
华泰证券低佣金的开户链接安全吗?
UML diagram memory skills
Why does infographic help your SEO
Summary of wechat applet display style knowledge points
A complete tutorial for getting started with redis: understanding and using APIs
Solve the problem that the virtual machine cannot be remotely connected through SSH service
P2181 diagonal and p1030 [noip2001 popularization group] arrange in order
Mysql database backup and recovery -- mysqldump command
ECS settings SSH key login
S32 Design Studio for ARM 2.2 快速入门
The small program vant tab component solves the problem of too much text and incomplete display