Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › MultiPlayer Game Hacks & Cheats › Minecraft Hacks & Cheats › Minecraft Tutorials › Save ingame chat logs code

Save ingame chat logs code

Posts 1–3 of 3 · Page 1 of 1
JO
john404
Save ingame chat logs code
I wrote this real fast, give credits if you use

Basically it saves chat logs of all ingame messages, so if u wanted to view something and it disappeared just go to the text file and search for it

Its useful in some way IMO
Code:
/*written by iolaka but not tested yet :D idea from flipyblitz*/
package net.minecraft.src;

import java.io.*;
import net.minecraft.client.Minecraft;

public classname(Minecraft minecraft, File file)
{
chatlogs = new File(file, "chatlogs.txt" /* + ".exevirus" loljk*/);
}

public void saveOptions()
    {
  try
  {
    PrintWriter printwriter = new PrintWriter(new FileWriter(chatlogs));
    printwriter.println((new StringBuilder()).append("Message logs:").append(ChatLine.message).toString()); // if chatline.message doesn't work, find the correct variable/where chat messages are stored, and apply it to this.
    printwriter.close();
  }
  catch(Exception exception)
  {
	    if(error)
    System.out.println("unable to save logs, error.");
    exception.printStackTrace();
  }
	// booleans
	public boolean error= true;
	public File chatlogs;
    }
#1 · 14y ago
IM
iMexi
Could you explain how this works?

And it clearly says : "written by iolaka"
#2 · edited 14y ago · 14y ago
JO
john404
Quote Originally Posted by iMexi View Post
Could you explain how this works?

And it clearly says : "written by iolaka"
i am iolaka , john404 is my other alias
#3 · 14y ago
Posts 1–3 of 3 · Page 1 of 1

Post a Reply

Similar Threads

  • V, B, N INGAME CHAT (CA)By Tall kiwi in Combat Arms Help
    4Last post 16y ago
  • could someone make a ingame chat box?By chainsawdaz in Battlefield Heroes Hacks
    4Last post 16y ago
  • radar and ingame chat problemBy cacheat in Call of Duty Modern Warfare 2 Help
    4Last post 15y ago
  • Chat logsBy wescooldude3 in Combat Arms Discussions
    4Last post 16y ago
  • Nexon Fails got Lobby Chat/Ingame/Clanchat ban 7000 hoursBy Wiirtuallca in Combat Arms Hacks & Cheats
    38Last post 17y ago

Tags for this Thread

None