dmsafai

Don't make such a fuzz about it. A Fabric mod that makes some errors a bit less loud

by
341 Downloads
fabricutility
Rent Server with this Mod

About this Mod

Don't make such a fuzz about it

You hate it that the most simple and "normal" errors always add a useless stacktrace?

This mod wraps some common error handler and only writes the exception message instead of the whole stacktrace.

Examples

  • Failed to generate recipe for...
  • Couldn't parse element...
  • Failed to load model...
  • Parsing error loading recipe...

Invalid model files

Before:

[17:28:56] [Worker-ResourceReload-5/ERROR]: Failed to load model <filename>.json
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
	at jdk.internal.util.Preconditions$1.apply(Preconditions.java:55) ~[?:?]
	at jdk.internal.util.Preconditions$1.apply(Preconditions.java:52) ~[?:?]
	at jdk.internal.util.Preconditions$4.apply(Preconditions.java:213) ~[?:?]
	at jdk.internal.util.Preconditions$4.apply(Preconditions.java:210) ~[?:?]
	at jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:98) ~[?:?]
	at jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:106) ~
    ...

After:
Removed by adding a check for empty strings

Loot Tables with missing items

Before:

[Worker-ResourceReload-7/ERROR]: Couldn't parse element loot_tables:foo/bar
com.google.gson.JsonSyntaxException: Expected name to be an item, was unknown string 'foo:bar'
	at net.minecraft.class_3518.method_17995(class_3518.java:145) ~[client-intermediary.jar:?]
	at java.util.Optional.orElseThrow(Optional.java:403) ~[?:?]
	at net.minecraft.class_3518.method_15256(class_3518.java:145) ~[client-intermediary.jar:?]
	at net.minecraft.class_3518.method_15288(class_3518.java:153) ~[client-intermediary.jar:?]
	at net.minecraft.class_77$class_78.method_413(class_77.java:55) ~[client-intermediary.jar:?]
	at net.minecraft.class_77$class_78.method_443(class_77.java:40) ~[client-intermediary.jar:?]
	at net.minecraft.class_85$class_90.method_441(class_85.java:151) ~[client-intermediary.jar:?]
	at net.minecraft.class_85$class_90.method_424(class_85.java:129) ~[client-intermediary.jar:?]
	at net.minecraft.class_79$class_5337.method_29319(class_79.java:86) ~[client-intermediary.jar:?]
	at net.minecraft.class_79$class_5337.method_517(class_79.java:74) ~[client-intermediary.jar:?]
	at net.minecraft.class_5330$class_5333.deserialize(class_5330.java:102) ~[client-intermediary.jar:?]

After:

[Worker-ResourceReload-7/ERROR]: Couldn't parse element loot_tables:foo/bar: Expected name to be an item, was unknown string 'foo:bar'

Available Versions

dmsafai 0.2+1.20.1release
MC 1.20.1fabric
August 24, 2024
dmsafai 0.1+1.20.1release
MC 1.20.1fabric
August 17, 2024

How to Install dmsafai on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.20.1).

3

Install Mod

Open the mod browser in the dashboard and search for "dmsafai". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabric

Minecraft Versions

1.20.1

Server-side

Unsupported

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

dmsafai server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.20.1). You can switch loaders with one click in the panel.

Is dmsafai compatible with fabric?

dmsafai officially supports fabric for Minecraft 1.20.1. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with dmsafai – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if dmsafai consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install dmsafai with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
Apache License 2.0
Server-side
Unsupported

Supported Versions

1.20.1