BB STAR

make me a plugin where i tyipe /record it starts recording my movment and later i tpye /recording play [name isaved that as] it should bring a npc doign exact things i did and wearing amrmor items in hand as i did and make that os /recording play [name isaved that as] here i can type what name iwant my npc to be and than skin- skin what iwant that to skin can be used from premium players

Kodari AI
KodariSep 28 at 10:57 am 1
MovementRecorderNPC
A Minecraft plugin enabling players to record their movement, actions, and equipment via /record command. When finished, players use /recording play [name] to spawn an NPC that replicates the exact recorded path, including walking routes, jumping, item usage, and armor/weapon appearances. The NPC can be customized with a custom name and skin, supporting premium player skins for personalized NPC appearance. Records position, rotation, velocity, and inventory states for accurate replication.

I’ll create a Paper plugin with named movement recordings, replay NPCs with captured equipment/actions, and configurable player skins.

  • Create the Paper/Citizens project setup and command metadata.

  • Record per-tick positions, stance, armor, and held items; persist recordings by name.

  • Add NPC playback with a chosen NPC name and premium-player skin username, plus stop/remove commands.

Created MotionEcho, a Paper plugin that requires Citizens.

  • /record starts recording; /record stop <name> saves it; /record cancel discards it.

  • /recording play <recording> <npc-name> <premium-player-username> spawns an NPC at your location and replays the recorded path.

  • Playback captures movement, direction, sneaking, sprinting, armor, and held items. The NPC keeps its final position when playback ends.

  • /recording stop <npc-name> stops playback, /recording remove <npc-name> removes the NPC, and /recording list lists saved recordings.

Skin names are player usernames that Citizens can look up through Mojang. Recordings replay movement and equipment, not interactions such as placing or breaking blocks.

BB STAR

make it so after playing the recording that npc should look act like an acutal player there name should so in the tab and any player can kill them and also add feature called scene where i can combine multiple recordings in one by doing /recoding scenes add the scene name as exaple [xyz] /recording scenes add_to [xyz] [and the recording i did name]

Kodari AI
KodariSep 28 at 11:02 am 1
  1. Make replay NPCs visible in the player list and damageable/killeable like player entities.

  2. Add named scenes with /recording scenes add <scene> and /recording scenes add_to <scene> <recording>, then support scene playback.

NPCs now appear in the player list and can be killed; death also stops and unregisters their replay. For scenes, I’ll persist ordered recording names and replay them as one continuous sequence.

  1. Replay NPCs now appear in the tab list and are damageable. When one dies, its playback is stopped and its replay is cleared.

  2. Added persistent scenes. Use /recording scenes add xyz, then /recording scenes add_to xyz <recording> for each recording. Play the sequence with /recording scenes play xyz <npc-name> <skin-player>. Recordings play in order, joined at their endpoints.

BB STAR

and what dpendency it have do it need any mod to run ?

Kodari AI
KodariSep 28 at 11:03 am 1

It needs Paper 1.20.4 and the Citizens plugin installed on the server. Citizens is a required plugin dependency; MotionEcho will not load without it.

It does not need a client-side mod, and players can join with a regular Minecraft client. The build uses Java 17.

BB STAR

make it run for 1.21.11

Kodari AI
KodariSep 28 at 11:03 am 1
  • Update the build target to Paper 1.21.11 and Java 21.

  • Raise the plugin API version to 1.21 and use a Citizens build intended for current 1.21 servers.

Updated MotionEcho to target Paper 1.21.11, using Java 21 and Citizens 2.0.44-SNAPSHOT for compilation. The plugin API version is set to 1.21.

Your server needs Paper 1.21.11, Java 21, and a compatible Citizens build installed. No client-side mod is required.

BB STAR

change its dpendcy from citizens to any thing other l

Kodari AI
KodariSep 28 at 11:07 am 3
  • Replace Citizens API calls with FancyNpcs V2 and update NPC creation, movement, equipment, cleanup, and hit handling.

  • Swap the build/runtime dependency to FancyNpcs; target Java 25 for its API while retaining Paper 1.21.11 support.

  • Update the skin help text to match the replacement.

Swapped Citizens for FancyNpcs. Install FancyNpcs on the Paper server; no client mod is needed. This build targets Paper 1.21.11 and now requires Java 25 for the FancyNpcs API.

These are packet-based NPCs rather than real server-side players: left-clicking one removes it, but it won’t take normal Minecraft health damage.

BB STAR

and make it so it should show that this plugin is made by BucketStar when someone have this plugin in there server

Kodari AI
KodariSep 28 at 11:08 am 1

Added author: BucketStar to the plugin metadata, so the server lists BucketStar as the plugin’s author.

BB STAR

fix that it should show me command list in chat box pressing tab and also fix that replay should start from the place i have recorded

Kodari AI
KodariSep 28 at 1:49 pm 1
  1. Add tab completion for the plugin’s commands.

  2. Fix replay spawning so it starts at the recording’s original location.

  • Added /recording tab completions for subcommands, saved recordings, and scenes.

  • Replays now start at the recording’s original position and world. Older recordings don’t store a world, so they use the player’s current world.

