1. Welcome to LilyPad. Download the project, explore the forums, and create your own LilyPad network.


    If you use the software and enjoy it or have a question, or would like to contribute to the future of the software directly or through resources, please sign up and join our little community.

Planned Give the author some credit.

Discussion in 'Feature Requests' started by hamzaxx, Oct 12, 2013.

  1. hamzaxx

    hamzaxx Member

    I believe there should be a command such as /lily in which it notifies you of the author and the version.
    Code (text):
    package lilypad.bukkit.connect;

    import org.bukkit.ChatColor;
    import org.bukkit.command.Command;
    import org.bukkit.command.CommandSender;
    import org.bukkit.plugin.PluginDescriptionFile;
    import org.bukkit.plugin.java.JavaPlugin;

    public class Creator
    {
      public boolean onCommand(CommandSender sender, Command cmd, String commandLabel, String[] args)
      {
        PluginDescriptionFile pdf = getDescription();
        if (cmd.getName().equalsIgnoreCase("lily")) {
          sender.sendMessage(ChatColor.GREEN + "This server is running on LilyPad Build: " + pdf.getVersion() + " by Robert Coelho");
          sender.sendMessage(ChatColor.DARK_GREEN + "http://www.lilypadmc.org/");
        }
        return false;
      }
    }
    Also it should be included in the Bukkit-Connect package.
    Last edited: Oct 13, 2013
  2. Matt

    Matt Forum Moderator & Contributor Staff Member Moderator Contributor

    Good idea :D
  3. Coelho

    Coelho Software Engineer Staff Member Administrator Maintainer

    Perhaps we can have an option in LilyPad Proxy to turn this on and off, and you get brownie points if you turn it on? :)
    • Like Like x 1
  4. hamzaxx

    hamzaxx Member

    Seems cool :)
  5. hamzaxx

    hamzaxx Member

    Can someone change the thread prefix as planned?
    • Agree Agree x 1
  6. Matt

    Matt Forum Moderator & Contributor Staff Member Moderator Contributor

    There you go :p

Share This Page