Skip to content
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

Detect missing / unknown dependencies errors in newer versions of Paper #81

Merged
merged 4 commits into from
Jul 4, 2024
Merged

Detect missing / unknown dependencies errors in newer versions of Paper #81

merged 4 commits into from
Jul 4, 2024

Conversation

pavog
Copy link
Member

@pavog pavog commented Jul 4, 2024

In older versions of Paper the message is:

Could not load 'plugins/ViaBackwards-4.2.1.jar' in folder 'plugins'
org.bukkit.plugin.UnknownDependencyException: Unknown/missing dependency plugins: [ViaVersion]. Please download and install these plugins to run 'ViaBackwards'.

In newer versions of Paper the message is:

Could not load 'plugins/worldguard-bukkit-7.0.9-dist.jar' in 'plugins'
org.bukkit.plugin.UnknownDependencyException: Unknown/missing dependency plugins: [WorldEdit]. Please download and install these plugins to run 'WorldGuard'.

They just removed the word "folder" from the error message in newer versions.
This PR adjusts the regex pattern so that it matches both.

@matthi4s matthi4s merged commit d5bbc27 into aternosorg:master Jul 4, 2024
3 checks passed
@pavog pavog deleted the paper-missing-dependency branch July 4, 2024 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants