Advertisement
Guest User

Untitled

a guest
Apr 26th, 2015
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 3.70 KB | None | 0 0
  1. public class Main extends JavaPlugin{
  2.    
  3.     @Override
  4.     public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
  5.         if(cmd.getName().equalsIgnoreCase("Quoter")){
  6.             if(args[0].equalsIgnoreCase("AE")){
  7.                 sender.sendMessage(ChatColor.GOLD + "A critic is a man who creates nothing ... – Robert A. Heinlein");
  8.                 sender.sendMessage(ChatColor.DARK_GREEN +"Bad excuses are worse than none. – Thomas Fuller");
  9.                 sender.sendMessage(ChatColor.GOLD + "Call it a clan, call it a network... Whatever you call it, whoever you are, you need one.– Jane Howard");
  10.                 sender.sendMessage(ChatColor.DARK_GREEN +"Dance is the hidden language of the soul. – Martha Graham");
  11.                 sender.sendMessage(ChatColor.GOLD + "Each decision we make, each action we take, is born out of an intention. – Sharon Salzberg");
  12.                
  13.         }
  14.             if(args[1].equalsIgnoreCase("FJ")){
  15.                 sender.sendMessage(ChatColor.GOLD + "Face the truth or the truth will face you! – Mehmet Murat ildan");
  16.                 sender.sendMessage(ChatColor.DARK_GREEN +"games are an extension of our imagination – Hannes Cailkiez");
  17.                 sender.sendMessage(ChatColor.GOLD + "Habit is either the best of servants or the worst of masters. – Nathaniel Emmons");
  18.                 sender.sendMessage(ChatColor.DARK_GREEN +"I adore simple pleasures. They are the last refuge of the complex. – Oscar Wilde");
  19.                 sender.sendMessage(ChatColor.GOLD + "Jargon allows us to camouflage intellectual poverty with verbal extravagance. – David Pratt");
  20.                        
  21.     }
  22.             if(args[2].equalsIgnoreCase("KO")){
  23.                 sender.sendMessage(ChatColor.GOLD + "Keep away from people who try to belittle your ambitions… – Mark Twain");
  24.                 sender.sendMessage(ChatColor.DARK_GREEN +"Labor disgraces no man unfortunately you occasionally find men disgrace labor. – Ulysses S. Grant");
  25.                 sender.sendMessage(ChatColor.GOLD + "Magic is believing in yourself. If you can do that, you can make anything happen. – Foka Gomez");
  26.                 sender.sendMessage(ChatColor.DARK_GREEN +"Nationalism is an infantile disease. It is the measles of mankind. – Albert Einstein");
  27.                 sender.sendMessage(ChatColor.GOLD + "Obedience keeps the rules. Love knows when to break them. – Anthony de Mello");
  28.            
  29.     }
  30.             if(args[3].equalsIgnoreCase("PT")){
  31.                 sender.sendMessage(ChatColor.GOLD + "Pain is temporary, quitting lasts forever. – Lance Armstrong");
  32.                 sender.sendMessage(ChatColor.DARK_GREEN +"Quality is never an accident; it is always the result of intelligent effort. – John Ruskin");
  33.                 sender.sendMessage(ChatColor.GOLD + "Rank does not confer privilege or give power. It imposes responsibility. – Louis");
  34.                 sender.sendMessage(ChatColor.DARK_GREEN +"Sacrifice is heart of Love. – Sunil Joyia");
  35.                 sender.sendMessage(ChatColor.GOLD + "Tact is the knack of making a point without making an enemy. – Howard Newton");
  36.                        
  37.     }
  38.             if(args[4].equalsIgnoreCase("UZ")){
  39.                 sender.sendMessage(ChatColor.GOLD + "Ultimately, the only power to which man should aspire is that which he exercises over himself. – Elie Wiesel");
  40.                 sender.sendMessage(ChatColor.DARK_GREEN +"Valor grows by daring, fear by holding back. – Publilius Syrus");
  41.                 sender.sendMessage(ChatColor.GOLD + "Wake up early; it is great to live the mornings. – Mehmet Murat ildan");
  42.                 sender.sendMessage(ChatColor.DARK_GREEN +"XML is the lazy refuge of cowards who fear writing parsers. – Rose Hayes");
  43.                 sender.sendMessage(ChatColor.GOLD + "Years wrinkle the skin, but to give up enthusiasm wrinkles the soul. – Samuel Ullman");
  44.                 sender.sendMessage(ChatColor.DARK_GREEN + "Zeal without knowledge is fire without light. – Thomas Fuller");
  45.            
  46.     }
  47.     }
  48.         return false;
  49.     }
  50.  
  51. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement