
A plugin to remove null attributes from player NBTs on join. Made to prevent specific crashes!
A lightweight Bukkit/Spigot plugin that scans and removes broken or invalid attribute modifiers from players to prevent crashes and instability.
Originally created to fix java.lang.NullPointerException in corrupted player data.
This plugin scans player attributes for:
null or duplicate UUIDs (even across attributes)NaN or Infinity valuesnull, blank, or UUID-looking modifier namesIf any are found, they’re removed automatically.
The scan can be triggered manually or on events like teleport, respawn, world change, etc.
GENERIC_MAX_HEALTH, etc.)NaN, Infinity, or zero junk)# config.yml
silent: false # Suppresses player chat messages
kickOnFailure: true # Kick player if bad modifiers can’t be removed
log-to-console: true # Show scan results in console
log-to-file: true # Save scan logs to plugins/NullAttributeRemover/nar.log
logUUIDLikeNames: true # Warn if modifier name looks like a UUID
log-invalid-uuid-names: true # If false, suppress logs like "Skipped bad UUID: armor.boots"
debugLogs: true # Enable detailed internal debug logs
| Command | Description |
|---|---|
/nar scan [player] |
Scan a specific player or all online players |
/nar debug <player> |
Injects broken modifiers for testing purposes |
/nar reset <player> |
Clears all attributes and resets them to vanilla |
The plugin uses tab completion for all commands.