What are you searching for?

puzzle-piece

NoServerSideClientMods

This mod can prevent game from crashing when there is a situation where a client side mod fails to load on the server side.

download 4 Downloads · favorite 0 Followers · Updated 1 week ago
Forge Optimization 1.20.1

Versions

inventory_2
NoServerSideClientMods 1.0

1.0 · 1 week ago · 19.66 KB

Release download
Forge 1.20.1

About

English

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 类,使其能够检查崩溃模组的崩溃报告中的关键字,并防止游戏崩溃以及禁用该崩溃的模组。

这就是为什么此模组不仅可在服务器端使用,也可在客户端使用。正因如此,该模组适用于客户端和服务器端,用户可自由选择使用哪一方的环境。

配置文件中有一些默认关键字:

  1. DEDICATED_SERVER
  2. net/minecraft/client
  3. net.minecraft.client
person
Black_Moss
Mod Author
open_in_new View on Modrinth
Categories
Compatibility
Client: Optional Server: Optional
gavel MIT

Conversation

What are your thoughts?

Related projects

Optimization
Sodium
Sodium

by jellysquid3

The fastest and most compatible rendering optimization mod for Minecraft. Now available for both NeoForge and Fabric!

download 122.0M
favorite 33,088
Decoration Optimization
Iris Shaders
Iris Shaders

by coderbot

A modern shader pack loader for Minecraft intended to be compatible with existing OptiFine shader packs

download 93.6M
favorite 23,993
Optimization Utility
FerriteCore
FerriteCore

by malte0811

Memory usage optimizations

download 87.4M
favorite 12,871
Optimization
Entity Culling
Entity Culling

by tr7zw

Using async path-tracing to hide Block-/Entities that are not visible

download 87.0M
favorite 13,896
lock Cookie consent

SkinMC uses cookies to provide functionality and features.