You 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
stop Shuts 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 serverproperties 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 permissionsjson if the player is authenticated to XBL If permissionsjson 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 permissionsjson if the player is authenticated to XBL If permissionsjson 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 serverproperties
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纯手打,累死我了····
自己搞主机开,按照纯净服5视距的设置,支撑百人同时在线,得需要服务器80G运行内存,50M的上行宽带,CPU起码得I9 11900K或者Intel Xeon E 2288G,这么多人你至少得开放半径5万格的地图吧,硬盘就还得500G起步,还不能是sata接口的机械盘,得至少M2接口的固态盘。
但话说回来了,你说的百人服务器是指会有一百个玩家注册玩过还是最高同时在线一百玩家啊,同时能在线一百人,说实话,在国内算是一流的私服了。
如果你说的是在玩家服务器列表里显示的服务器可容纳人数,那个和服务器主机硬件无关,在服务器文件里用记事本打开serverproperties,有一行max-players = 等号后面的数字就是,想改多少改多少。
如果是第一种情况,真有百人同时在线,那一般还不能用一台主机开,得用多台分布式服务器才能解决这么大的数据处理量。
如果是第二种情况,在配置文件serverproperties随便修改人数后,如果日常能有个最高15人同时在线(15人是一般服的平均水平了),那搞个8G左右内存,10M上行带宽,随便一个中等I7或I9处理器就可以玩的很顺畅了。
最后,我这以上数据都是根据纯净服5视距的情况下给的,真正开服会有很多影响因素,比如视距,5视距毕竟还是可视范围太小,想玩舒服不得开到10啊,还有如要一些增加内容玩法的插件MOD,会提升对配置的需要,或者服务器里有没有人搞高山流水,大量圈养动物,高频红石等等都会吃掉大量配置。
总之,开次服,运营一段时间,你就心有都有数了。这得看你的钱包决定呀。
服务器主机一般都是选CPU然后再配其他东西的,你去英特尔的官网选一个服务器级别的CPU才能配其他的东西,我比较推荐E5-2650 v4这款CPU,然后再配一个华硕 Z10PE-D16主板,对付我的世界千人应该就没问题了,如果还不行那就上2个E5-2650 v4,反正主板支持双CPU。一般开网游 对服务器的配置要求都比较高,如果比较吃硬件,建议用I7 16G内存的 硬盘使用固态,或者志强品牌系列的 16核心 32G的 然后也挂在固态,我现在用的是山东恒欣的高防机器,因为比较火的游戏,攻击也多,希望能帮助你哦~
在服务器端的文件夹配置,文件名:serverproperties配置里找到这一行server-port=25565后面的25565就是端口!
使用花生壳对内网进行端口映射
1、首先确保下内网网络是不是正常。
2、在内网下载最新客户端,安装后登录。
3、双击上面的域名进入花生壳端口映射添加界面,打开内网映射。
4、添加映射,应用名称随意,内网主机就是被公网访问的那台电脑IP地址,内网端口就是希望被映射的端口,点击确定,就启动端口映射了。
游戏内容
介绍
玩家们可以自由选择游戏模式 [生存、创造、冒险、极限 (仅Java版) 和旁观模式(仅Java版) ]。在各种模式中体验不一样的有趣玩法,在生存模式中享受打怪、冒险等多种乐趣,在创造模式下享受当创世神的乐趣。该游戏以玩家在三维空间中自由地创造和破坏不同种类的方块为主题。
玩家在游戏中可以在单人或多人模式中通过摧毁或创造精妙绝伦的建筑物和艺术,或者收集物品探索地图以完成游戏的成就(进度)。玩家也可以尝试红石电路和指令等玩法。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)