mrkirby153

Untitled

Feb 16th, 2015
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.48 KB | None | 0 0
  1. package me.mrkirby153.swc.core.commands;
  2.  
  3. import me.mrkirby153.swc.core.Core;
  4. import me.mrkirby153.swc.core.command.BaseCommand;
  5. import me.mrkirby153.swc.core.command.CommandException;
  6. import org.bukkit.Server;
  7. import org.bukkit.command.Command;
  8. import org.bukkit.command.CommandSender;
  9. import org.bukkit.entity.Player;
  10.  
  11. public class Commanderrors extends BaseCommand<Core> {
  12.  
  13.     // Command to parse errors from the database
  14.     @Override
  15.     public void run(Server server, Player player, Command cmd, String commandLabel, String[] args) throws CommandException {
  16.         //TODO: Make sure the player has a DEVELOPER rank or higher
  17. //        if(args.length == 0){
  18.             /*// Show a list of all the errors to the player
  19.             TextComponent header = new TextComponent("======================================================");
  20.             header.setColor(ChatColor.GOLD);
  21.             header.setStrikethrough(true);
  22.             // Show a summary of all the errors
  23.  
  24.             TextComponent footer = new TextComponent("======================================================");
  25.             footer.setColor(ChatColor.GOLD);
  26.             footer.setStrikethrough(true);*/
  27. //            player.sendMessage(getPlugin().getClass().getName());
  28. //        }
  29.     }
  30.  
  31.     @Override
  32.     public void run(Server server, CommandSender sender, Command cmd, String commandLabel, String[] args) throws CommandException {
  33.         super.run(server, sender, cmd, commandLabel, args);
  34.     }
  35. }
Advertisement
Add Comment
Please, Sign In to add comment