This mod can prevent game from crashing when there is a situation where a client side mod fails to load on the server side.
This is a mod that can prevent game from crashing when there is a situation where a client side mod fails to load on the server side.
How does it works?
First,it will load itself as a java agent when the mod loader is launching transformation services to try retransforming the FMLModContainer class to the modified FMLModContainer class.
Second,when the client side mod crashed on the server side,it will check whether there are keywords from the configuration file in the "<game_dir>/config/nsscm-config.json" or not,if true,it will prevent game from crashing and disable the crashed mod.
What is the essence of this mod?
In fact,this mod just modified the FMLModContainer to check keywords in the crashed mod's crash report and prevent the game crashing and disable the crashed mod.
This mod not only can be used in the server side,but also can be used in the client side.That's why this mod is suitable for client and server side,both optional.
There are some default keywords in the configuration file:
1.DEDICATED_SERVER
2.net/minecraft/client
3.net.minecraft.client
这是一个优化模组,能够在客户端模组在服务器端无法加载的情况下防止游戏崩溃。
它是如何运作的?
首先,当模组加载器启动转换服务时,它会以 Java 代理的形式自行启动,以尝试将 FMLModContainer 类重新转换为修改后的 FMLModContainer 类。
其次,当客户端模组在服务器端崩溃时,它会检查配置文件中是否有相关关键字存在于“<游戏目录>/config/nsscm-config.json”文件中,如果有,则会阻止游戏崩溃并禁用崩溃的模组。
这个模组的核心内容是什么?
实际上,这个模组只是修改了 FMLModContainer 类,使其能够检查崩溃模组的崩溃报告中的关键字,并防止游戏崩溃以及禁用该崩溃的模组。
这就是为什么此模组不仅可在服务器端使用,也可在客户端使用。正因如此,该模组适用于客户端和服务器端,用户可自由选择使用哪一方的环境。
配置文件中有一些默认关键字:
Conversation