public void addPlayerQuote(String Text, Player Player) { DataHandler Quotes = new DataHandler("plugins/TotalLog/ChatBrother/PlayerQuotes.txt"); Quotes.AppendString("<Quote>"); Quotes.AppendString("\t<WhoSaidIt>" + Player.getName() + "</WhoSaidIt>"); Quotes.AppendString("\t<WhatWasSaid>" + Text + "</WhatWasSaid>"); Quotes.AppendString("</Quote>"); }
public boolean hashtagExists(String Tag) { DataHandler HashHandler = new DataHandler("plugins/TotalLog/ChatBrother/HashTags.txt"); return HashHandler.Contains(Tag); }