Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Aug 7th, 2012  |  syntax: None  |  size: 1.98 KB  |  hits: 7  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.                 //command Infos
  2.                 if(cmd.getName().equalsIgnoreCase("infos")){
  3.                        
  4.                         p = (Player) sender;
  5.                         if(args.length > 1) {
  6.                                 p.sendMessage(ChatColor.RED + "Zu viele Argumente");
  7.                                 return false;
  8.                         }
  9.                        
  10.                         if(args.length == 0) {
  11.                                 p.sendMessage(ChatColor.YELLOW + "-------------------[" + ChatColor.BLUE + "Infos" + ChatColor.YELLOW + "]-------------------" );
  12.                                 p.sendMessage(ChatColor.BLUE + "Du kannst jetz zwischen verschiedenen Iformationen waehlen:");
  13.                                 p.sendMessage(ChatColor.YELLOW + "+ Portal Raum    " + ChatColor.RED + "/infos port");
  14.                                 p.sendMessage(ChatColor.YELLOW + "+ Webseite   " + ChatColor.RED + "/infos web");
  15.                                 p.sendMessage(ChatColor.YELLOW + "+ Fragen    " + ChatColor.RED + "/infos fragen");
  16.                                 p.sendMessage(ChatColor.YELLOW + "+ Grundstuecke/Hotel    " + ChatColor.RED + "/infos gs");
  17.                                 return true;
  18.                         }
  19.                        
  20.                         if(args.length == 1) {
  21.  
  22.                                 if(args[0] == "port") {
  23.                                         p.sendMessage(ChatColor.BLUE + "+ " + ChatColor.GREEN + "Mit " + ChatColor.RED + "/port" + ChatColor.GREEN + " kommst du in den Portal Raum");
  24.                                         p.sendMessage(ChatColor.BLUE + "+ " + ChatColor.GREEN + "Dort Kannst du dann durch das Portal hindurch gehen, wo du hin moechtest. ");
  25.                                         p.sendMessage(ChatColor.GREEN + "  Links an den Portalen sind Schilder worauf steht, wo dieses Portal hingeht");
  26.                                         p.sendMessage(ChatColor.BLUE + "+ " + ChatColor.GREEN + "Es gibt einige User Portale, Rot Gekenzeichnet");
  27.                                         p.sendMessage(ChatColor.BLUE + "+ " + ChatColor.GREEN + "Die User Portale haben User gekauft, damit leute durch diese zu ihen kommen");
  28.                                         p.sendMessage(ChatColor.BLUE + "+ " + ChatColor.GREEN + "Wenn Du auch ein Portal Mochtest, sag einem Admin Bsecheid");
  29.                                         p.sendMessage(ChatColor.BLUE + "+ " + ChatColor.GREEN + "Wenn du zu einem User moechtest, mach rechtklick auf das linke Schild und waele den user aus");
  30.                                         p.sendMessage(ChatColor.GREEN + "  Druecke dann dan Rechten Button und geh durch das Portal");
  31.                                 }
  32.                                
  33.                         }
  34.                 // command infos klammer ende  
  35.                 }