vardaan dagoat

Coast SMP -

Minecraft Item type = Netherite Ingot

In this plugin every coast have its own custom ability .

Warrior Coast =

Main active ability -

Crimson Beam

Warrior beam, inflicting unavoidable, buffed fire damage. Damage will be Striked to any %entity% in the raidus of beam Where ever you will see while the beam strike the beam will only go in the direction . you can inflate / perform the beam while only whrn the player has held the coast in the main hand .

Damage Heart = 4 Hearts Per beam ( ignores all kind of armour if the entity who is getting damaged has any armour weared ) Radius Blocks = 10 Blocks Cool Down : 30s Duration - 5s Beam width = 5 blocks Beam length = 5 blocks

Commands -

TO get the Warrior Coast = [/coastsmp:coast Warrior] ( Operator Only )

To activate the ability of the warrior coast ability = [/coastsmp:ability crimson ] this could be only done when the coast is held by the entity in the main hand

Particles -

When the beam ability is activated make ( dark red particles ) in the radius

When the coast is held in the inventory by the entity make a dark red square type aura around the %entity% who has held the warrior coast in the inventory

Chat pop up --

When ability got activated = ( Coast , ability is now activated )

When ability is now on cooldown = ( Coast , ability is now on cooldown )

If the entity who has the warrior coast is on cooldown and the entity tries to activate the ability show - ( Coast , is still on cooldown )

----------------------------------------------------------------------------------------------------------------------------------------------------------------------

  1. Inferno Coast

minecraft item type = netherite ingot

Main active ability -

Volcano Charge -

Jump up into the launch into sky block = 20 and slamming down, releasing a massive 360 like in all directions fire wave . The %entity% who will get in the wave radius will be damaged .

Damage to the entity who will get in the fire wave = 6 hearts ( damage ignores the armour of the entity of the entity captured in the wave ) Duration of the ability - 5 seconds Cooldown - 60 seconds Radius of the wave = 30 blocks ( in a circle shape )

Commands -

TO get the Inferno Coast = [/coastsmp:coast Inferno] ( Operator Only )

To activate the ability of the Inferno coast ability = [/coastsmp:ability volcano ] this could be only done when the coast is held by the entity in the main hand

Particles -

When the volcano ability is activated make ( Fire particles ) in all directions like when the wave activated

When the coast is held in the inventory by the entity make a Fire square type aura around the %entity% who has held the warrior coast in the inventory

Chat pop up --

When ability got activated = ( Coast , ability is now activated )

When ability is now on cooldown = ( Coast , ability is now on cooldown )

If the entity who has the Inferno coast is on cooldown and the entity tries to activate the ability show - ( Coast , is still on cooldown )

----------------------------------------------------------------------------------------------------------------------------------------------------------------------

Poker Coast

Main ability-

Gambling wind

= there will be total 3 windcharges that will revolve around the player and like every windcharge will have its own ability . Like how we do gamble . the windcharge will revolve around the entity while ability for 5 seconds

windcharges ability -

1 .First Windcharge = if the entity has won first one then . the entity will be granted Immortality for total 15 seconds .

2 .second Windcharge = if the entity has won the second one then . the entity who has the coast the entity sword , axe will be converted into mace for 15 seconds .

3 .third Windcharge = if the entity has won the third one then . Then entity who has the coast and won the third will get the effect - ( Hero Of The Village) [v] . For 30 seconds

ability cooldown = [3:30] minute

First Windcharge duration - 15 seconds Second Windcharge duration - 15 seconds Third Windcharge duration - 30 seconds

Commands -

TO get the Poker Coast = [/coastsmp:coast Poker] ( Operator Only )

To activate the ability of the Poker coast ability = [/coastsmp:ability gamble ] this could be only done when the coast is held by the entity in the main hand

Particles -

When the Gambling Wind ability is activated make ( White particles ) in a pentagon 3d shape

When the coast is held in the inventory by the entity make a White aura around the %entity% who has held the Poker coast in the inventory

Chat pop up --

When ability got activated = ( Coast , ability is now activated )

If you won the first Windcharge - ( You , Won First in Gamble )

If you won the Second Windcharge - ( You , Won Seconds in Gamble )

If you won the Third Windcharge - ( You , Won Third in Gamble )

