It would be best to warn users of scripts so they are aware about the scripts.
My initial idea is a window that shows during the Minecraft initialization that shows “This Minecraft instance is about to run scripts (script file names). Scripts are not verified to not contain malicious code. Proceed with caution.” and then a proceed button and a cancel button to bypass scripts.
This should not be able to be disabled by modpacks under any circumstances, for obvious reasons.
A cache folder in the user’s home directory could be used. Perhaps it would track if the user has accepted specific script filepaths.
It would be best to warn users of scripts so they are aware about the scripts. My initial idea is a window that shows during the Minecraft initialization that shows “This Minecraft instance is about to run scripts (script file names). Scripts are not verified to not contain malicious code. Proceed with caution.” and then a proceed button and a cancel button to bypass scripts.
This should not be able to be disabled by modpacks under any circumstances, for obvious reasons. A cache folder in the user’s home directory could be used. Perhaps it would track if the user has accepted specific script filepaths.