W

A plugin tht Obfuscated player name when he is invis in tab and in kill msg

Kodari AI
KodariApr 17 at 11:40 pm 10,326 (v2)

I’ll create a plugin that obfuscates player names when they’re invisible in the tab list and death messages.

StealthNames
Hides player identities when invisible by obfuscating their names in the tab list and death messages. When a player gains invisibility, their name is replaced with a configurable obfuscated text (default "???") to maintain stealth. Names are automatically restored when the invisibility effect ends. Fully configurable with separate toggles for tab and death message obfuscation.

Plugin created! StealthNames will automatically obfuscate player names in tab and death messages when they have invisibility, with configurable obfuscation text supporting color codes.

W

make it work with a plugin called tab

Kodari AI
KodariApr 19 at 5:32 pm 6,390 (v2)

I’ll read the TAB plugin documentation to integrate with it properly.

I’ll integrate the TAB plugin API to properly obfuscate names in their tab list system.

Plugin updated with TAB integration! Now it will use TAB’s API when available (affecting their formatted tab list) and fallback to Bukkit’s setPlayerListName when TAB is not present. The integration properly uses TAB’s PlayerLoadEvent and TabListFormatManager for seamless compatibility.

W

make it tht they cant see invis person name from essentials /msg or /minecraft:msg

Kodari AI
KodariApr 19 at 5:39 pm 7,186 (v2)

I’ll add message interception to prevent players from revealing invisible player names through /msg commands.

Plugin updated! Now blocks /msg, /tell, /w, /minecraft:msg, and /minecraft:tell commands targeting invisible players, returning a configurable “player not online” message to maintain stealth.

W

also hides team name if using any team plugin

Kodari AI
KodariApr 19 at 5:47 pm 18,714 (v2)

I’ll search for team plugin integrations to hide team names/prefixes when players are invisible.

I’ll add team integration to hide team prefixes/suffixes when players are invisible, supporting both TAB and vanilla scoreboard teams.

Plugin updated! Now integrates with TAB plugin to hide team names (prefixes/suffixes) when players are invisible, and restores them when visibility returns. The TeamIntegration uses TAB’s NameTagManager API to temporarily clear prefixes and suffixes.

W

make it also hide name and team name in chat like better teams plugins team names

Kodari AI
KodariApr 19 at 5:50 pm 14,495 (v2)

I’ll search for team plugins and add chat message interception to hide names and team prefixes when invisible players chat.

I’ll add a chat listener to hide player names and team prefixes/suffixes when invisible players send messages.

Plugin updated! Now intercepts chat messages to obfuscate invisible player names and team prefixes/suffixes in chat, working with TAB and other team plugins.

W

fix name and team name showing in chat and make it advanced and smooth config stuff

Kodari AI
KodariApr 19 at 6:22 pm 23,180 (v2)

I’ll read the current implementation and fix the chat obfuscation with advanced configuration options.

I’ll fix the chat obfuscation and create a more advanced, smooth config system.

All files updated! The plugin now has advanced chat obfuscation that replaces invisible player names and team prefixes/suffixes in chat messages, with smooth configuration options for all features including chat, tab, death messages, and message blocking.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
10 818
src/main/java/com/stealthnames/StealthNames.java
package com.stealthnames;

import com.stealthnames.integration.TabIntegration;
import com.stealthnames.integration.TeamIntegration;
import com.stealthnames.listener.PlayerListener;
import com.stealthnames.listener.DeathListener;
import com.stealthnames.listener.MessageListener;
import org.bukkit.plugin.java.JavaPlugin;
import lombok.Getter;

@Getter
public class StealthNames extends JavaPlugin {
    
    private TabIntegration tabIntegration;
    private TeamIntegration teamIntegration;
    
    @Override
    public void onEnable() {
        saveDefaultConfig();
        
        this.tabIntegration = new TabIntegration(this);
        tabIntegration.initialize();
        
        this.teamIntegration = new TeamIntegration(this);
        teamIntegration.initialize();
        
        getServer().getPluginManager().registerEvents(new PlayerListener(this), this);
        getServer().getPluginManager().registerEvents(new DeathListener(this), this);
        getServer().getPluginManager().registerEvents(new MessageListener(this), this);
        getServer().getPluginManager().registerEvents(new com.stealthnames.listener.ChatListener(this), this);
        
        getLogger().info("StealthNames has been enabled!");
    }
    
    @Override
    public void onDisable() {
        if (tabIntegration != null) {
            tabIntegration.shutdown();
        }
        if (teamIntegration != null) {
            teamIntegration.shutdown();
        }
        getLogger().info("StealthNames has been disabled!");
    }
}