Solved How to hook into plugin list??

Discussion in 'Plugin Help/Development/Requests' started by coolzakL, May 5, 2015.

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

    coolzakL

    Hello, I am coding a plugin for my friend's server. I want it to list plugins when you run the command, but I am not sure how to load the plugin list. By default, /pl will list the plugins. I want to know how to use this list in my plugin. Any help would be appreciated!

    Thanks in advance,
    coolzakL
     
  2. Offline

    pie_flavor

    @coolzakL
    Iterate through the loaded plugins (get it from the plugin manager), then you can just get the plugin's name.
     
  3. Offline

    coolzakL

    Yeah. I simply took the getPluginList string from Bukkit's GitHub, and I'm using that. Thanks for your help!
     
Thread Status:
Not open for further replies.

Share This Page