inferidize

Tech Requirements • Paper (preferred), version: (developer can confirm, likely 1.20+) • Config files for all timings, effects, and messages. • Performance-safe (up to large player count). • Testing + quick iteration support.

📎 2 files 3,517 chars
📄
pasted-code-1771162520531.txt
txt 27 lines
▶
Commission Description

We’re running a large-scale Minecraft Civilization Event (Paper/Spigot). We need custom plugins for a 5-day event (6 hours/day) with island teams, hidden totems, plagues, and a final extinction win condition.

Server/Event Overview
    •    4 main islands (teams) + 1 central “Sanctum” island that opens later.
    •    Players start Day 1 with PvP off; PvP turns on Day 2.
    •    Plagues occur over the days: Storm → Decay → Extinction finale.
    •    Death rules: Day 1 has respawn enabled for first 2 hours only, then permanent death (no revive/bandages).

Required Plugins / Features

1) Team / Island System (Core)
    •    Create and manage 4 island teams.
    •    Players are “registered” to an island team (important for extinction elimination).
    •    Admin commands to add/remove/move players between teams.
    •    Optional: team leader permissions (invite/kick) if easy.

2) Totem System
    •    Each island has a hidden underground shrine with a Totem Pedestal.
    •    Totem is a unique item (one per island), cannot be stored in any container (chests, shulkers, ender chest, etc.).
    •    Totem carrier has glowing effect.
    •    Totem should have subtle particle glow, NOT a beacon/sky beam.
    •    Totem states:
    •    On Pedestal: applies small island-wide buffs (low-tier only, e.g. Haste 1 / Speed 1 / minor resistance etc. — final exact buffs can be configured).
    •    Carried: island-wide buffs are removed; carrier gets stronger buffs (configurable) and glows.
    •    Totem cannot be destroyed.
📄
pasted-code-1771162527357.txt
txt 31 lines
▶
3) Team Switching Mechanic (Betrayal)
We want betrayal/defection possible, but controlled.
    •    A player can switch to another island ONLY by completing a ritual:
    1.    Hold the totem of the island they want to join
    2.    Kill one member of their current island as a “sacrifice”
    3.    Go to the joining island’s altar/pedestal and start ritual (timer)
    4.    If ritual completes → player is moved to new island team
    •    Switching must be disabled during the final phase (Extinction / last day), configurable via command or time lock.

4) Storm Plague
    •    When enabled, causes rain/storm.
    •    Any player not under a solid block “ceiling” gains freezing effect similar to powdered snow.
    •    Wearing FULL leather armor negates the freezing effect.
    •    Should be schedulable (ex: every 3rd hour for ~40 minutes) and togglable via command.

5) Decay Plague
    •    Admin command: /decay place core
    •    Spawns a “decay core” block that expands outward in random directions in a circle.
    •    Expansion rate: 3 blocks of growth every 5 minutes (configurable).
    •    Decay blocks are a mix of obsidian/bastion-like blocks (hard to break).
    •    Standing on decay applies effects: wither + slowness + blindness (configurable).
    •    On Extinction start: decay speeds up (configurable).
    •    After Extinction ends: decay stops, and hardened blocks can convert to easier blocks (optional).

6) Extinction / Sanctum Finale
    •    Central Sanctum has 4 slots/altars (one per island).
    •    At extinction start, broadcast message like: “I. MUST. FEED.”
    •    Timer window (ex: 1 hour) for islands to deposit their totem into Sanctum.
    •    If an island fails to deposit its totem before timer ends:
    •    Eliminate all players currently registered to that island team (important: NOT geography-based).
    •    Admin controls: start/stop, set timers, force deposit status, debug commands.
Kodari AI
KodariFeb 15 at 1:39 pm 30,917 (v2)

I’ll create a comprehensive Civilization Event plugin with all requested systems.

CivilizationEvent
A comprehensive event plugin for large-scale Civilization events featuring island teams, unique totems with pedestal buffs, betrayal mechanics requiring ritual sacrifice, storm and decay plague systems, and an extinction finale with timer-based totem deposits and team elimination. Includes admin controls, configurable timings and effects, and full GUI-based management.

Analysis

  • Complex multi-system event plugin requiring team management, unique item handling, plague mechanics, and elimination system

  • GUI-based admin interfaces for ease of use during live event

  • Heavy use of particle effects, buffs, and world manipulation requiring XSeries

  • Performance considerations for large player counts with periodic task optimizations

Now I’ll create all the command classes:

Now I’ll create the listener classes:

All files created successfully! The CivilizationEvent plugin is now complete with all requested features including team management, totem system with pedestal buffs, betrayal mechanics, storm and decay plagues, and the extinction finale system.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
28 2,565
src/main/java/com/civilizationevent/CivilizationEvent.java
package com.civilizationevent;

import com.civilizationevent.command.*;
import com.civilizationevent.listener.*;
import com.civilizationevent.manager.*;
import lombok.Getter;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class CivilizationEvent extends JavaPlugin {
    
    private ConfigManager configManager;
    private MessageManager messageManager;
    private DataManager dataManager;
    private TeamManager teamManager;
    private TotemManager totemManager;
    private BetrayalManager betrayalManager;
    private StormManager stormManager;
    private DecayManager decayManager;
    private ExtinctionManager extinctionManager;
    
    @Override
    public void onEnable() {
        saveDefaultConfig();
        saveResource("messages.yml", false);
        
        this.configManager = new ConfigManager(this);
        this.messageManager = new MessageManager(this);
        this.dataManager = new DataManager(this);
        this.teamManager = new TeamManager(this);
        this.totemManager = new TotemManager(this);
        this.betrayalManager = new BetrayalManager(this);
        this.stormManager = new StormManager(this);
        this.decayManager = new DecayManager(this);
        this.extinctionManager = new ExtinctionManager(this);
        
        dataManager.load();
        
        registerCommands();
        registerListeners();
        
        teamManager.startTasks();
        totemManager.startTasks();
        stormManager.startTasks();
        decayManager.startTasks();
        
        getLogger().info("CivilizationEvent has been enabled!");
    }
    
    @Override
    public void onDisable() {
        if (dataManager != null) {
            dataManager.save();
        }
        
        if (stormManager != null) {
            stormManager.stopTasks();
        }
        if (decayManager != null) {
            decayManager.stopTasks();
        }
        if (extinctionManager != null) {
            extinctionManager.stopTasks();
        }
        
        getLogger().info("CivilizationEvent has been disabled!");
    }
    
    private void registerCommands() {
        getCommand("team").setExecutor(new TeamCommand(this));
        getCommand("totem").setExecutor(new TotemCommand(this));
        getCommand("storm").setExecutor(new StormCommand(this));
        getCommand("decay").setExecutor(new DecayCommand(this));
        getCommand("extinction").setExecutor(new ExtinctionCommand(this));
        getCommand("betrayal").setExecutor(new BetrayalCommand(this));
    }
    
    private void registerListeners() {
        Bukkit.getPluginManager().registerEvents(new PlayerListener(this), this);
        Bukkit.getPluginManager().registerEvents(new TotemListener(this), this);
        Bukkit.getPluginManager().registerEvents(new DecayListener(this), this);
        Bukkit.getPluginManager().registerEvents(new DeathListener(this), this);
    }
}