tiack_2009

Make a server-side mod that creates a fake player to spoof player so make like more player then really player have

Kodari AI
KodariJun 23 at 8:35 am 23
FakePlayerSpoof
A Paper plugin that injects configurable fake players into the server list ping and in-game tab list to inflate visible player counts. Features include custom fake player names, randomized name generation, adjustable latency, per-fake-player skin support, live server list count/sample spoofing via Paper's ping event, and tab list injection via ProtocolLib (optional soft-depend). Includes a /fakeplayer command for reload, listing, and runtime add/remove of fake entries.

Plan:

  1. FakePlayer data model

  2. ConfigManager + FakePlayerManager

  3. PingListener — Paper ping event spoofing

  4. TabListManager — ProtocolLib tab list injection (version-aware)

  5. PlayerJoinListener — sync new joiners to fake tab entries

  6. FakePlayerCommand — /fakeplayer

  7. FakePlayerPlugin — wires everything together

  8. plugin.yml + config.yml


How it works:

Feature
Requirement
What happens
Server list count inflation
Paper
PaperServerListPingEvent.setNumPlayers()
bumps the displayed number
Fake names in hover list
Paper
Adds
PlayerProfile
entries to the ping sample
In-game tab list injection
Paper + ProtocolLib
Sends
PLAYER_INFO_UPDATE
(1.19.3+) or
PLAYER_INFO
packets to each player

Key commands:

  • /fakeplayer reload — hot-reloads config, clears and resends tab entries

  • /fakeplayer list — shows all active fakes with latency/UUID

  • /fakeplayer add <name> / /fakeplayer remove <name> — runtime management without restart

For skin spoofing, paste the base64 textures value and its signature from any Minecraft profile into the config entry.

tiack_2009

look like 100% real player, have rank, can crystal pvp other player

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
IMPORTANT.txt
Code
12 667
src/main/java/com/kodari/fakeplayer/FakePlayerPlugin.java
package com.kodari.fakeplayer;

import com.kodari.fakeplayer.command.FakePlayerCommand;
import com.kodari.fakeplayer.listener.PlayerJoinListener;
import com.kodari.fakeplayer.listener.PingListener;
import com.kodari.fakeplayer.tablist.TabListManager;
import lombok.Getter;
import org.bukkit.plugin.java.JavaPlugin;

public class FakePlayerPlugin extends JavaPlugin {

    @Getter private ConfigManager configManager;
    @Getter private FakePlayerManager fakePlayerManager;
    @Getter private TabListManager tabListManager;

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

        configManager = new ConfigManager(this);
        fakePlayerManager = new FakePlayerManager(this);

        try {
            Class.forName("com.destroystokyo.paper.event.server.PaperServerListPingEvent");
            getServer().getPluginManager().registerEvents(new PingListener(this), this);
            getLogger().info("Paper ping spoofing enabled.");
        } catch (ClassNotFoundException e) {
            getLogger().warning("PaperServerListPingEvent not found — ping spoofing disabled. Use Paper for full support.");
        }

        if (getServer().getPluginManager().getPlugin("ProtocolLib") != null && configManager.isTabListEnabled()) {
            tabListManager = new TabListManager(this);
            getServer().getPluginManager().registerEvents(new PlayerJoinListener(this), this);
            getLogger().info("ProtocolLib found — tab list injection enabled.");
        } else if (configManager.isTabListEnabled()) {
            getLogger().warning("ProtocolLib not found — tab list injection disabled. Install ProtocolLib to enable it.");
        }

        FakePlayerCommand cmd = new FakePlayerCommand(this);
        getCommand("fakeplayer").setExecutor(cmd);
        getCommand("fakeplayer").setTabCompleter(cmd);

        getLogger().info("FakePlayerSpoof enabled with " + fakePlayerManager.getCount() + " fake player(s).");
    }

    @Override
    public void onDisable() {
        if (tabListManager != null) {
            tabListManager.removeFakePlayersFromAll();
        }
    }
}