π
pasted-code-1787148054819.txt
txt
593 lines
βΆ
Sure β hereβs the full specification you can give the plugin AI.
Minecraft Plugin β βThe Awakeningβ
Create a Minecraft SMP plugin centered around a scripted supernatural event called The Awakening.
The plugin should give 9 specific players unique special abilities. There are no special weapons. Every power is an ability activated through /ability.
The plugin should be designed for a scripted SMP, so abilities need dramatic effects, sounds, particles, messages, and configurable cooldowns.
1. The chosen players
These usernames must be matched exactly:
Chxso_
SYRESYT
EL1TE_K
MoonsV1
BlockishZulu737
Jepepaecri
_3Zer097_
Crtisol
H1x3n
Important: _3Zer097_ has an underscore at the beginning AND the end.
Players who aren't on this list do not have an ability.
2. Starting the event
An admin can run:
/event
This starts The Awakening.
Only players with the appropriate admin permission can use /event.
When the event starts, make it feel like a major scripted event.
Event sequence
First, everyone receives:
[SYSTEM] Something has awakened beneath the world...
Then:
Dark/ominous atmosphere
Thunder sounds
Lightning in the distance
Particles around the nine chosen players
Dramatic sounds
Optional temporary darkness effect
After a short delay:
[SYSTEM] Nine souls have been chosen.
Then each chosen player receives their awakening.
Each player should get a title/action-bar message telling them that their power has awakened, but don't reveal the full ability immediately if possible.
Example:
YOUR POWER HAS AWAKENED
You don't yet understand what you've become.
The goal is for the players to discover their abilities during the story.
3. /ability
The main ability command is:
/ability
The plugin checks the player's exact username and automatically determines their ability.
For example:
Chxso_ β The Heart of Eternity
SYRESYT β Shadow Step
EL1TE_K β Mimic
MoonsV1 β Gravity
BlockishZulu737 β Blood Pact
Jepepaecri β Phantom
_3Zer097_ β Time Reversal
Crtisol β Hunter's Mark
H1x3n β Rage
If an unchosen player uses /ability, show:
You have not been chosen.
4. Cooldown system
Every ability has a cooldown.
The cooldown must be displayed above the player's hotbar using the Minecraft action bar.
Example:
β¦ SHADOW STEP β¦
Cooldown: 38s
The number should update automatically.
When ready:
β¦ SHADOW STEP READY β¦
Use colors:
Green = Ready
Yellow/Gold = Ability active
Red = Cooldown
Gray = Unavailable
If someone uses /ability while their ability is on cooldown, don't activate it.
Instead show:
β¦ SHADOW STEP β¦
Cooldown: 24 seconds
Cooldowns should be configurable.
5. Chxso_ β THE HEART OF ETERNITY
Power ranking: #1
Chxso_ has the strongest ability on the server.
Second Heart
Chxso_ has a supernatural second life.
If Chxso_ receives lethal damage, prevent the death and automatically activate the ability.
Set Chxso_ back to approximately 8β10 hearts.
Then give temporary:
Regeneration
Resistance
Speed
Strength
Create a huge activation effect:
Heartbeat sound
Explosion-like particle burst without damaging blocks
Red/gold particles
Screen title
Dramatic sound
Display:
SECOND HEART AWAKENS
This should feel much more dramatic than the other abilities.
Cooldown
Very long cooldown.
The plugin should make this configurable.
Potentially allow admins to configure it as one use per event/story arc.
Future evolution
The ability can eventually evolve from:
Second Heart β Eternal Heart
The stronger version should be reserved for a later scripted event.
6. SYRESYT β SHADOW STEP
Power ranking: #2
SYRESYT has the second strongest ability.
Shadow Mark
When SYRESYT damages another player, that player becomes temporarily marked.
SYRESYT can then use:
/ability
to teleport directly to the marked player.
Display:
SHADOW STEP
Use dark particles and a teleport sound.
Shadow Blink
SYRESYT can also teleport a short distance even without a marked player.
This should be a shorter teleport and have its own cooldown if necessary.
Shadow Cloak
After using Shadow Step, briefly make SYRESYT invisible.
Attacking should cancel the invisibility.
Suggested cooldowns
Shadow Step:
30β45 seconds
Shadow Blink:
10β15 seconds
All values should be configurable.
7. 3Zer097 β TIME REVERSAL
Power ranking: #3
The plugin should constantly record the previous few seconds of:
Location
Health
Food
Relevant potion effects
When _3Zer097_ uses:
/ability
restore them to their state approximately 5 seconds earlier.
Example:
At 12:00:
20 hearts
At 12:04:
3 hearts
At 12:05:
/ability
They are returned to approximately:
Previous location
Previous health
Display:
TIME REVERSAL
Use:
Clock/time particles
Rewind sound
Distortion effect
Important
Do not duplicate items or create inventory exploits.
Inventory should not be rewound unless specifically configured.
Future evolution
Later in the SMP:
Time Reversal β Time Freeze
But Time Freeze should not be available at the beginning.
8. EL1TE_K β MIMIC
Power ranking: #4
EL1TE_K can copy another awakened player's ability.
The plugin records the most recent special ability activated nearby.
EL1TE_K uses:
/ability
and copies that ability.
Example:
SYRESYT uses Shadow Step.
EL1TE_K then uses /ability.
Display:
ABILITY COPIED: SHADOW STEP
EL1TE_K receives a temporary version of the ability.
Balance
The copied ability should:
Last around 30β60 seconds
Be somewhat weaker than the original
Not permanently steal the original ability
Mimic should have its own cooldown.
This makes EL1TE_K unpredictable because their power depends on who is nearby.
9. MoonsV1 β GRAVITY
Power ranking: #5
MoonsV1 controls gravity.
When /ability is activated, create a gravity field around the target location.
Players inside the field:
Are pulled toward the center
Become slowed
Have reduced jump height
Have difficulty escaping
After several seconds:
GRAVITY COLLAPSE
Launch affected players outward.
Use:
Purple/blue particles
Deep bass sound
Screen effects
Particle vortex
This ability should be especially powerful against groups.
10. H1x3n β RAGE
Power ranking: #6
H1x3n has a Rage meter.
Taking damage increases Rage.
Example:
RAGE: 0%
After taking damage:
RAGE: 25%
Then:
RAGE: 50%
Then:
RAGE: 75%
At 100%:
RAGE READY
H1x3n uses:
/ability
to activate Rage Mode.
Give:
Strength
Speed
Resistance
Knockback resistance
Fire resistance
for a limited time.
Display:
RAGE AWAKENED
Drawback
When Rage ends:
RAGE CRASH
Give H1x3n temporary:
Weakness
Slowness
This prevents the ability from being completely overpowered.
11. Crtisol β HUNTER'S MARK
Power ranking: #7
Crtisol can select one player and mark them.
The target receives:
YOU HAVE BEEN MARKED
While the target is marked, Crtisol receives:
Speed while moving toward them
Increased damage against them
An indication of their general direction
Tracking particles
Only one player can be marked at a time.
The mark eventually expires.
This ability should make Crtisol extremely dangerous when hunting one specific player.
12. BlockishZulu737 β BLOOD PACT
Power ranking: #8
BlockishZulu737 sacrifices their own health to become stronger.
When /ability is activated:
Remove a configurable amount of health.
Give powerful temporary buffs.
Example:
Sacrifice 4 hearts
Gain:
Strength
Speed
Resistance
Knockback resistance
for a short period.
The ability should be high-risk/high-reward.
If BlockishZulu737 uses it while already low on health, they could potentially put themselves in serious danger.
Optional progression
The ability can eventually have multiple stages:
Blood Pact I
Small health sacrifice β small buffs
Blood Pact II
Larger sacrifice β stronger buffs
Blood Pact III
Huge sacrifice β extremely powerful buffs
The highest level should be unlocked later in the story.
13. Jepepaecri β PHANTOM
Power ranking: #9
Jepepaecri is the stealth-focused character.
When /ability is activated, enter Phantom Mode.
For approximately 8 seconds:
Become invisible
Silent footsteps
Cannot attack
Potentially pass through players
Have ghost-like particles
Display:
PHANTOM
When the ability ends:
PHANTOM RETURN
Give Jepepaecri a short Speed boost.
This ability is intentionally weaker in direct combat but extremely useful for:
Scouting
Espionage
Escaping
Following players
Infiltrating areas
Gathering information
14. Admin commands
Keep /event and /ability separate.
Main commands:
/event
Starts the Awakening.
/ability
Uses the player's personal ability.
Additional admin commands:
/event start
/event stop
/event reset
And ability administration:
/ability give
/ability reset
/ability cooldown
Admins should be able to manually control abilities for scripted scenes.
15. Future story progression
The plugin should be designed so abilities can evolve.
The initial powers are not necessarily their final forms.
Possible future evolutions:
Chxso_
Second Heart
β
Eternal Heart
SYRESYT
Shadow Step
β
Shadow Realm
_3Zer097_
Time Reversal
β
Time Freeze
EL1TE_K
Mimic
β
Perfect Mimic
These upgraded abilities should be locked until an admin/scripted event unlocks them.
16. Overall goal
This should not feel like nine Minecraft classes.
It should feel like nine people suddenly receiving supernatural powers as part of an SMP storyline.
The most important design principles are:
Chxso_ is the strongest.
SYRESYT is the second strongest.
_3Zer097_ must be written with both underscores.
/ability activates each player's unique power.
Cooldowns are always shown above the hotbar.
Every ability needs unique particles, sounds, and visual effects.
/event starts the larger Awakening storyline.
Abilities should be configurable.
Abilities can evolve during future events.
Don't give the nine players special weapons β their powers ARE their weapons.
The plugin should prioritize dramatic scripted moments over simply maximizing PvP damage.
Create the Gradle/plugin metadata and configurable awakening settings.
Build the core managers for chosen players, cooldowns, history snapshots, progression, and visual effects.
Implement all nine abilities plus combat/passive event handling.
Register
/eventand/ability, including the requested admin controls and scripted event sequence.
Created the complete Gradle-based
TheAwakeningplugin with plugin metadata and configurable cooldowns/effects.Implemented the nine exact username-to-ability assignments, including passive Second Heart, Rage meter, Shadow Marks, Hunterβs Mark, and five-second Time Reversal history.
Added dramatic
/event,/event start,/event stop, and/event resetsequences with titles, action bars, sounds, particles, lightning, and configurable darkness.Added
/abilityplus admin controls forgive,reset, andcooldown.Added cross-version XSeries-based sounds, particles, and potion effects, with combat restrictions and ability-specific visual effects.
Its not supposed to give the player their ability until the /event happens and it has to float the player up 10 blocks slowly then announces their abilty to them then drop the player
Gate all ability activation, passive effects, cooldown bars, and history recording behind each playerβs awakening.
Change
/eventso each chosen online player slowly rises 10 blocks, receives their exact ability announcement, then is released into a controlled drop.Cancel pending lift/drop tasks cleanly on
/event stopand/event reset.
Updated the awakening flow:
Players have no usable abilities, cooldown bars, passive effects, or history tracking before they awaken.
/eventnow slowly floats each chosen player 10 blocks upward.Once they reach the top, they receive a title, action bar, message, particles, and their exact ability name.
After the configurable reveal delay, gravity is restored and they are dropped.
/event stopand/event resetcancel pending lifts/drops and restore gravity.Added configuration:
YAMLevent: float-duration-ticks: 40 reveal-hold-ticks: 20Awakened abilities remain usable after the event sequence finishes;
/event resetremoves their awakening state.
Change the system so EVERY chosen player has exactly 2 abilities.
/ability = Main ability /ability2 = Secondary ability
Each has its own separate cooldown, shown above the hotbar with the action bar. Do NOT use any other ability commands.
Chxso_ β Reality Control + Reality Surge SYRESYT β Shadow Step + Shadow Burst _3Zer097_ β Time Reversal + Time Freeze EL1TE_K β Reality Break + Void Pull MoonsV1 β Gravity + Gravity Slam H1x3n β Rage + Rage Burst Crtisol β Hunter's Mark + Hunter's Strike BlockishZulu737 β Blood Pact + Blood Rush Jepepaecri β Phantom + Phantom Strike
Chxso_ should be the strongest overall, with SYRESYT second strongest.
Make both abilities unique, powerful, and useful in combat. Give them particles, sounds, cooldowns and dramatic effects. All cooldowns and ability values should be configurable.
Replace the single-ability model with fixed primary/secondary assignments for all nine players.
Add
/ability2and separate configurable cooldowns/action-bar display; remove other ability commands.Implement distinct combat effects, sounds, particles, and configurable values for every ability pair.
Update registration and configuration while preserving the event-only awakening gate.
The existing implementation has one enum value per player and admin subcommands embedded in /ability. Iβm replacing that with two fixed enum assignments per player, two executor registrations, and one cooldown key per ability.
Implemented the two-ability system.
Every chosen player now has exactly two fixed abilities:
Chxso_ β Reality Control / Reality Surge
SYRESYT β Shadow Step / Shadow Burst
3Zer097 β Time Reversal / Time Freeze
EL1TE_K β Reality Break / Void Pull
MoonsV1 β Gravity / Gravity Slam
H1x3n β Rage / Rage Burst
Crtisol β Hunterβs Mark / Hunterβs Strike
BlockishZulu737 β Blood Pact / Blood Rush
Jepepaecri β Phantom / Phantom Strike
/abilityactivates the main ability./ability2activates the secondary ability.Removed all
/ability give,/ability reset, and/ability cooldownsubcommands.Each ability has its own configurable cooldown.
The action bar continuously displays both ability names and their individual cooldowns.
Added unique combat effects, damage, buffs, movement, particles, sounds, area attacks, marks, pulls, freezes, teleports, and knockbacks.
Chxso_ has the highest overall damage/control values, with SYRESYT tuned as the second strongest.
All ability cooldowns and combat values are configurable in
config.yml.Abilities remain unavailable until the
/eventawakening reveal.
package com.kodari.awakening;
import com.kodari.awakening.command.AbilityCommand;
import com.kodari.awakening.command.EventCommand;
import com.kodari.awakening.listener.AwakeningListener;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;
public class AwakeningPlugin extends JavaPlugin {
private AwakeningManager awakeningManager;
private CooldownManager cooldownManager;
private PlayerHistoryManager historyManager;
private AbilityManager abilityManager;
@Override
public void onEnable() {
saveDefaultConfig();
awakeningManager = new AwakeningManager();
cooldownManager = new CooldownManager();
historyManager = new PlayerHistoryManager(getConfig().getInt("abilities.time-history-seconds", 8));
abilityManager = new AbilityManager(this, awakeningManager, cooldownManager, historyManager);
getCommand("event").setExecutor(new EventCommand(this));
getCommand("ability").setExecutor(new AbilityCommand(this, false));
getCommand("ability2").setExecutor(new AbilityCommand(this, true));
Bukkit.getPluginManager().registerEvents(new AwakeningListener(this), this);
Bukkit.getScheduler().runTaskTimer(this, () -> {
abilityManager.recordAndUpdateBars();
}, 1L, 5L);
}
public AwakeningManager getAwakeningManager() {
return awakeningManager;
}
public CooldownManager getCooldownManager() {
return cooldownManager;
}
public PlayerHistoryManager getHistoryManager() {
return historyManager;
}
public AbilityManager getAbilityManager() {
return abilityManager;
}
}