Parsa Akbary

Create a Paper/Spigot minecraft version 26.2 plugin called “End City Echo”. The Echo event can only trigger in overworld and end dimension. Every configurable interval, check each player and give the event a configurable random chance to activate. No fixed location or structure is required. For the MVP, require at least one Enderman near the player when the roll succeeds. When triggered, start the Blackout event: mysterious sounds, subtle particles, dark atmosphere, and a BossBar saying “THE CITY REMEMBERS YOU” for 15 seconds. Add /echo trigger for testing and make the interval and chance configurable.

Kodari AI
KodariSep 20 at 2:32 pm 7
EndCityEcho
EndCityEcho is a Paper/Spigot plugin that creates an atmospheric "Echo" event for players in the overworld and end dimensions. Every configurable interval, the plugin checks each eligible player and rolls a configurable random chance to activate the event. When triggered, the plugin requires at least one Enderman within a configurable radius of the player. Upon successful activation, a 15-second Blackout event begins, featuring mysterious sounds, subtle particles, a dark atmospheric effect, and a BossBar displaying "THE CITY REMEMBERS YOU". The plugin includes an /echo trigger command for testing purposes, with both the interval and activation chance fully configurable via the plugin configuration file.
  1. Set up the Paper/Spigot plugin project and metadata.

  2. Add configurable automatic Enderman-gated event rolls.

  3. Implement the 15-second Blackout sequence and /echo trigger test command.

Implemented End City Echo from scratch.

  • Configurable interval-seconds, activation-chance, and enderman-radius.

  • Automatic rolls only run in the Overworld and The End, requiring a nearby Enderman.

  • Added a 15-second Blackout with darkness, atmospheric sounds, portal particles, and the “THE CITY REMEMBERS YOU” BossBar.

  • Added /echo trigger for operators to manually test the event.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle.kts
settings.gradle.kts
Code
7 293
src/main/java/com/kodari/endcityecho/EndCityEchoPlugin.java
package com.kodari.endcityecho;

import com.kodari.endcityecho.command.EchoCommand;
import com.kodari.endcityecho.event.EchoManager;
import org.bukkit.command.PluginCommand;
import org.bukkit.plugin.java.JavaPlugin;

public final class EndCityEchoPlugin extends JavaPlugin {
    private EchoManager echoManager;

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

        echoManager = new EchoManager(this);
        getServer().getPluginManager().registerEvents(echoManager, this);
        echoManager.start();

        PluginCommand echoCommand = getCommand("echo");
        if (echoCommand != null) {
            EchoCommand command = new EchoCommand(echoManager);
            echoCommand.setExecutor(command);
            echoCommand.setTabCompleter(command);
        }
    }

    @Override
    public void onDisable() {
        if (echoManager != null) {
            echoManager.shutdown();
        }
    }
}