BB STAR

fix that player is keep swining hand and when i move in actual racording my head moves but in playback head does not move and fix that hand swining

Kodari AI
KodariSep 28 at 2:09 pm 1
  • Keep replay updates from triggering FancyNpcs’ configured swing animation.

  • Apply each recorded yaw and pitch to the NPC’s head for viewers in the same world.

  • Leave recording data and playback timing unchanged.

Fixed replay animation: playback updates now call updateForAll(false) to prevent the configured arm-swing animation, and apply each recorded yaw/pitch to the NPC’s head for viewers in the same world.

BB STAR

make that so if i do /record stop it should stop but if i want it to save as diffrent name and skin so ican and also fix that /recording play so just it start play dont ask for skin and name its optional

Kodari AI
KodariSep 28 at 2:11 pm 1
  1. Make /record stop end recording and support choosing a saved name and replay skin/name.

  2. Make /recording play work without optional name/skin arguments.

  1. /record stop will end and save using an automatic unique name; /record stop <name> will use your chosen recording name. Saving the recording name and choosing an NPC skin are separate: skins are replay settings.

  2. I’ll make the replay NPC name and skin optional, defaulting the NPC name to the recording name and leaving the skin unset unless supplied.

  1. /record stop now stops and saves under an automatic name; use /record stop <name> to choose the recording name.

  2. /recording play <recording> now starts immediately. NPC name and skin are optional; defaults are the recording name and your Minecraft skin.

BB STAR

i found some bugs fix them like stoping dosnt allow me to put name and skin fix it and also trying play recording dose not allow me to play it without name and skin

Kodari AI
KodariSep 28 at 2:19 pm 1
  1. Fix /record stop so it accepts the requested recording name and skin.

  2. Fix /recording play so a recording starts without requiring optional NPC name or skin arguments.

/record stop <name> <skin> now saves both values, and the skin is retained with that recording. Next I’m fixing the playback argument handling.

Fixed the argument handling:

  • /record stop <name> <skin> now saves the recording under that name and stores the skin for playback.

  • /recording play <recording> now starts without extra arguments. The NPC uses the recording name and its saved skin, if one was set. Optional overrides remain available: /recording play <recording> <npc-name> <skin>.

BB STAR

fix that

1 image attached
Kodari AI
KodariSep 28 at 2:44 pm 1

Fixed /recording scenes play to accept optional arguments:

  • /recording scenes play <scene> starts with the scene name as the NPC name.

  • /recording scenes play <scene> <npc-name> [skin-player] lets you customize them.

The usage message now reflects this.

BB STAR

fix that playing the scene playe comes with the name of the scene not with name and skin i have ssaved with please fix it

Kodari AI
KodariSep 28 at 2:55 pm 1

Fixed scene playback defaults: the replay NPC now uses the first recording’s saved name and skin instead of the scene name. You can still override them with /recording scenes play <scene> <npc-name> <skin-player>.

BB STAR

in playing schene name and skin are not allowed the npc will summon with name and skin i have type after stoping /reacord stop name;xyz skin;xyz

Kodari AI
KodariSep 28 at 2:57 pm 1
  • Parse /record stop name;... skin;... and retain the values in the recording.

  • Keep the existing positional syntax working; scene playback will use the saved recording name and skin by default.

/record stop name;xyz skin;xyz now saves the recording as xyz with skin xyz. Scene playback uses the first recording’s saved name and skin by default. The older /record stop <name> <skin> syntax still works.

BB STAR

and now change dependcy to motion capture mod

Kodari AI
KodariSep 28 at 2:58 pm 1

Which Motion Capture mod do you mean? Please send its Modrinth, CurseForge, GitHub, or API link.

This project is a Paper plugin and currently uses FancyNpcs to create and animate replay NPCs. Replacing the dependency requires the target mod/plugin’s API—not just changing a Gradle line—and a Fabric/Forge mod generally can’t be used directly by a Paper plugin.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
11 941
src/main/java/com/kodari/motionecho/MotionEchoPlugin.java
package com.kodari.motionecho;

import org.bukkit.plugin.java.JavaPlugin;

public final class MotionEchoPlugin extends JavaPlugin {
    private RecordingStore recordingStore;
    private RecordingManager recordingManager;
    private ReplayManager replayManager;

    @Override
    public void onEnable() {
        recordingStore = new RecordingStore(this);
        recordingStore.load();
        recordingManager = new RecordingManager(this, recordingStore);
        replayManager = new ReplayManager(this, recordingStore);
        getServer().getPluginManager().registerEvents(replayManager, this);

        getCommand("record").setExecutor(new RecordCommand(recordingManager));
        RecordingCommand recordingCommand = new RecordingCommand(recordingStore, replayManager);
        getCommand("recording").setExecutor(recordingCommand);
        getCommand("recording").setTabCompleter(recordingCommand);
    }

    @Override
    public void onDisable() {
        if (recordingManager != null) {
            recordingManager.stopAll();
        }
        if (replayManager != null) {
            replayManager.stopAll();
        }
    }
}