Clear All Scoreboards - Complete Scoreboard System Removal
This data pack addresses a common Minecraft issue - cleaning up leftover scoreboard systems after removing mods or data packs. Instead of manual deletion through console, it offers an automated solution.
How to Use
Run the command /function clear_all_scoreboards:start in the game chat. A special command block with an interactive "Execute?" prompt will appear at your current position.
After clicking the prompt, the command /function clear_all_scoreboards:exe {do_not_clear:[]} will automatically appear in the chat. Simply press Enter to execute - all scoreboard systems will be deleted, and the command block will be destroyed.
Preserving Needed Systems
If you need to keep specific scoreboard systems, modify the command before execution:
/function clear_all_scoreboards:exe {do_not_clear:["system_name1","system_name2"]}
Specify the names of systems you want to preserve within the square brackets.