D

Extend the existing Minecraft Paper 1.21 plugin “CrimsonSky: Phase Event System” by adding a new structured second phase to the event lifecycle.

---

CURRENT PHASE SYSTEM (UPDATED):

Phase 1 – Awakening Phase 2 – The Red Dominion (NEW) Phase 3 – Infernal Collapse

---

NEW PHASE 2: THE RED DOMINION

Trigger:

  • Automatically begins after Phase 1 duration ends
  • Or can be manually forced by EventManager (optional admin control)

---

VISUAL CHANGES:

  • Sky becomes a deep, saturated blood-red overlay
  • Stronger than Phase 1 visual effects
  • Increased particle density (ash, ember, red dust)
  • Lightning becomes more frequent and visually intense
  • Ambient sound becomes louder and more distorted

---

WORLD BEHAVIOR:

  • Night remains locked (18000)
  • Hostile mob spawn rate increases slightly
  • Random fire spread events may occur in isolated areas
  • Fog effect increases for players (reduced visibility feel)

---

MOB SYSTEM CHANGES:

  • All hostile mobs receive enhanced buffs compared to Phase 1:

- Speed II - Strength I

  • Mobs become more aggressive in targeting players
  • Pathfinding range increased (mobs detect players from farther away)

---

CREEPER SYSTEM (UNCHANGED BUT INTENSIFIED FEEL):

  • Creepers remain forced to spawn as charged creepers
  • Lightning strike visual effect becomes more frequent on spawn (cosmetic emphasis)

---

BOSS BAR UPDATE:

  • Boss bar ("End Times") remains active
  • Optional: Boss bar color changes to DARK_RED or RED during this phase

---

TRANSITION RULE:

  • Transition from Phase 1 → Phase 2 must be smooth:

- Broadcast message: "The world bleeds deeper..." - Gradual increase in visual intensity (not instant switch)

---

TECHNICAL REQUIREMENTS:

  • Must integrate with existing PhaseManager system
  • Phase must be time-based or event-progress based
  • Ensure no duplicate tasks or overlapping schedulers
  • All effects must cleanly escalate from Phase 1 without resetting event state

---

OUTPUT:

  1. Updated PhaseManager logic including Phase 2
  2. Code for transitioning between Phase 1 and Phase 2
  3. Any necessary adjustments to boss bar or visual systems
  4. Brief explanation of Phase 2 design and behavior

make the plugin fully configurable in console

Kodari AI
KodariApr 26 at 4:15 pm 13,833 (v2)

I’ll create the CrimsonSky Phase Event System plugin with three phases including the new Red Dominion phase, fully configurable via console and config.

CrimsonSky
A dramatic apocalyptic event system featuring three progressive phases of world transformation. Phase 1 (Awakening) introduces blood-red skies and enhanced mobs. Phase 2 (The Red Dominion) intensifies with deeper crimson visuals, stronger mob buffs, and environmental hazards. Phase 3 (Infernal Collapse) brings maximum chaos. Features dynamic boss bars, charged creepers, particle effects, configurable phase durations, and full admin control via commands.

Project Structure

Core Systems:

  • 3-phase progressive event system

  • Dynamic visual effects (sky color, particles, lightning)

  • Mob enhancement system with phase-specific buffs

  • Boss bar progression tracking

  • Full configuration and command control

Files to create:

  • Main plugin class

  • Phase enum and PhaseManager

  • Event, Mob, Visual, and BossBar managers

  • Mob spawn listener

  • Admin command system

  • Comprehensive config.yml


Summary

Created CrimsonSky: A complete 3-phase apocalyptic event system for Paper 1.21+ with full console configurability.

Phase System:

  • Phase 1 (Awakening): Blood-red skies, night lock, Speed I on mobs, charged creepers, moderate particle effects

  • Phase 2 (The Red Dominion): Deeper crimson visuals, Speed II + Strength I on mobs, increased lightning, fire spread events, enhanced fog, intensified particles

  • Phase 3 (Infernal Collapse): Maximum intensity, Speed III + Strength II + Resistance I, highest particle density, most aggressive targeting