When ability is now on cooldown = ( Coast , ability is now on cooldown )

If the entity who has the Poker coast is on cooldown and the entity tries to activate the ability show - ( Coast , is still on cooldown )

----------------------------------------------------------------------------------------------------------------------------------------------------------------------

Magnet Coast -

Main Active Ability -

Attraction : the entity who has the magnet coast when ability activated . The entitles in radius will be attaracted to the entity who has the magnet coast while the ability is activated .

Radius of Block - 20 Blocks Duration of ability - 30 Seconds Cooldown - 1 minute

Commands -

TO get the Poker Coast = [/coastsmp:coast magnet] ( Operator Only )

To activate the ability of the Magnet coast ability = [/coastsmp:ability attraction] this could be only done when the coast is held by the entity in the main hand

Particles -

When the Attraction ability is activated make (black particles ) in a sphere 3d shape

When the coast is held in the inventory by the entity make a black aura around the %entity% who has held the Poker coast in the inventory

Chat pop up --

When ability got activated = ( Coast , ability is now activated )

When ability is now on cooldown = ( Coast , ability is now on cooldown )

If the entity who has the Attraction coast is on cooldown and the entity tries to activate the ability show - ( Coast , is still on cooldown )

----------------------------------------------------------------------------------------------------------------------------------------------------------------------

Genesis Coast-

Main active ability -

Vitalis: the entity who has the Genesis coast and activated its main . that entity will be granted ( 15 hearts ) for 30 seconds. And healed Instantly

Duration- 30 seconds Cooldown- 60 seconds

Commands -

TO get the genesis Coast = [/coastsmp:coast genesis] ( Operator Only )

To activate the ability of the Genesis coast ability = [/coastsmp:ability vitalis] this could be only done when the coast is held by the entity in the main hand

Particles -

When the Vitalis ability is activated make (baby pink particles ) in a sphere 3d shape

When the coast is held in the inventory by the entity make a baby pink aura around the %entity% who has held the Genesis coast in the inventory

Chat pop up --

When ability got activated = ( Coast , ability is now activated )

When ability is now on cooldown = ( Coast , ability is now on cooldown )

If the entity who has the Vitalis coast is on cooldown and the entity tries to activate the ability show - ( Coast , is still on cooldown )

----------------------------------------------------------------------------------------------------------------------------------------------------------------------

Additions=

Config . make a config in the server where we can customize things like . add the sword damage also -

Damage cooldown Duration

. of every coast

/cooldown add the command which will remove the cooldown of the every coast held in the inv of the that entity only which has run the commands and also the cooldown of the custom weapon- [/cooldown] (operator only )

/gui:coast - A commands which make a menu where you can get all of the coasts and the custom weapon also

----------------------------------------------------------------------------------------------------------------------------------------------------------------------

Custom Weapon

Miecraft Item type = Netherite Sword

.Soul Ripper

Soul Ripper

Sharpness- V Fire Aspect-II Unbreaking III Mending-I Looting-III

--- Off-Hand ---

Shoot a sonic boom, inflicting damage = 5 hearts

Cool Down: 25s

Unbreakable

#Commands =

Commnad to obtain the soul ripper = [/coastsmp:mythic soulripper]

Command to shoot the sonic boom = [/coastsmp:mythic sonic] #particles

The player holding the (Soul Ripper ) make a (purple particle) aura around the player holding the bow in the main hand . Pattern of particle = (◆ Diamond)

Kodari AI
KodariSep 18 at 1:20 pm 2
CoastSMPAbilities
Minecraft plugin adding five unique Netherite Ingot coast items, each with distinct active abilities: Warrior's Crimson Beam, Inferno's Volcano Charge, Poker's Gambling Wind, Magnet's Attraction, and Genesis's Vitalis. Includes the Soul Ripper Netherite Sword with sonic boom off-hand attack. Features configurable damage, cooldown, and duration values via config.yml, operator-only commands to obtain items and trigger abilities, custom particle effects and auras, chat notifications, a /cooldown reset command, and a /gui:coast menu for accessing all items.
  1. Create the Gradle build, plugin metadata, and configurable defaults.

  2. Add coast and Soul Ripper item factories with persistent item identities.

  3. Implement cooldowns, abilities, particles, damage, effects, and aura ticking.

  4. Add commands, the coast GUI, listeners, and plugin bootstrap wiring.

