English
This mod adds a command /setping that can deliberately increase latency and packet loss rate for game network packets.
In the config file, you can adjust the minimum and maximum packet delay values, as well as enable debug log output.
Command Format
/setping get [<player>]
Requires Level 2 permission. This command is used to obtain the latency and packet loss rate settings for the target player on both the client and server sides.
/setping client <rate> <min_ping> <max_ping> [<player>]
Level 3 permissions are required (if a target player needs to be specified, level 4 permissions are required). This command is used to set the packet delay and packet loss rate from the target player's client to the server.
Among them, rate is the packet loss rate, and the packet delay will be a random number (in milliseconds) from min_ping to max_ping, the same applies below.
/setping server <rate> <min_ping> <max_ping> [<player>]
Level 3 permissions are required (if a target player needs to be specified, level 4 permissions are required). This command is used to set the packet delay and packet loss rate from the server to the target player's client.
中文
本模组添加了一个命令 /setping,可以人为增加游戏网络数据包的延迟和丢包率。
在配置文件中,你可以调整数据包延迟的最小值和最大值,以及开启调试日志输出。
命令格式
/setping get [<player>]
需要 2 级权限。此命令用于获取目标玩家在客户端和服务端的延迟与丢包率设置。
/setping client <rate> <min_ping> <max_ping> [<player>]
需要 3 级权限(如果需要指定目标玩家,则需要 4 级权限)。此命令用于设置从目标玩家的客户端到服务端的数据包延迟和丢包率。
其中 rate 为丢包率,数据包延迟将为 min_ping 到 max_ping 之间的随机数(单位为毫秒),下文同理。
/setping server <rate> <min_ping> <max_ping> [<player>]
需要 3 级权限(如果需要指定目标玩家,则需要 4 级权限)。此命令用于设置从服务端到目标玩家的客户端的数据包延迟和丢包率。
你是这个资源的作者?登录后可认领此资源。
相似资源
让你能够在世界中的任何位置定位结构。
一堆修复
TerraFirmaCraft (TFC) 是一个全面转换模组,对生存模式进行了彻底的改造与重新设计。
所有本应存在的事物
为 Cobblemon 添加 Mega 进化、Z 招式、太晶化、超极巨化/超巨大化、究极爆击与融合!
一款适用于你选择的加载器的 Minecraft VR 模组!
评论 0
登录后参与评分
还没有评论,来抢沙发吧