Skip to content

Add Option to Print Errors in Reload Script Effect #7830

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: dev/feature
Choose a base branch
from

Conversation

Mr-Errors
Copy link

@Mr-Errors Mr-Errors commented Apr 25, 2025

Description

This PR aims to add options with errors in the reload script effect, This leads to fix the problem with the reload script effect it didn't seem to have a option to have some type of feed back of what was going on to see if was successful or failed.


Target Minecraft Versions: any
Requirements: none
Related Issues: none

@Mr-Errors Mr-Errors requested a review from a team as a code owner April 25, 2025 00:28
@Mr-Errors Mr-Errors requested review from Romitou and Pesekjak and removed request for a team April 25, 2025 00:28
@sovdeeth sovdeeth added the enhancement Feature request, an issue about something that could be improved, or a PR improving something. label Apr 25, 2025
@Mr-Errors Mr-Errors changed the title ExprScriptFileErrors Add Options with Errors in Reload Effect Apr 25, 2025
@sovdeeth sovdeeth changed the title Add Options with Errors in Reload Effect Add Option to Print Errors in Reload Script Effect Apr 25, 2025
@sovdeeth
Copy link
Member

Note that this PR only displays errors rather than the traditional 3 step process of:

x is reloading y
errors
reloaded x scripts

The prologue and epilogue statements would need to be pulled from SkriptCommand and should probably be pulled out into a separate class, but while discussing with @Mr-Errors I thought it best to leave that for a separate PR that can be make a more cohesive API for both EffScriptFile and SkriptCommand

@Efnilite Efnilite added the feature-ready A PR/issue that has been approved, tested and can be merged/closed in the next feature version. label Apr 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature request, an issue about something that could be improved, or a PR improving something. feature-ready A PR/issue that has been approved, tested and can be merged/closed in the next feature version.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants