You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, I am a determined person, and this issue kept me up at night. It all started when I began debugging your code, and I discovered that VaultHook wasn't functioning correctly. As I continued debugging, I found an issue: Eco (and EcoJobs) wasn't detecting my plugin in the Economy. After spending some time analyzing the problem, I eventually found the root cause.
Explanation:
By default, servers on older versions load plugins alphabetically.
By setting the parameter to STARTUP, your plugin loads first, before the Economy Provider connects to Vault.
You might wonder why not add the STARTUP parameter to the economy plugins as well. Unfortunately, that's not possible, because plugins using PlaceholderAPI in the Economy (like some of the economy plugins) won't be able to register placeholders.
My solution was simply to remove the STARTUP parameter in your plugin. After doing this, everything worked as expected. So, why did you add it? I would like us to work together to find an effective solution.
For example:
With my own economy plugin, your plugin doesn't work.
With BetterEconomy, it works perfectly.
With LiteEco, it doesn't work.
With Essentials, it works.
The text was updated successfully, but these errors were encountered:
Initially, I asked on discord:
However, I am a determined person, and this issue kept me up at night. It all started when I began debugging your code, and I discovered that VaultHook wasn't functioning correctly. As I continued debugging, I found an issue: Eco (and EcoJobs) wasn't detecting my plugin in the Economy. After spending some time analyzing the problem, I eventually found the root cause.
The error was in this line:
eco/eco-core/core-plugin/src/main/resources/plugin.yml
Line 7 in be970bd
Explanation:
By default, servers on older versions load plugins alphabetically.
By setting the parameter to STARTUP, your plugin loads first, before the Economy Provider connects to Vault.
You might wonder why not add the STARTUP parameter to the economy plugins as well. Unfortunately, that's not possible, because plugins using PlaceholderAPI in the Economy (like some of the economy plugins) won't be able to register placeholders.
My solution was simply to remove the STARTUP parameter in your plugin. After doing this, everything worked as expected. So, why did you add it? I would like us to work together to find an effective solution.
For example:
The text was updated successfully, but these errors were encountered: