Advertisement
Guest User

Untitled

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