Making Spout Enable First.

Discussion in 'Plugin Development' started by ThatBox, Nov 22, 2011.

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

    ThatBox

    Code:java
    1. public void findSpout() {
    2. if(!Bukkit.getServer().getPluginManager().isPluginEnabled("Spout")){
    3. }else{
    4. System.out.println("BombStuph: Found Spout");
    5. }

    Spout is still enabling after my plugin does.
    Anyway to fix this?
     
  2. Offline

    Daniel Heppner

    Add it as a dependency in your plugin.yml.
     
    ThatBox likes this.
  3. Offline

    ThatBox

    ./facepalm myself.
    Thanks.
     
  4. Offline

    ArcheCane

    Use softdepend: [Spout] in ur plugin.yml

    May be wrong.
     
  5. Offline

    DrBowe

    @ArcheCane

    'softdepend' if his plugin doesn't require Spout, but has Spout features

    'depends' if his plugin shouldn't activate should Spout fail to be there
     
    ThatBox, ArcheCane and Daniel Heppner like this.
Thread Status:
Not open for further replies.

Share This Page