ECDTC
PluginLicenseRef-All-Rights-Reserved

ECDTC

A competitive PvP event where players must destroy the core to earn rewards.

55
Downloads
0
Followers
7 months ago
Updated
📦
1
Versions

📖About ECDTC

⚔️ ECDTC — Destroy The Core

Version
Minecraft
License
PlaceholderAPI

A competitive PvP event where players must destroy the core to earn rewards.
Plugin for Paper/Spigot servers, compatible with versions 1.16 up to 1.21.


📖 Description

ECDTC — Destroy The Core provides a dynamic event where teams or players compete to destroy a configurable core placed in your world.
It includes rewards, player rankings, bedrock protection, announcements, and full support for PlaceholderAPI.

✨ Main Features

  • Configurable core (material, health = number of blocks).
  • Customizable progress bossbar.
  • Random block-breaking rewards.
  • TOP 1/2/3 players with custom rewards.
  • Fully customizable messages (RGB / hex support).
  • Automatic pre-announcements (10/5/1 minutes before start).
  • Bedrock protection outside the event.
  • Automatic daily scheduler (configurable times).
  • PlaceholderAPI support (%dtc_*%).

⚙️ Installation

  1. Copy ECDTC.jar into the plugins/ folder of your server.
  2. Install PlaceholderAPI (required).
  3. Start the server to generate config files.
  4. Edit config.yml and lang.yml.
  5. Use /dtc reload to apply changes without restarting.

⌨️ Commands & Permissions

Command Description Permission
/dtc start Manually start an event. dtc.admin
/dtc stop Stop the current event. dtc.admin
/dtc reload Reload configuration. dtc.admin
/dtc time Show time until the next scheduled event. dtc.admin
/dtc top Display current event ranking. dtc.admin
/dtc info Show information about the current event. dtc.admin

🔑 Permission Notes:

  • dtc.admin → access to all administrative subcommands.

🔗 Placeholders (PlaceholderAPI)

Identifier: dtc

Placeholder Description
%dtc_blocks_broken% Blocks broken by the player in the current event.
%dtc_blocks_remaining% Remaining blocks of the core.
%dtc_blocks_total% Total health of the core (initial blocks).
%dtc_my_contribution% Player’s contribution percentage.
%dtc_global_stats% Global statistics (broken blocks per player).
%dtc_minutes_until_event% Approximate minutes until the next event.
%dtc_time_until_event% Time left formatted (e.g. 1h 2m 3s).
%dtc_next_event% Next event time (HH:mm).
%dtc_event_active% true/false if there’s an active event.
%dtc_event_time_left% Remaining event time.

🛠️ Quick Configuration

Basic config.yml example:

Core:
  CoreHealth: 5
  CoreMaterial: OBSIDIAN
  Location:
    world: "world"
    x: -174
    y: 48
    z: -24
  hit-rewards:
    "30":
      - give %player% diamond 1
    "10":
      - broadcast %player% got extremely lucky!
      - give %player% enchanted_golden_apple 1
Bossbar:
  Enabled: true
  Title: "&eDTC: &a%dtc_blocks_remaining% &7of &a%dtc_blocks_total% blocks left"
  Color: GREEN
  Style: SEGMENTED_10