After a long search, the following procedure solved my problem:
There is an event, called ServiceRegisterEvent. It can be used to get services, when they are registered on server start.
I listened for the service Economy and if that occured, I loaded the Economy-Plugin.
I also had to edit the...
I have two self-written plugins. NovEcon2 and RealBanks2.
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.