Implemented the CoastSMP plugin from scratch with:

  • Warrior Coast — Crimson Beam

  • Inferno Coast — Volcano Charge

  • Poker Coast — Gambling Wind

  • Magnet Coast — Attraction

  • Genesis Coast — Vitalis

  • Soul Ripper with Sonic Boom

  • Configurable damage, cooldowns, durations, radii, widths, and lengths

  • Operator-only Coast and Soul Ripper commands

  • /coastsmp:ability ... activation commands

  • /cooldown operator command

  • /gui:coast item menu

  • Custom particles and inventory auras

  • Armour-ignoring damage

  • Cooldown handling

  • Poker gamble effects

  • Genesis health modification

  • Magnet attraction

  • Soul Ripper enchantments and unbreakable status

vardaan dagoat

Fixes -

. Remove the delay from the volcano ability

. The crimson ability is not working there is no beam

. Change the duration of the attraction ability from 30 seconds to- 5 seconds

. And show like what you have won the gamble show it abilities

. Make the /gui command operator only

. change the vitalis ability duration from 30 seconds to 10 seconds only

. Remove the condition to hold the sword in offhand to activate the ability

.

Kodari AI
KodariSep 18 at 1:52 pm 2
  1. Remove the Volcano Charge launch delay.

  2. Repair Crimson Beam so it visibly renders and damages targets.

  3. Reduce Attraction duration to 5 seconds.

  4. Display the Poker gamble result and the granted ability.

  5. Restrict /gui:coast to operators.

  6. Reduce Vitalis duration to 10 seconds.

  7. Remove the Soul Ripper off-hand requirement.

  1. Volcano Charge now triggers the fire wave immediately without waiting for the 5-second duration.

  2. Crimson Beam now uses visible CRIMSON_SPORE particles, fixing the missing beam.

  3. Attraction duration changed from 30 seconds to 5 seconds.

  4. Poker gamble messages now show the exact reward:

    • Immortality

    • Sword/axe-to-mace conversion

    • Hero of the Village V

  5. /gui:coast is now operator-only.

  6. Vitalis duration changed from 30 seconds to 10 seconds.

  7. Soul Ripper Sonic Boom now works with the weapon in either hand instead of requiring the off-hand.

Restart the server or reload the plugin for the configuration changes to apply.

vardaan dagoat

Fixes V2 -

. When the attraction ability ends make all the entities which got attracted blast around with no damge through the blast

. The crimson beam is one shot the entity which come in the beam make it only 4 Hearts damage to the entity which come in the beam radius

.

Kodari AI
KodariSep 18 at 2:06 pm 2
  1. Add a no-damage outward blast when Attraction ends for entities it affected.

  2. Make Crimson Beam deal only 4 hearts per target per beam activation instead of repeatedly one-shotting targets.

  1. Attraction: Entities affected by Attraction are now tracked and blasted outward when the ability ends. The blast deals no damage and uses configurable coasts.magnet.blast-strength (1.2 by default).

  2. Crimson Beam: Each entity can now be damaged only once per beam activation. With the default damage: 8.0, this deals exactly 4 hearts and prevents repeated hits from instantly killing targets.

vardaan dagoat

Fixes V3 -

. The Inferno Volacano is one shoting the entity make it only 6 Hearts

. The attraction ability is not launching entity that far make it blast the entites blast in the sky 20 block up and 20 blocks away when attraction ability ends

. When in gamble ability if you won the second windcharge remove the mace from the entite 's inventory who won the second windcharge

. Crimson ability is now also oneshot the player in full diamond make it only damage one time don't damage an entity more that one time . make it damage only 5 hearts

. Change all of the poker Coast from white - to - Green colour

----------------------------------------------------------------------------------------------------------------------------------------------------------------------

Kodari AI
KodariSep 20 at 6:17 am 2
  1. Reduce Inferno Volcano damage to 6 hearts.

  2. Increase Attraction’s ending blast to launch affected entities 20 blocks upward and outward.

  3. Remove the winner’s mace when the second Wind Charge gamble reward is won.

  4. Limit Crimson to one hit per entity at 5 hearts.

  5. Change all Poker Coast colors from white to green.

1. Inferno Volcano

The current implementation already applies 12.0 Bukkit damage, which equals 6 hearts, and only applies it once per activation. I’m preserving that value while moving to the Attraction fix.

2. Attraction

Affected entities now receive a no-damage launch with horizontal strength 20 and vertical strength 20 when the ability ends.

3. Poker second reward

The second gamble reward currently restores the original swords/axes but leaves the temporary Maces behind. The restore step now removes the generated Maces before restoring the originals.

4. Crimson

Crimson now uses 10 damage (5 hearts) and keeps a per-activation target set, so an entity is damaged only once even while it remains inside the beam.

5. Poker Coast color

The Poker Coast item name and its ability line will use green formatting instead of the previous white ability text.

  1. Inferno Volcano: Confirmed damage is 12.0 health points, which equals 6 hearts.

  2. Attraction: End-of-ability blast now launches affected entities with 20 horizontal and 20 vertical strength, without damage.

  3. Second Gamble reward: Temporary Maces are removed when the reward expires before the original swords/axes are restored.

  4. Crimson Beam: Damage changed to 10 health points (5 hearts), with each entity damaged only once per activation.

  5. Poker Coast: Poker Coast name and ability text now use green formatting.

vardaan dagoat

Fixes V4 -

. If the entity won the second windcharge in the poker coast ability - then if the enitity has both sowrd and axe give the entity ( one ) mace only . And that entity cannot drop mace from the inventory . If the enitity tries to drop then show in chat . This only works for the poker mace

Show in chat = [You cannot drop the mace ]

. Do not change the coulour name of the poker change the particles only

Kodari AI
KodariSep 20 at 6:56 am 1
  1. Poker second Wind Charge reward: give only one protected Poker Mace when the winner has both a sword and axe, block dropping that mace, and send the exact chat message.

  2. Poker color: restore the original Poker Coast name color and change only its particles.

  1. Poker second reward

    • If the winner has both a sword and an axe, both are replaced with one Poker Mace only.

    • The Poker Mace is marked specifically so normal Maces are unaffected.

    • Dropping it is blocked and sends:

      Plain Text
      [You cannot drop the mace ]
      
    • The original sword and axe are restored when the reward expires.

  2. Poker Coast visuals

    • Restored the Poker Coast name and ability text to white.

    • Changed only its particles from CLOUD to green HAPPY_VILLAGER particles.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
13 943
src/main/java/com/coastsmp/CoastSMPPlugin.java
package com.coastsmp;

import org.bukkit.Bukkit;
import org.bukkit.command.CommandExecutor;
import org.bukkit.entity.Player;
import org.bukkit.plugin.java.JavaPlugin;

public class CoastSMPPlugin extends JavaPlugin {
    private ItemFactory itemFactory;
    private CooldownManager cooldownManager;
    private AbilityManager abilityManager;
    private CoastMenu coastMenu;

    @Override
    public void onEnable() {
        saveDefaultConfig();
        itemFactory = new ItemFactory(this);
        cooldownManager = new CooldownManager();
        abilityManager = new AbilityManager(this, cooldownManager);
        coastMenu = new CoastMenu(this);

        CoastCommand command = new CoastCommand(this);
        getCommand("coastsmp").setExecutor(command);
        getCommand("cooldown").setExecutor((sender, ignored, label, args) -> {
            if (!(sender instanceof Player player)) {
                sender.sendMessage("Only players can use this command.");
                return true;
            }
            if (!player.isOp()) {
                player.sendMessage("§cOperator only.");
                return true;
            }
            abilityManager.clearCooldowns(player);
            return true;
        });
        getCommand("coastgui").setExecutor((sender, ignored, label, args) -> {
            if (sender instanceof Player player) {
                if (!player.isOp()) {
                    player.sendMessage("§cOperator only.");
                    return true;
                }
                coastMenu.open(player);
            } else {
                sender.sendMessage("Only players can open the Coast menu.");
            }
            return true;
        });
        Bukkit.getPluginManager().registerEvents(new CoastListener(this), this);
        Bukkit.getScheduler().runTaskTimer(this, abilityManager::tick, 1L, 2L);
    }

    public ItemFactory getItemFactory() {
        return itemFactory;
    }

    public AbilityManager getAbilityManager() {
        return abilityManager;
    }

    public CoastMenu getCoastMenu() {
        return coastMenu;
    }
}