Solved Load after another

Discussion in 'Plugin Development' started by XxTimexX, Apr 26, 2016.

Thread Status:
Not open for further replies.
  1. Offline


    So, I am making a Bounty hunting plugin. I'm mostly finished, but since I'm using Vault for economy, I used their API to make dependencie, and all that stuff.

    My problem is:
    [20:51:23] [Server thread/ERROR]: [Bounty] [Bounty] - Disabled due to no Vault dependency found!
    [20:51:23] [Server thread/INFO]: [Bounty] Disabling Bounty v0.1.0
    [20:51:23] [Server thread/INFO]: Server permissions file permissions.yml is empty, ignoring it
    [20:51:23] [Server thread/INFO]: Done (13,748s)! For help, type "help" or "?"
    [20:51:23] [Craft Scheduler Thread - 1/INFO]: [Vault] Checking for Updates ...
    [20:51:30] [Craft Scheduler Thread - 1/INFO]: [Vault] No new version available
    Even if I added
    depend: [Vault] in my plugin.yml.
    I searched online, but all that I could find is that I should make depend: [Vault] in plugin.yml.
    So I need a way to make it so Vault would load before Bounty.
  2. Offline


    A dependency is all you need to ensure that a plugin loads before yours.
  3. Online

    timtower Moderator Moderator

    @XxTimexX Is it not finding Vault or is it not finding an Economy provider?
    Those are very different things.
  4. Offline


    @XxTimexX The code example that vault provides does not take in account the fact that there might be no plugin providing for that services and will always throw the same message (Even if Vault is there and working properly)

    That happens for copy pasting the example, anyway, you need an economy plugin for that and that will fix it
  5. Offline


    At first I thought that it wasn't finding Vault. But yeah, I remembered that I forgot to put in Economy plugin.
Thread Status:
Not open for further replies.

Share This Page