Key Features:

  • Smooth phase transitions with broadcast messages (“The world bleeds deeper…”)

  • Dynamic boss bar with phase-based color changes

  • Enhanced mob buffs and detection ranges per phase

  • All creepers forced to spawn as charged with lightning strikes

  • Particle system (ash, flame, red dust) with phase-based density

  • Random lightning effects around players

  • Fog effects (blindness) for reduced visibility

  • Fire spread events in Phase 2+

  • Night time locked at 18000

Admin Control:

  • /crimsonsky start - Start the event

  • /crimsonsky stop - Stop the event

  • /crimsonsky phase <1|2|3> - Force specific phase

  • /crimsonsky reload - Reload configuration

  • /crimsonsky info - View current status

Full Configuration:

  • All phases, durations, and effects configurable in config.yml

  • Mob buffs per phase customizable

  • Visual effect intensity adjustable

  • Messages fully customizable

  • Enable/disable individual features

D

remove the blindness and lightning and make the sky dark red with red particles and red dust falling from it.

D

remove lightning

Kodari AI
KodariApr 26 at 4:24 pm 12,817 (v2)

I’ll remove all lightning effects from the plugin.

All lightning effects have been removed from the plugin.

Changes made:

  1. VisualManager.java - Removed all lightning functionality:

    • Removed lightningTask field

    • Removed startLightningEffects() method

    • Removed lightning initialization from startEffects()

    • Removed lightning task cleanup from stopEffects()

  2. MobManager.java - Removed creeper lightning spawns:

    • Removed lightning strike effect on charged creeper spawns

    • Simplified handleCreeperSpawn() to only handle charging

  3. config.yml - Removed all lightning configuration:

    • Removed entire visuals.lightning section

    • Removed creepers.lightning-on-spawn option

    • Removed phase-specific lightning chance settings

The plugin now focuses on particles, fog effects, mob enhancements, and boss bar progression without any lightning mechanics.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
12 1,055
src/main/java/com/crimsonsky/CrimsonSky.java
package com.crimsonsky;

import com.crimsonsky.command.CrimsonSkyCommand;
import com.crimsonsky.listener.MobSpawnListener;
import com.crimsonsky.manager.BossBarManager;
import com.crimsonsky.manager.EventManager;
import com.crimsonsky.manager.MobManager;
import com.crimsonsky.manager.VisualManager;
import com.crimsonsky.phase.PhaseManager;
import lombok.Getter;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class CrimsonSky extends JavaPlugin {
    private EventManager eventManager;
    private PhaseManager phaseManager;
    private MobManager mobManager;
    private VisualManager visualManager;
    private BossBarManager bossBarManager;
    
    @Override
    public void onEnable() {
        // Save default config
        saveDefaultConfig();
        
        // Check if plugin is enabled in config
        if (!getConfig().getBoolean("enabled", true)) {
            getLogger().warning("CrimsonSky is disabled in config.yml");
            getServer().getPluginManager().disablePlugin(this);
            return;
        }
        
        // Initialize managers
        this.eventManager = new EventManager(this);
        this.phaseManager = new PhaseManager(this);
        this.mobManager = new MobManager(this);
        this.visualManager = new VisualManager(this);
        this.bossBarManager = new BossBarManager(this);
        
        // Register listeners
        getServer().getPluginManager().registerEvents(new MobSpawnListener(this), this);
        
        // Register commands
        CrimsonSkyCommand commandHandler = new CrimsonSkyCommand(this);
        getCommand("crimsonsky").setExecutor(commandHandler);
        getCommand("crimsonsky").setTabCompleter(commandHandler);
        
        getLogger().info("CrimsonSky Phase Event System has been enabled!");
        getLogger().info("Use /crimsonsky start to begin the apocalypse...");
    }
    
    @Override
    public void onDisable() {
        // Stop event if active
        if (eventManager != null && eventManager.isEventActive()) {
            eventManager.stopEvent();
        }
        
        getLogger().info("CrimsonSky has been disabled.");
    }
}