TbnrOkay

I need a custom minecraft plugin that can save EVERY chat message and log it to a terminal open in my device, The plugin is called "ParallaxChatLogger" and the way it works is.

in the plugin folder (Open source) there is a readme, which has a file you run on your local MACOS terminal, this is python OR javascript. The client side plugin will link to the script so you run /linkers In game, it says you run the script. The script asks for a 10 digit code which the cmd gave u - u enter it and it links, u can see every chat int terminal. Then once u do /savetxt it saves all chats u logged as a txt file.

Kodari AI
KodariSep 3 at 6:52 am 1
ParallaxChatLogger
A Minecraft plugin that captures every chat message and streams it to a local macOS terminal via a companion Python script. Players run /linkers in-game to generate a 10-digit pairing code, then execute the script, enter the code, and establish a live connection. All chat messages are forwarded in real-time to the terminal. The /savetxt command exports the entire logged chat history to a timestamped .txt file on the host machine. Includes a README with setup instructions for the open-source client script.
  1. Build the Paper plugin with expiring one-time link codes, TCP client streaming, chat capture, and /savetxt.

  2. Add the local Python terminal client that authenticates, displays, accumulates, and exports chats.

  3. Add Gradle metadata, plugin/config resources, and setup documentation.

  1. Created the ParallaxChatLogger Paper plugin with:

    • /linkers one-time 10-digit linking codes

    • TCP streaming of captured player chat

    • /savetxt server-side chat export

    • Linked-client save requests

    • Expiring authentication codes

  2. Added parallax_logger.py, a standard-library Python client that:

    • Connects to the Minecraft server

    • Displays chat in real time

    • Receives current-session history

    • Supports /savetxt and /quit

  3. Added README.md, config.yml, plugin.yml, and Gradle build files with firewall and networking instructions.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
parallax_logger.py
README.md
settings.gradle
Code
13 628
src/main/java/com/parallaxchatlogger/ParallaxChatLogger.java
package com.parallaxchatlogger;

import com.parallaxchatlogger.command.LinkCommand;
import com.parallaxchatlogger.command.SaveTxtCommand;
import com.parallaxchatlogger.listener.ChatListener;
import com.parallaxchatlogger.logging.ChatLogManager;
import com.parallaxchatlogger.network.LinkManager;

import org.bukkit.command.PluginCommand;
import org.bukkit.plugin.java.JavaPlugin;

public final class ParallaxChatLogger extends JavaPlugin {
    private ChatLogManager chatLogManager;
    private LinkManager linkManager;

    @Override
    public void onEnable() {
        saveDefaultConfig();

        chatLogManager = new ChatLogManager(this);
        linkManager = new LinkManager(this, chatLogManager);
        linkManager.start();

        getServer().getPluginManager().registerEvents(
                new ChatListener(chatLogManager, linkManager), this);

        PluginCommand linkers = getCommand("linkers");
        if (linkers != null) {
            linkers.setExecutor(new LinkCommand(this, linkManager));
        }

        PluginCommand savetxt = getCommand("savetxt");
        if (savetxt != null) {
            savetxt.setExecutor(new SaveTxtCommand(chatLogManager, linkManager));
        }
    }

    @Override
    public void onDisable() {
        if (linkManager != null) {
            linkManager.stop();
        }
        if (chatLogManager != null) {
            chatLogManager.saveCurrentLog();
        }
    }
}