示例#1
0
 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>");
 }
示例#2
0
 public boolean hashtagExists(String Tag) {
   DataHandler HashHandler = new DataHandler("plugins/TotalLog/ChatBrother/HashTags.txt");
   return HashHandler.Contains(Tag);
 }