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我的世界基岩版服务器是一种基于Minecraft游戏的服务器,可以让玩家在多人模式下一起游戏。开设基岩版服务器需要一定的技术和资源,具体的开设难度和好坏需要根据您的技术水平和资源情况来评估。以下是一些开设基岩版服务器的注意事项:
1 确定服务器类型和规模:您需要确定服务器的类型和规模,包括服务器的主题、游戏模式、玩家数量等。
2 选择合适的服务器主机:您需要选择一台性能稳定、带宽充足的服务器主机,可以在云服务商或者专业的服务器托管公司进行租赁。
3 配置服务器环境和软件:您需要配置服务器环境和安装Minecraft基岩版服务器软件,可以参考相关的教程和文档进行 *** 作。
4 管理服务器和维护安全:您需要管理服务器和维护安全,包括设置管理员权限、备份数据、防止攻击等。
总之,开设基岩版服务器需要一定的技术和资源,需要根据实际情况进行评估和选择。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)