方法/步骤
1概要思路:首先的步骤是先内网开服,保证让局域网内的小朋友可以一起玩,然后想办法通过相关网络辅助,让外网的人也能联机接入。开服包的使用:在我的世界论坛上下载客户端,解压本地。注意需要与我的世界客户端版本一样的。
2开服参数的设定:如果本地电脑配置一要太多人,默认是20人玩的。内网地址使用本地固定的地址,如果IP是自动分配的,可以使用自己的计算机名称。
3启动开服文件:大多数开服包的执行文件都是cmd或bat文件。双击执行。
4本地测试:我的世界客户端,在多人游戏下,使用刚刚开服地址联机接入,看看是否可以。出现信号表示内网开服成功了。在局域网内的小伙们可以通过开服地址进行一起联机玩。
5在开服端,或开服端所在内网,安装并使用nat123,通过它将自己开服地址转换为全世界人都可以联机的外网地址。添加映射,配置映射信息。内网地址,是本地开服地址。内网端口,是配置开服参数的内网端口,你映射后的外网地址和外网端口,通过外网地址进行多人游戏联机接入。
第一步、确定名字与主题
开服之初可以根据自己的喜好选择服务器的主题与名字,因为毕竟我的世界服务器还是你(服主)的世界,所以一开始的主题选择,关系到以后玩家在你服务器里面的玩法,建筑风格管理模式,如果你喜欢建造,可能你就不希望看到服务器里面刷怪塔林立。
第二步、服务器软件选择
我的世界服务器软件现在用得比较多的有两种,分别适合不同的游戏需求。我的世界官方版服务器优点:配置简单,拥有基本功能缺点:缺乏防盗等等的高级功能适合:朋友之间联机bukkit服务器优点:功能齐全,插件多样缺点:配置非常复杂,minecraft升级的时候不能同步更新适合:专业服务器
第三步、硬件配置
一般的玩家上限与内存的关系是:
500M - 3-5玩家
1G - 6-10玩家
2G - 15-20玩家
以上是linux服务器的数据
CommandsYou can issue commands to the server by typing in the console. The following commands are available. <>means a parameter is required, [ ] means it's optional and | denotes different allowed values. Strings can be enclosed in double quotes, ", if they contain spaces.
Command syntax Description
kick <player name or xuid><reason>Immediately kicks a player. The reason will be shown on the kicked players screen.
stopShuts down the server gracefully.
save <hold | resume | query> Used to make atomic backups while the server is running. See the backup section for more information.
whitelist <on | off | list | reload>
on and off turns the whitelist on and off. Note that this does not change the value in the server.properties file!
list prints the current whitelist used by the server
reload makes the server reload the whitelist from the file.
See the Whitelist section for more information.
whitelist <add | remove><name>Adds or removes a player from the whitelist file. The name parameter should be the Xbox Gamertag of the player you want to add or remove. You don't need to specify a XUID here, it will be resolved the first time the player connects.
See the Whitelist section for more information.
permissions <list | reload>
list prints the current used operator list.
reload makes the server reload the operator list from the ops file.
See the Permissions section for more information.
op <player>
Promote a player to operator. This will also persist in permissions.json if the player is authenticated to XBL. If permissions.json is missing it will be created. If the player is not connected to XBL, the player is promoted for the current server session and it will not be persisted on disk. Defualt server permission level will be assigned to the player after a server restart.
deop <player>
Demote a player to member. This will also persist in permissions.json if the player is authenticated to XBL. If permissions.json is missing it will be created.
changesetting <setting><value>Changes a server setting without having to restart the server. Currently only two settings are supported to be changed, allow-cheats (true or false) and difficulty (0, peaceful, 1, easy, 2, normal, 3 or hard). They do not modify the value that's specified in server.properties.
Backups
The server supports taking backups of the world files while the server is running. It's not particularly friendly for taking manual backups, but works better when automated. The backup (from the servers perspective) consists of three commands.
Command Description
save hold This will ask the server to prepare for a backup. It’s asynchronous and will return immediately.
save query After calling save hold you should call this command repeatedly to see if the preparation has finished. When it returns a success it will return a file list (with lengths for each file) of the files you need to copy. The server will not pause while this is happening, so some files can be modified while the backup is taking place. As long as you only copy the files in the given file list and truncate the copied files to the specified lengths, then the backup should be valid.
save resume When you’re finished with copying the files you should call this to tell the server that it’s okay to remove old files again.
欢迎分享,转载请注明来源:夏雨云
评论列表(0条)