Discord-MC-Chat (DMCC), formerly known as MC-Discord-Chat and MCDiscordChat (MCDC), is a practical and powerful Fabric and Quilt Minecraft <> Discord chat bridge inspired by BRForgers/DisFabric
[X] I confirm that I followed the MCDC Docs and read the Changelog, but this problem still exists.
[X] I confirm that I noted that if I don't follow the instructions, the issue may be closed directly.
Minecraft Version
1.20.4
MC-Discord-Chat Version
2.2.6
Description
MCDC always calculates the Server TPS by using the following code:
tps = Math.min(1000.0 / mspt, 20)
However, if the TPS is modified using the Carpet mod, the MSPT value remains unchanged, and as a result, MCDC cannot reflect the modified TPS.
To Reproduce
Install Carpet mod
Execute /tick rate 15
Execute /mcdc info
The message still displays the default Server TPS of 20 instead of 15.
Log
[17:31:29] [Netty Server IO #1/INFO]: <Xujiayao> /tick rate 15
[17:31:29] [Server thread/INFO]: [Xujiayao: Set the target tick rate to 15.0 per second]
[17:31:40] [Netty Server IO #1/INFO]: <Xujiayao> /mcdc info
Commits 889b96322d459db4774ffe71b7e67953765fec92 and d6845a8a99012789463ebedd8ab836b6cf4c767d only resolves version 1.20.3 or above. Versions below 1.20.3 will need to find another solution.
Checks
Minecraft Version
1.20.4
MC-Discord-Chat Version
2.2.6
Description
MCDC always calculates the Server TPS by using the following code:
However, if the TPS is modified using the Carpet mod, the MSPT value remains unchanged, and as a result, MCDC cannot reflect the modified TPS.
To Reproduce
/tick rate 15
/mcdc info
The message still displays the default Server TPS of 20 instead of 15.
Log
Config