Advertisement
Guest User

HALLO

a guest
Oct 4th, 2016
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 2.92 KB | None | 0 0
  1. Trolled
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44. jk check below
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197. package eu.hangar;
  198.  
  199.  
  200.  
  201.  
  202.  
  203. import org.bukkit.ChatColor;
  204. import org.bukkit.command.Command;
  205. import org.bukkit.command.CommandSender;
  206. import org.bukkit.entity.Player;
  207. import org.bukkit.plugin.java.JavaPlugin;
  208.  
  209. public class Main extends JavaPlugin  {
  210.    
  211.    
  212.  
  213.        
  214.  public void onEnable(){
  215.      System.out.println("Done!");
  216.  }
  217.  
  218.        public boolean onCommand(CommandSender sender, Command cmd, String aliases,
  219.                 String[] args) {
  220.            Player p = (Player) sender;
  221.             if (cmd.getName().equalsIgnoreCase("buy")) {
  222.  
  223.                
  224.                  p.sendMessage(ChatColor.GREEN + "Purchase a rank at https://store.cubecraft.net");
  225.                 return true;
  226.             }          
  227.             if (cmd.getName().equalsIgnoreCase("report")) {
  228.                 p.sendMessage(ChatColor.GREEN + "If you want to report a player, click this link https://www.cubecraft.net/forums/report-a-player.24/ ! If you report a hacker, make sure to have video evidence");
  229.             }
  230.                 if (cmd.getName().equalsIgnoreCase("status")) {
  231.                     p.sendMessage(ChatColor.GREEN + "Check the status of the whole network at http://status.cubecraft.net/");
  232.  
  233.                 }
  234.             if (cmd.getName().equalsIgnoreCase("youtuber")) {
  235.                 p.sendMessage(ChatColor.GREEN +  "Want the Youtuber rank? Make sure to fill out the app https://www.cubecraft.net/threads/how-to-apply-for-the-youtuber-rank.20932/");
  236.             }
  237.             if (cmd.getName().equalsIgnoreCase("forums")) {
  238.                 p.sendMessage(ChatColor.GREEN + "Check out cubecraft forums https://www.cubecraft.net/forums/");
  239.             }
  240.             if (cmd.getName().equalsIgnoreCase("twitter")) {
  241.                 p.sendMessage(ChatColor.GREEN + " Check out our twitter https://twitter.com/cubecraftgames");
  242.             }
  243.             if (cmd.getName().equalsIgnoreCase("facebook")) {
  244. p.sendMessage(ChatColor.GREEN + "Check out our facebook page https://www.facebook.com/CubeCraftGames/");
  245.             }
  246.             if (cmd.getName().equalsIgnoreCase("youtube")) {
  247.                 p.sendMessage(ChatColor.GREEN + "Check out our youtube https://www.youtube.com/c/ccgn");
  248.             }
  249.             if (cmd.getName().equalsIgnoreCase("twitch")) {
  250.                 p.sendMessage(ChatColor.GREEN + "Check out our twitch https://www.twitch.tv/ccgn");
  251.             }
  252.  
  253.                      
  254.                  
  255.            
  256.             return true;
  257.  
  258.                        
  259.                        
  260.                        
  261.                    
  262.                
  263.    
  264.            
  265.  
  266. }
  267. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement