S

Event

You can start the event by doing /event start (event name) (will show up as an option). The event will be named End times and the name is configurable in console. When the event starts there will be a title and subtitle on screen

Title - Act 1 (name configurable in console) Subtitle - End Times (name configurable in console)

When the event starts the sky will turn into a blood red color/dark red color. All mobs will be buffed by 50%. Mobs will deal more damage and will have more health. During the event creepers spawn in as charged creepers to make the game harder. During the event all players will go from 10 hearts to 8 hearts. When act 1 ends they will go back to 10 hearts.

You can stop the event by doing /cancel (event name) (will show up as an option)

Once the event starts there will be 10 barrels with one prismarine crystal in each called "Reality shards" (name configurable in console) in each of them hidden across the world at surface. To get the coordinates to one of the barrels an admin must do:

/cord display barrel1 /cord display barrel2 /cord display barrel3 /cord display barrel4 /cord display barrel5 /cord display barrel6 /cord display barrel7 /cord display barrel8 /cord display barrel9 /cord display barrel10

When they do that command a chat message will appear visible for every player online broadcasting the barrel's coordinates on the world.

The barrels will have the glowing effect. In order to end act 1. You must get a Prismarine called "Reality Stone" (name configurable in console). Once you have the "Reality stone" you must place it down At 0 100 0 and the event will automatically end.

Kodari AI
KodariApr 15 at 8:19 pm 15,447 (v2)

I’ll create an apocalyptic event plugin with mob buffs, sky effects, and a reality shard collection quest.

EndTimesEvent
An apocalyptic event plugin featuring Act-based gameplay with dramatic sky effects. When activated, the world transforms with blood-red skies, buffed hostile mobs, charged creepers, and reduced player health. Players must collect 10 Reality Shards hidden in glowing barrels across the world, forge them into a Reality Stone, and place it at world spawn to end the event. Includes admin commands for event control and coordinate broadcasting.
S

make it so that you can do /event give reality stone (shows up as an option) /event give reality shard (shows up as an option

make it so that you can do /spawnbarrel1 /spawnbarrel2 /spawnbarrel3 /spawnbarrel4 /spawnbarrel5 /spawnbarrel6 /spawnbarrel7 /spawnbarrel8 /spawnbarrel9 /spawnbarrel10

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
16 1,089
src/main/java/com/endtimes/event/EndTimesEvent.java
package com.endtimes.event;

import com.endtimes.event.commands.CordCommand;
import com.endtimes.event.commands.EventCommand;
import com.endtimes.event.listeners.BarrelListener;
import com.endtimes.event.listeners.MobSpawnListener;
import com.endtimes.event.listeners.PlayerListener;
import com.endtimes.event.listeners.StonePlacementListener;
import com.endtimes.event.managers.BarrelManager;
import com.endtimes.event.managers.ConfigManager;
import com.endtimes.event.managers.EventManager;
import com.endtimes.event.managers.SkyManager;
import lombok.Getter;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class EndTimesEvent extends JavaPlugin {

    private ConfigManager configManager;
    private EventManager eventManager;
    private BarrelManager barrelManager;
    private SkyManager skyManager;

    @Override
    public void onEnable() {
        this.configManager = new ConfigManager(this);
        this.eventManager = new EventManager(this);
        this.barrelManager = new BarrelManager(this);
        this.skyManager = new SkyManager(this);

        registerCommands();
        registerListeners();

        getLogger().info("EndTimesEvent has been enabled!");
    }

    @Override
    public void onDisable() {
        if (eventManager.isEventActive()) {
            eventManager.stopEvent();
        }
        getLogger().info("EndTimesEvent has been disabled!");
    }

    private void registerCommands() {
        getCommand("event").setExecutor(new EventCommand(this));
        getCommand("cord").setExecutor(new CordCommand(this));
    }

    private void registerListeners() {
        getServer().getPluginManager().registerEvents(new MobSpawnListener(this), this);
        getServer().getPluginManager().registerEvents(new PlayerListener(this), this);
        getServer().getPluginManager().registerEvents(new BarrelListener(this), this);
        getServer().getPluginManager().registerEvents(new StonePlacementListener(this), this);
    }
}