File Details
ForgivingMod-1.2.2.jar
- R
- Mar 26, 2025
- 14.78 KB
- 21
- 1.21.1
- Fabric
File Name
ForgivingMod-1.2.2.jar
Supported Versions
- 1.21.1
Curse Maven Snippet
🆕 New Features
-
🔹 Player Data Reset Command (
/forgive reset <player>)-
Allows admins to manually reset a banned player’s data before unbanning them.
-
Ensures banned players don’t retain old status effects, inventory, or position data.
-
-
🔹 Configurable Ban Durations
-
Added support for temporary bans with durations (
/forgive ban <player> <time>). -
Examples:
-
/forgive ban Steve 1h→ Bans Steve for 1 hour. -
/forgive ban Alex 7d→ Bans Alex for 7 days.
-
-
-
🔹 Automatic Data Cleanup
-
When a banned player is removed from the ban list, their cached data is now automatically cleared to free up resources.
-
🐛 Bug Fixes
-
✔ Fixed Data Persistence Issue
-
Previously, some unbanned players retained old status effects upon rejoining.
-
Now, all status effects, advancements, and potion effects are wiped correctly upon unban.
-
-
✔ Resolved Edge Cases in
resetPlayer()-
Improved error handling when attempting to reset a player who has never joined the server.
-
Prevents crashes when an invalid player name is entered.
-
-
✔ Fixed
forgive unbanCommand Not Removing IP Bans-
Now properly unbans both username and IP bans associated with the player.
-
🔧 Improvements
-
Optimized Player Ban List Handling
-
Searching for banned players is now faster, especially on servers with large ban lists.
-
-
Better Integration with Other Mods
-
Improved compatibility with Fabric API networking to prevent conflicts when banning/unbanning players.
-
-
More Informative Messages
-
Players attempting to join while banned now receive clearer messages, including their remaining ban time (if applicable).
-

