
AttributeFix-Sync
Syncs AttributeFix limits from server to client.
About this Mod
AttributeFix Sync
AttributeFix Sync is an unofficial addon for the AttributeFix mod, designed to solve the synchronization issue where modified attribute limits on the server are not reflected on the client.
The Problem
In the original AttributeFix, if you modify the upper limit of an attribute (e.g., generic.max_health or generic.attack_damage) in the server configuration:
- The Server correctly calculates damage and health based on your config (e.g., capped at 5000).
- The Client still uses the default limit (e.g., 1,000,000).
- Result: Mods like Jade, WTHIT, or the vanilla health bar display incorrect values because the client isn't aware of the stricter limit enforced by the server.
Features
This mod solves the above problem via packet synchronization:
- Automatic Synchronization: When a player joins the server, the mod automatically sends all attribute limits (Max Values) configured on the server to the client.
- In-Memory Patching: Upon receiving the data, the client dynamically modifies the attribute definitions in memory via Mixin.
- Correct Visualization: Jade, WTHIT, and vanilla bars will now correctly display values based on the actual server limits.
- Pollution-Free: When the player disconnects, the mod automatically restores the client's attribute limits to their original state, ensuring single-player worlds or other servers are not affected.
Installation & Usage
Dependencies
- Minecraft: 1.21.1
- Loader: NeoForge
- Required Mod: AttributeFix
Usage
- Server: Required. No configuration needed. It automatically reads the final values from AttributeFix and sends them to players.
- Client: Required. Necessary to receive the synchronization packets.
Configuration
The client configuration file can be found at config/attributefixsync-client.toml.
| Option | Default | Description |
|---|---|---|
enableSync |
true |
Whether to accept attribute limit synchronization from the server. |
showSyncMessages |
true |
Whether to show a chat message when attributes are synchronized. |
Note: To change the actual attribute limits (e.g., max health), please edit the AttributeFix config files located in config/attributefix/.
License & Credits
This project is licensed under the MIT License.
- Core logic is based on the Minecraft NeoForge API.
- Special thanks to Darkhax for developing the original AttributeFix mod. This mod exists solely as a supplementary tool for it.
This is not an official work by Darkhax. If you have issues related to synchronization, please report them to this repository, not the original author.
Available Versions
How to Install AttributeFix-Sync on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set neoforge Loader
In the panel under "Egg", select the neoforge loader and matching Minecraft version (1.21.1).
Install Mod
Open the mod browser in the dashboard and search for "AttributeFix-Sync". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.1
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
AttributeFix-Sync server crashes on startup – what to do?
Most common cause: wrong neoforge 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.21.1). You can switch loaders with one click in the panel.
Is AttributeFix-Sync compatible with neoforge?
AttributeFix-Sync officially supports neoforge for Minecraft 1.21.1. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with AttributeFix-Sync – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if AttributeFix-Sync 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.
Similar Mods
Rent Modded Server
Install AttributeFix-Sync with just one click on your server.