FailureToLog api
FailureToLog API Fabric is a client-side companion mod for the FailureToLog Paper server plugin.
截图
介绍
FailureToLog API Fabric
FailureToLog API Fabric is a client-side companion mod for the FailureToLog Paper server plugin.
It helps FailureToLog servers receive more useful client-side disconnect information. When a player disconnects or sees an error screen, the mod can save the screen reason and send it to a compatible server so staff can inspect it through the server plugin’s log viewer.
What It Does
- Detects FailureToLog-enabled servers through a custom plugin message handshake.
- Captures Minecraft’s disconnect screen title and reason on the client.
- Sends client-side disconnect details to the server plugin when possible.
- Supports delayed sending on the next connection, which is the recommended mode.
- Adds a Mod Menu config screen for changing the send timing.
- Uses English as the default user-facing language.
Requirements
Client
- Minecraft
26.1.2 - Fabric Loader
0.19.2or newer - Fabric API
- Optional: Mod Menu, for the in-game config screen
Server
For full functionality, the server must run:
- Paper
26.1.2 - FailureToLog Paper plugin
The mod can be installed without the server plugin, but it will only send reports when the server supports the FailureToLog plugin message channels.
Installation
Client Installation
- Install Fabric Loader for Minecraft
26.1.2. - Install Fabric API.
- Put this mod jar into the client
modsfolder. - Optional: install Mod Menu to open the config screen from the Mods menu.
Typical client mods folder:
%APPDATA%\.minecraft\mods
Server Installation
- Stop the Paper server.
- Put the FailureToLog Paper plugin jar into the server
pluginsfolder. - Start the server.
- The server plugin will create its config and log files automatically.
Configuration
The client config is stored at:
config/failure-to-log-api-fabric/client.properties
Typical full Windows path:
%APPDATA%\.minecraft\config\failure-to-log-api-fabric\client.properties
Send Timing
The mod supports two error log send timing modes.
Next connection
Recommended.
The mod stores the disconnect report locally and sends it the next time the player connects to the same FailureToLog-enabled server.
This is the safest mode because once the client is disconnected, the network connection may already be closed.
Config value:
send-timing=next_connection
After disconnect
The mod attempts to send the report immediately after disconnect.
This can fail because the connection may already be closed by the time the disconnect screen appears. If sending fails, the mod saves the report for the next connection instead.
Config value:
send-timing=after_disconnect
Pending Report Storage
When using the recommended next-connection mode, the pending client report is stored at:
config/failure-to-log-api-fabric/pending-client-log.properties
Typical full Windows path:
%APPDATA%\.minecraft\config\failure-to-log-api-fabric\pending-client-log.properties
The file is deleted after the report is successfully sent to the matching server.
Mod Menu
If Mod Menu is installed, open:
Mods -> FailureToLog API Fabric -> Configure
The config screen lets players change:
- Error log send timing
The screen also shows the warning:
Recommended: Next connection. Sending after disconnect can fail because the network connection may already be closed.
Server Plugin Integration
The mod communicates with the FailureToLog Paper plugin using these custom payload channels:
failuretolog:hello
failuretolog:client_log
Flow:
- Player joins the server.
- Server sends
failuretolog:hello. - Client marks the server as FailureToLog-compatible.
- Client captures disconnect screen information if an error occurs.
- Client sends the saved report through
failuretolog:client_log. - Server stores the report and broadcasts a clickable error log message.
Server Commands
The server plugin provides:
/failuretolog toggle
/failuretolog savelogs <on|off>
/failuretolog codes
/failuretolog log <id>
Alias:
/ftl
Important Limitations
Minecraft clients cannot send data to a server after the network connection is fully closed.
Because of that, the recommended mode is Next connection. In that mode, the mod saves the error report locally and sends it when the player reconnects to the same FailureToLog-enabled server.
This mod does not upload reports to any external web service. Reports are only sent to compatible FailureToLog servers through Minecraft networking.
Privacy Notes
The client report may include:
- Disconnect screen title
- Disconnect reason
- Minecraft version
- Player name
- Server address
- FailureToLog protocol/plugin version
- Timestamp
It does not intentionally collect full local game logs or crash reports.
Recommended Platform Description
Short description:
Client companion mod for FailureToLog servers. Captures disconnect screen details and sends them to the server plugin for easier error diagnosis.
Long description:
FailureToLog API Fabric is a client-side companion mod for the FailureToLog Paper server plugin.
When a player disconnects or sees an error screen, the mod captures the disconnect screen title and reason. If the server supports FailureToLog, the report can be sent to the server plugin and viewed by staff through the plugin's error log commands.
The recommended send mode is Next connection, which stores the report locally and sends it when the player reconnects to the same server. This avoids the common problem where the client can no longer send packets after the connection has already closed.
Mod Menu is supported for changing the client send timing.
Suggested Tags
- Fabric
- Client
- Utility
- Server utility
- Admin tools
- Logging
- Debugging
- Paper integration
Build Output
Integrated distribution builds are copied to:
C:\Users\musek\IdeaProjects\dist
Fabric mod jar:
FailureToLog-API-Fabric-1.0.0.jar
Paper plugin jar:
FailureToLog-Paper-1.0-SNAPSHOT.jar
Run the integrated build script:
C:\Users\musek\IdeaProjects\build-all-failure-to-log.bat
常见问题
FailureToLog api 支持哪些 Minecraft 版本?
FailureToLog api 支持 Minecraft Java 版 26.1–26.2,共 4 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
FailureToLog api 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端 / 服务端。
kooyoseb 的其他作品
查看全部 →
No attack time delay
Reverts combat system to pre-1.9. Supports 1.21.3
grappling-armor
Sanabi-inspired Fabric mod for Minecraft 26.1.2. It adds grappling hooks, a grappling device, a grappling suit, range upgrades, loot/trade progression, a guidebook, advancements, sounds, textures, and chain-style hook effects.
All white swords
This resource pack changes all swords in Minecraft to white.
Craftable Immortal Totem
Craftable Immortal Totem 제작 가능한 불멸의 토템 풀어 주다 1.21 If I apply this data pack to a multiplayer, will it be fun to modify it?
评论
登录后评论和评分