Package forestry.plugins

Examples of forestry.plugins.Plugin.version()


    if (found.isAvailable())
      entry = "\u00A7a";
    Plugin info = found.getClass().getAnnotation(Plugin.class);
    if (info != null) {
      sendChatMessage(sender, entry + "Plugin: " + info.name());
      if (!info.version().isEmpty())
        sendChatMessage(sender, "\u00A79Version: " + info.version());
      if (!info.author().isEmpty())
        sendChatMessage(sender, "\u00A79Author(s): " + info.author());
      if (!info.url().isEmpty())
        sendChatMessage(sender, "\u00A79URL: " + info.url());
View Full Code Here


      entry = "\u00A7a";
    Plugin info = found.getClass().getAnnotation(Plugin.class);
    if (info != null) {
      sendChatMessage(sender, entry + "Plugin: " + info.name());
      if (!info.version().isEmpty())
        sendChatMessage(sender, "\u00A79Version: " + info.version());
      if (!info.author().isEmpty())
        sendChatMessage(sender, "\u00A79Author(s): " + info.author());
      if (!info.url().isEmpty())
        sendChatMessage(sender, "\u00A79URL: " + info.url());
      if (!info.unlocalizedDescription().isEmpty())
View Full Code Here

      entry = "\u00A7a";

    Plugin info = plugin.getClass().getAnnotation(Plugin.class);
    if (info != null) {
      entry += info.pluginID();
      if (!info.version().isEmpty())
        entry += " (" + info.version() + ")";
    } else
      entry += "???";

    return entry;
View Full Code Here

    Plugin info = plugin.getClass().getAnnotation(Plugin.class);
    if (info != null) {
      entry += info.pluginID();
      if (!info.version().isEmpty())
        entry += " (" + info.version() + ")";
    } else
      entry += "???";

    return entry;
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.