Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package me.mrkirby153.swc.core.commands;
- import me.mrkirby153.swc.core.Core;
- import me.mrkirby153.swc.core.command.BaseCommand;
- import me.mrkirby153.swc.core.command.CommandException;
- import org.bukkit.Server;
- import org.bukkit.command.Command;
- import org.bukkit.command.CommandSender;
- import org.bukkit.entity.Player;
- public class Commanderrors extends BaseCommand<Core> {
- // Command to parse errors from the database
- @Override
- public void run(Server server, Player player, Command cmd, String commandLabel, String[] args) throws CommandException {
- //TODO: Make sure the player has a DEVELOPER rank or higher
- // if(args.length == 0){
- /*// Show a list of all the errors to the player
- TextComponent header = new TextComponent("======================================================");
- header.setColor(ChatColor.GOLD);
- header.setStrikethrough(true);
- // Show a summary of all the errors
- TextComponent footer = new TextComponent("======================================================");
- footer.setColor(ChatColor.GOLD);
- footer.setStrikethrough(true);*/
- // player.sendMessage(getPlugin().getClass().getName());
- // }
- }
- @Override
- public void run(Server server, CommandSender sender, Command cmd, String commandLabel, String[] args) throws CommandException {
- super.run(server, sender, cmd, commandLabel, args);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment