public Command(String name) { super(name); this.plugin = TitanChat.getInstance(); this.aliases = new String[0]; this.briefDesc = ""; this.fullDesc = ""; this.usage = ""; this.permission = ""; this.maxArgs = 0; this.minArgs = 0; }
protected final String getDisplayName(String name) { return plugin.getParticipantManager().getParticipant(name).getDisplayName(); }
protected final ConsoleCommandSender getConsoleSender() { return plugin.getServer().getConsoleSender(); }
protected final Player getPlayer(String name) { return plugin.getServer().getPlayer(name); }
/** * Gets the format * * @return The format */ public static String getFormat() { FileConfiguration config = TitanChat.getInstance().getConfig(); return colourise(config.getString("formatting.chat", CHAT_FORMAT)); }