Replies: 2 comments
-
Hello, I can add this to the conversation:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
If you're not the author of the plugin, you may use /etc/hosts to make that domain point to a local address which nginx will listen to, and make nginx act as a maven repository, where you put all the libraries your plugins may want to download. This way your plugin will work even if you don't have connection to the internet |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is your feature request related to a problem?
Since 1.17, bukkit has added a plugin configuration option that allows downloading required libraries when the server starts, so plugin authors don't need to package them into the plugin file anymore, which is great.
However, the default Maven repository address is currently https://repo.maven.apache.org/maven2/
We have to consider that some users (like me) may not be able to access that address due to network conditions.
This will cause users (like me) to abandon some plug-ins because they cannot download dependencies.
So can we add a configuration option to allow users to define where their servers download dependencies from?
Describe the solution you'd like.
Add the maven-mirror option in the configuration file (bukkit.yml or spigot.yml or config/paper-global.yml)
like this
Describe alternatives you've considered.
I haven't tried anything. My server cannot download the dependencies required by the plugin. There is nothing I can do about this problem except to file an issue here.
Before posting this issue, I read this: #10763
I think it is not feasible to modify the dependency download address through Paper Plugins, because users just want the plugins they find to work properly, and writing Java code for that is too painful
Other
No response
Beta Was this translation helpful? Give feedback.
All reactions