I have two self-written plugins. NovEcon2 and RealBanks2.
NovEcon2 is my economy-plugin, which depends on
RealBanks2 is my banking-plugin, which also depends on
Source-code is available here (important, stay in branch
NovEcon2: https://codeberg.org/Noveria/NovEcon2/src/branch/kotlin-rewrite
RealBanks2: https://codeberg.org/Noveria/RealBanks2/src/branch/kotlin-rewrite
I have implemented an api inside RealBanks2, to access some functions inside NovEcon2.
The api can be enabled in NovEcon2, via a configlet-bool set to
However, since both plugins depend on
Since RealBanks2 requires an economy-plugin to be loaded and NovEcon2 requires RealBanks2 to be loaded, none of them are getting loaded.
That ends in NovEcon2 failing to load, because RealBanks2 isn't loaded and RealBanks2 failing to load , because there is no economy-plugin hooked into vault, such as NovEcon2.
Is there any way, I can prevent that?
I have thought about a separate bridge plugin, but afaik, it would end in the same issue, since the bridge-plugin would be needed by NovEcon2, and the bridge-plugin would depend on RealBanks2.
I'm open for any idea.
Thanks.
NovEcon2 is my economy-plugin, which depends on
Vault
and RealBanks2
as softdepend.RealBanks2 is my banking-plugin, which also depends on
Vault
.Source-code is available here (important, stay in branch
kotlin-rewrite
):NovEcon2: https://codeberg.org/Noveria/NovEcon2/src/branch/kotlin-rewrite
RealBanks2: https://codeberg.org/Noveria/RealBanks2/src/branch/kotlin-rewrite
I have implemented an api inside RealBanks2, to access some functions inside NovEcon2.
The api can be enabled in NovEcon2, via a configlet-bool set to
true
However, since both plugins depend on
Vault
, loading them while the configlet-bool set to true
is impossible as of now.Since RealBanks2 requires an economy-plugin to be loaded and NovEcon2 requires RealBanks2 to be loaded, none of them are getting loaded.
That ends in NovEcon2 failing to load, because RealBanks2 isn't loaded and RealBanks2 failing to load , because there is no economy-plugin hooked into vault, such as NovEcon2.
Is there any way, I can prevent that?
I have thought about a separate bridge plugin, but afaik, it would end in the same issue, since the bridge-plugin would be needed by NovEcon2, and the bridge-plugin would depend on RealBanks2.
I'm open for any idea.
Thanks.
- Version Output
-
This server is running Paper version git-Paper-550 (MC: 1.19.4) (Implementing API version 1.19.4-R0.1-SNAPSHOT) (Git: 483368e on ver/1.19.4)
You are running the latest version