Solved Check if plugin is installed

Discussion in 'Spigot Plugin Development' started by michael1011, Feb 26, 2016.

  1. Is it possible to check if another plugin is installed?
     
  2. Google.com > "bukkit check if plugin is installed"
    Gave me enough results.
     
  3. Sorry I googled "bukkit coding check if plugin is installed" and I found only crap. Thank you
     
    • Friendly Friendly x 1
  4. You can make it with

    Code (Text):
    getServer().getPluginManager().getPlugin("MyPlugin")!=null
     
  5. Thank you, too!
     
    • Like Like x 1
  6. Check more than just the first hit ;)
    [​IMG]
    Yes, the first hit doesn't answer it. But the third link (or second 'related' link if you wish) does. (both the links I clicked are purple, just so you know which two I am talking about)
     
    • Like Like x 2
  7. I know :oops:
    Next time I will check the first three sites...