Logo
MINECRAFTBIBLE
Items
Items

All game items

Blocks
Blocks

Building blocks

Mobs
Mobs

Creatures & monsters

Biomes
Biomes

World biomes

Structures
Structures

Generated structures

Recipes
Recipes

Crafting guides

Advancements
Advancements

Achievements

Loot Tables
Loot Tables

Drop rates

Tags
Tags

Item groupings

All Versions
View all data →
Capes
Cape ArchiveNEW

Browse rare Minecon capes, OptiFine capes, and custom capes from players worldwide

Browse

Player Database
Player DatabasePopular

Search any player

Skin Browser
Skin Browser

Browse & download skins

Cape Gallery
Cape GalleryNEW

Minecon & OptiFine capes

Seed Vault
Seed Vault

Curated seeds

Learn

Guides
GuidesNew

Tutorials & tips

Blog
Blog

News & updates

Community

Community Hub
Community HubHub

Posts, discussions & more

All Versions
View community →
Seed Analyzer
Seed Analyzer

World seed analysis

Loot Explorer
Loot Explorer

Drop rates

Crafting Calculator
Crafting Calculator

Material planning

Enchant Calculator
Enchant Calculator

Probability math

Redstone Lab
Redstone Lab

Signal timing

Trading Profit
Trading Profit

Villager ROI

All Versions
View all tools →
Mods
Mods

Browse all mods

Plugins
Plugins

Server plugins

Resource Packs
Resource Packs

Textures & sounds

Shaders
Shaders

Visual enhancements

Datapacks
Datapacks

World logic

Scanner
Mod Intelligence

Scan & analyze any mod

All Versions
View all mods →
Loading...
IntroductionIntroductionVersion HistoryVersion HistoryGuidesGuidesBlog & NewsBlog & News
ItemsItemsBlocksBlocksMobsMobsRecipesRecipesBiomesBiomesStructuresStructuresAdvancementsAdvancementsLoot TablesLoot TablesTagsTags
ModsModsPluginsPluginsResource PacksResource PacksShadersShadersDatapacksDatapacks

MinecraftBible

The Ultimate Wiki

Logo
MINECRAFTBIBLE

The ultimate Minecraft reference. Every item, block, mob, and recipe documented with precision.

Community

  • Skin Browser
  • Cape Gallery
  • Seed Vault
  • Blog
  • Guides

Database

  • Items
  • Blocks
  • Mobs
  • Recipes
  • Biomes
  • Structures

Tools

  • Seed Analyzer
  • Mod Intelligence
  • Crafting Calculator
  • Enchant Calculator

Mods & Packs

  • Mods
  • Plugins
  • Resource Packs
  • Shaders
  • Datapacks

Site & Legal

  • About
  • Authors
  • Editorial Policy
  • Corrections
  • Contact
  • Privacy Policy
  • Terms of Service
  • DMCA
  • Sitemap

© 2026 MinecraftBible. Not affiliated with Mojang or Microsoft.

PrivacyTermsContact
Event Plugin
PluginMIT

Event Plugin

This system lets you define multiple timed “event phases” in the config where each phase runs console commands after a specified number of ticks from the event starting.

12
Downloads
1
Followers
1 months ago
Updated
📦
1
Versions
managementutilitypaper
Download Latestv26.1.XView on Modrinth

📖About Event Plugin

EVENT PHASE SYSTEM (BACKEND OVERVIEW)

PURPOSE:

Allows a Paper plugin event system to execute console commands at timed intervals after /event start.


SUMMARY

  • Event starts
  • Players teleported
  • Phases loaded from config
  • Each phase scheduled using Bukkit scheduler
  • Console commands executed at defined ticks

CONFIG STRUCTURE (config.yml)


start:
phases:
- after:
commands:
- "command 1"
- "command 2"

- after: <ticks>
  commands:
    - "command 3"

NOTES:

  • phases is a LIST (not a map)
  • each entry is an independent timed phase
  • after = delay in ticks from event start
  • commands = list of console commands

ADMIN COMMANDS


  1. SET CENTER POSITION
    /event cornucopia center

    • Sets the center of the circle to the player's current location
    • This is the origin point for all spawn calculations

  1. SET RADIUS
    /event cornucopia radius

    Example:
    /event cornucopia radius 15

    • Controls distance from center to each spawn point
    • Larger radius = more spread out players
    • Smaller radius = tighter cornucopia

  1. ENABLE AUTO MODE
    /event mode auto

    • Switches spawn system from manual coordinates to generated circle spawns
    • Required for cornucopia system to activate

    /event mode manual

    • Disables circle generation and uses saved spawn points instead

  1. START EVENT

/event start

BEHAVIOR:

  • Counts online players
  • Generates N evenly spaced points on a circle
  • Teleports each player to a unique position
  • Spawns are distributed using angular spacing

BACKEND


  1. Player runs:
    /event start

  2. EventManager.startEvent() executes:

    • Teleports players (manual or auto circle)
    • Calls runStartPhases()
  3. runStartPhases():

    FOR each phase in config "start.phases":

    read:
        delay = phase.after
        commands = phase.commands
    
    schedule task:
        BukkitScheduler.runTaskLater(plugin, task, delay)
    
  4. When delay expires:

    FOR each command in phase.commands:
    Bukkit.dispatchCommand(CONSOLE, command)


SCHEDULING BEHAVIOR

Example:

phase A:
after: 1
commands:
- "pvp disable"

phase B:
after: 20
commands:
- "say Event started"

RESULT:

tick 1 -> pvp disabled
tick 20 -> message broadcast

IMPORTANT:

  • delays are relative to EVENT START
  • phases do NOT chain automatically
  • each phase schedules independently

COMMON ERRORS FIXED

WRONG (invalid YAML):
start:
phases:
after: 1
commands:
after: 20
commands:

CAUSE:

  • duplicate keys
  • not a list structure

CORRECT EXAMPLE:
start:
phases:
- after: 1
commands:
- "clear"
- after: 20
commands:
- "say This is 1 second after the event start!"

👥 Team & Contributors

Technowizard3113
Technowizard3113Owner

⚙️ Compatibility

Environment
🖥️ Server-side
Loaders
paper
Minecraft Versions
26.126.1.126.1.2

🔗 Links

Modrinth Page