Package forestry.plugins

Examples of forestry.plugins.Plugin.author()


    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())
        sendChatMessage(sender, StatCollector.translateToLocal(info.unlocalizedDescription()));
View Full Code Here


    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())
        sendChatMessage(sender, StatCollector.translateToLocal(info.unlocalizedDescription()));
    }
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.