slithergoh

i want a plugin that turns it to night for like 3 seconds and then it goes straight back to day every time a players is killed and also make it make a dong sound to when i player is killed also make the death message anonymous and replace it with player-name-here was slaughtered in cold blood and lost a heart

Kodari AI
KodariMay 2 at 9:41 am 5,691 (v2)

I’ll create a plugin that triggers a nightfall effect with a bell sound on player death and replaces death messages.

ColdBloodDeath
A dramatic death effect plugin that transforms player deaths into cinematic moments. When a player dies, the world plunges into night for 3 seconds accompanied by an ominous bell sound. Death messages are replaced with "Player was slaughtered in cold blood and lost a heart" for consistent, anonymous death notifications. Creates an atmospheric and suspenseful PvP or survival experience.

Plugin created! When a player dies, the world transitions to midnight for 3 seconds with a bell sound, then returns to day. Death messages show “[Player] was slaughtered in cold blood and lost a heart”.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
4 91
src/main/java/com/coldblooddeath/ColdBloodDeath.java
package com.coldblooddeath;

import com.coldblooddeath.listener.DeathListener;
import org.bukkit.plugin.java.JavaPlugin;

public class ColdBloodDeath extends JavaPlugin {

    @Override
    public void onEnable() {
        getServer().getPluginManager().registerEvents(new DeathListener(this), this);
        getLogger().info("ColdBloodDeath has been enabled!");
    }

    @Override
    public void onDisable() {
        getLogger().info("ColdBloodDeath has been disabled!");
    }
}