Ary Dingle

can you make me a minecraft smp plugin where there are 4 abilities called ding dongs and there is red yellow green and blue. if you right click them you equip it. red gives regeneration 2 blue gives speed 2 green gives resistance 2 yellow gives strength 2 can you make it so if you die it drops on the ground to access the panel where you can equip / unequip the powers make a command called /powers the red one will be a red dye also enchant glint the yellow one will be a yellow dye also with enchant glint the green one will be a green dye the blue one will be dark blue dye the items will have a lore and tells you what it gives for example the red one "Grants the power of Regeneration II"

Kodari AI
KodariOct 18 at 7:24 pm 1
DingDongPowers
A Minecraft SMP plugin introducing four equippable ability items called Ding Dongs (red, yellow, green, blue dyes with enchant glints). Right-clicking an item equips it, granting Regeneration II (red), Speed II (blue), Resistance II (green), or Strength II (yellow). The /powers command opens a GUI to equip or unequip abilities. Dying drops the equipped Ding Dong on the ground. Each item has descriptive lore, e.g., red: "Grants the power of Regeneration II".
  1. Add the plugin’s Gradle setup and command registration.

  2. Implement the four glinting Ding Dong items and their effects.

  3. Add /powers, right-click equipping, first-join items, and death drops.

Created the Ding Dongs plugin with all four glinting dye powers, continuous effects while equipped, and a /powers panel to equip or unequip them. Players receive one of each power on their first join; an equipped power drops on death.

Ary Dingle

it was amazing however there are some issues 1.

Kodari AI
KodariOct 18 at 7:37 pm 1

What’s the first issue? Tell me what happens and what you expected instead.

Ary Dingle

issues:

  1. you cant equip more than 1. for example if i equipped the yellow one it doesnt add on the red one it just swaps it
  2. its kind of difficult to see which ones u have equipped in the /powers menu can you make it so if there is no type of that power equipped make it grey dye
  3. the effects are working however it only gives me amplifier of 1, i need it to be 2
Kodari AI
KodariOct 18 at 7:40 pm 1
  1. Let players equip multiple Ding Dongs at once.

  2. Show unowned/unselected powers as gray dye in /powers.

  3. Increase all four potion effects to amplifier 2.

  1. Multiple powers can now be equipped together; death drops all equipped powers, and /powers unequips all.

  2. I’m updating the panel icons next so unequipped powers appear gray.

  3. Then I’ll set each effect to amplifier 2.

Implemented all three changes: multiple powers can be equipped together, unequipped powers appear as gray dye in /powers, and the effect amplifier is now 2.

Note: Bukkit amplifiers are zero-based, so amplifier 2 produces level III effects, while the item lore still says level II.

Ary Dingle

alright amazing. more issues

  1. you cant unequip ding dongs by clicking on them
  2. can you make them craftable with a placeholder recipe

for example red dye for the red ding dong

Kodari AI
KodariOct 18 at 7:46 pm 1
  1. Fix clicking an equipped Ding Dong in /powers so it unequips that power.

  2. Add placeholder crafting recipes for all four Ding Dongs, using each matching dye as the ingredient.

  1. Clicking an equipped power in /powers now unequips it, removes its effect, returns its Ding Dong item, and refreshes the menu.

  2. Added placeholder shapeless recipes: one matching dye crafts its glinting Ding Dong.

Ary Dingle

amazing absolutley perfect but i need some more stuff

  1. for the green ding dong can u make it so u can only get the resistance if you crouch 2 really fast and add a special effect where there is a shield around u this shield and resistance 2 effect should last 8s
Kodari AI
KodariOct 18 at 8:40 pm 1
  1. Detect a quick double-crouch while the green power is equipped.

  2. Give Resistance II for 8 seconds and show a temporary shield effect around the player.

Green Ding Dong now activates only when you crouch twice within 0.5 seconds while it’s equipped. It grants Resistance at amplifier 2 for 8 seconds and creates a particle shield around you for the same duration.

Ary Dingle

it doesnt work?

Kodari AI
KodariOct 18 at 8:43 pm 1
  • Make Green skip the always-on effect loop.

  • Activate it on two crouch presses within 0.5 seconds while equipped.

  • Apply Resistance for 8 seconds and render a temporary particle shield; clear the crouch timer on quit.

Fixed: while Green is equipped, crouch twice within 0.5 seconds to activate its 8-second Resistance effect and particle shield.

Ary Dingle

can you add a 2m cooldown to the green ding dong effect and change the lore of the green ding dong to Grants the Shield Ability.

Kodari AI
KodariOct 18 at 8:47 pm 1
  1. Add a 2-minute cooldown to Green’s double-crouch shield activation.

  2. Change Green’s lore to “Grants the Shield Ability.”

Added a 2-minute cooldown after Green’s shield activates, and changed the Green Ding Dong lore to “Grants the Shield Ability.” The cooldown remains when a player logs out and back in.

Ary Dingle
  1. can you add to the lore double shift to activate
  2. can you make the shield effect dark green like the dye color
  3. whenever you try use the ability when its on cooldown make a ding noise
Kodari AI
KodariOct 18 at 8:52 pm 1
  1. Update Green’s lore to mention double-shift activation.

  2. Change the shield particles to dark green.

  3. Play a ding sound when the ability is attempted during cooldown.

  • Green Ding Dong lore now says “Double-shift to activate.”

  • The shield uses dark-green dust particles.

  • Trying to activate it during cooldown now plays a bell “ding” sound.

Ary Dingle

problem: the shield is gone now? i want it to be like it was before but dark green also when you activate the ability it says "YOU NOW HAVE RESISTANCE II" can you change it to shield activated

Kodari AI
KodariOct 18 at 8:56 pm 1
  1. Restore the original shield shape, recolored dark green.

  2. Change the activation message to “Shield activated.”

Restored the shield’s particle-ring effect using the redstone dust particle with dark-green color, and changed the activation message to “Shield activated.”

Ary Dingle

it says green ding dong activated you now have resistance II get rid of you now have resistance II then say at the bottom "double shift to activate"

Kodari AI
KodariOct 18 at 9:02 pm 1

Green Ding Dong now equips without the “You now have Resistance II” message. Its lore ends with “Double shift to activate.”

Ary Dingle

can you revert it to the old shield effect but green?

Kodari AI
KodariOct 18 at 9:06 pm 1

The shield effect has been restored to its original shape, recolored dark green.

Ary Dingle

do the same with the red one for example remove the "you got regen 2" stuff and remove the regen 2 effect make the ability where if you kill a player you get 3 hearts of siphon make sure it caps to 10 dont be making it give 11 hearts total

Kodari AI
KodariOct 18 at 9:10 pm 1
  1. Remove Red’s passive regeneration and its regeneration equip message.

  2. Make equipped Red heal its killer by 3 hearts, capped at 10 hearts.

  3. Update Red’s item lore to describe the siphon ability.

Red Ding Dong no longer grants or announces Regeneration. While equipped, killing a player now heals you by 3 hearts, capped at 10 hearts total. Its lore describes the siphon ability.

Ary Dingle

when it says red ding dong activated or green ding dong activated can you also add what the ability is so for the green one Green Ding Dong Activated! Shield: Grants Resistance 2 for 8 Seconds (Cooldown: 2 minutes) Double Shift to activate

Red Ding Dong Activated! Siphon: Grants 3 Hearts upon killing a player

Kodari AI
KodariOct 18 at 9:18 pm 1
  1. Update Green’s activation message with its Resistance, duration, cooldown, and double-shift details.

  2. Update Red’s activation message with its 3-heart player-kill siphon.

Updated the equip messages for both right-click and /powers:

  • Green: “Green Ding Dong Activated! Shield: Grants Resistance 2 for 8 Seconds (Cooldown: 2 minutes) Double Shift to activate”

  • Red: “Red Ding Dong Activated! Siphon: Grants 3 Hearts upon killing a player”

Ary Dingle

can you do the same with the yellow ding dong but instead of giving strength 2 you get this ability where if you double jump all players excluding you are affected with glowing for 5 seconds. cooldown 5 minutes

Kodari AI
KodariOct 18 at 9:29 pm 1
  • Replace Yellow’s Strength effect with double-jump detection and a 5-minute cooldown.

  • Apply Glowing to every other online player for 5 seconds; re-enable double-jump flight after landing.

  • Update Yellow’s activation message and item lore to describe the ability.

Yellow Ding Dong now replaces Strength II with a double-jump ability: it gives all other online players Glowing for 5 seconds, with a 5-minute cooldown. Double-jump flight is re-enabled when you land, and the item lore and activation message describe the ability.

Ary Dingle
  1. remove the infinite strength effect from the yellow ding dong
  2. chaaange the equip text to "Yellow Ding Dong equipped! Scan: Grant Glowing to players in a 30 block radius for 12 Seconds (Cooldown: 5 minutes) Double Jump to activate
Kodari AI
KodariOct 18 at 9:39 pm 1
  1. Stop Yellow from receiving its passive Strength effect.

  2. Set Yellow’s equip message to the wording you provided.

Yellow no longer receives passive Strength. Its equip message now matches your wording, and the double-jump ability applies Glowing to other players within 30 blocks for 12 seconds, with a 5-minute cooldown.

Ary Dingle

add the same ding noise when trying to uyse the yellow ding dong on cooldown

Kodari AI
KodariOct 18 at 9:42 pm 1

Added the same bell “ding” sound when you double-jump to activate Yellow while it’s on cooldown.

Ary Dingle

remove the double jump ability it waasnt what i meant

Kodari AI
KodariOct 18 at 9:44 pm 1
  • Remove Yellow’s double-jump trigger, Glowing effect, cooldown, and flight toggling.

  • Replace stale ability instructions in its equip message and item lore; leave its passive Strength disabled.

Removed Yellow’s double-jump/Glowing ability, cooldown, and flight handling. Yellow no longer advertises the removed ability, and its passive Strength remains disabled.

Ary Dingle

no i mean keep the glowing effect to players excluding yourself however i just dont want that extra jump thing

Kodari AI
KodariOct 18 at 9:48 pm 1

Understood—keep the Glowing effect on other players, but remove the extra jump. What should trigger the ability instead: double-shift, right-click, or something else?

Ary Dingle

to activate it a quick double jump

Kodari AI
KodariOct 18 at 9:50 pm 1
  • Trigger Yellow’s scan on the second jump input while airborne, without adding a jump boost.

  • Keep the 30-block Glowing scan, 12-second duration, 5-minute cooldown, and cooldown ding.

  • Update Yellow’s equip message and lore to explain the trigger.

Yellow activates on a quick midair double-jump input, without giving you an extra jump boost. It still gives other players within 30 blocks Glowing for 12 seconds, has a 5-minute cooldown with a ding on cooldown attempts, and its equip message and lore describe the ability.

Ary Dingle

get rid of the double jump

Kodari AI
KodariOct 18 at 9:53 pm 1

Yellow’s current activation uses Minecraft’s flight toggle, which lets you jump again midair. Should I remove that and change the scan to another trigger—like double-sneak—or remove the scan ability too?

Ary Dingle

yes to double space bar

Kodari AI
KodariOct 18 at 9:54 pm 1
  • Keep Yellow’s scan and cooldown, triggered by a quick double-tap of Space.

  • Cancel the flight toggle so it does not let you fly or jump again.

  • Update Yellow’s equip text and lore to say “Double tap Space to activate.”

Yellow’s scan still activates with a quick double-tap of Space, but the flight toggle is canceled so it won’t give you an extra jump. Updated the equip message and item lore to say “Double tap Space to activate.”

Ary Dingle

can you delete all the item lore to the yellow ding dong

Kodari AI
KodariOct 18 at 9:55 pm 1

Removed all lore from the Yellow Ding Dong, including the extra status text shown in the /powers menu.

Ary Dingle

make the item lore for yellow ding dong "Scans nearby for players"

Kodari AI
KodariOct 18 at 9:57 pm 1
  • Set the Yellow Ding Dong’s item lore to “Scans nearby for players.”

Updated the Yellow Ding Dong’s item lore to “Scans nearby for players.”

Ary Dingle

delete every ability every lore of the yellow ding dong

Kodari AI
KodariOct 18 at 10:00 pm 1
  1. Remove Yellow’s scan, cooldown, and flight-trigger code while keeping the item equipable.

  2. Leave Yellow with no potion effect, lore, or ability-specific equip text.

Removed Yellow Ding Dong’s scan ability, cooldown, flight trigger, and all item lore. It remains equipable, but now has no ability or potion effect.

Ary Dingle

add the right click to activate thing to the yellow ding dong

Kodari AI
KodariOct 18 at 10:02 pm 1

Yellow already right-clicks to equip. Its ability was removed, so there’s nothing to activate yet. Do you want me to add a “Right-click to equip” lore line, or restore the Glowing scan and make right-click activate it?

Ary Dingle

like the green ding dong add the lore "double jump to activate"

Kodari AI
KodariOct 18 at 10:03 pm 1
  • Add only the requested “Double jump to activate” lore to the Yellow Ding Dong.

  • Leave Yellow’s ability behavior unchanged.

Added “Double jump to activate” as the Yellow Ding Dong’s only lore line. Its ability behavior is unchanged.

Ary Dingle

when you double jump quickly it gives every player in a 30 block radius glowing for 12 seconds excluding you

Kodari AI
KodariOct 18 at 10:05 pm 1
  • Trigger Yellow on the flight-toggle event caused by double-tapping Space, canceling flight so it grants no extra jump.

  • Scan same-world players within 30 blocks, excluding the activator, with Glowing for 12 seconds.

  • Keep the 5-minute cooldown and cooldown ding; only enable/revoke flight for the ability in survival/adventure.

Yellow Ding Dong now activates on a quick double-tap of Space. It cancels flight so you don’t get an extra jump, and gives other players within 30 blocks Glowing for 12 seconds. The ability has a 5-minute cooldown with a ding when used during cooldown.

Ary Dingle

REMOVE THE JUMP BOOST BRO

Kodari AI
KodariOct 18 at 10:07 pm 1

Disabled flight explicitly when the double-jump trigger fires, so Yellow still scans nearby players without letting you fly or gain an extra midair jump.

Ary Dingle

ok just remove the double jump activation and change it when you left click with a spyglass it activates

Kodari AI
KodariOct 18 at 10:10 pm 1
  • Replace Yellow’s flight-toggle/double-jump trigger with left-clicking while holding a spyglass.

  • Keep the scan, excluding yourself, its 30-block range, 12-second Glowing, and 5-minute cooldown with the cooldown ding.

  • Update Yellow’s lore to describe the new trigger.

Yellow’s double-jump activation is removed. While equipped, left-clicking with a spyglass activates the existing scan; its range, Glowing duration, self-exclusion, cooldown, and cooldown ding are unchanged. Updated the lore to explain the new trigger.

Ary Dingle
  1. add the item lore "Scans for players nearby, marking them"
  2. when you equip the yellow ding dong make it say

"Yellow Ding Dong Activated!

Scan: Applies Glowing to players within a 30 block radius for 12 Seconds (Cooldown: 5 minutes) Left Click with a Spyglass to activate

Kodari AI
KodariOct 18 at 10:15 pm 1
  1. Set Yellow Ding Dong’s lore to “Scans for players nearby, marking them”.

  2. Update its equip message with the requested scan details and Spyglass activation instruction.

Updated the Yellow Ding Dong lore to “Scans for players nearby, marking them” and set its equip message to the requested scan details and Spyglass activation instructions.

Ary Dingle

in the powers menu add the lore to the yellow ding dong item "Scans for nearby players, marking them" "Right-click to equip" "Left-click Spyglass to activate"

Kodari AI
KodariOct 18 at 10:19 pm 1

I’ll update only Yellow’s lore in the /powers menu with those three lines, leaving its item lore and ability behavior unchanged.

Updated Yellow Ding Dong’s /powers menu lore with:

  • “Scans for nearby players, marking them”

  • “Right-click to equip”

  • “Left-click Spyglass to activate”

Ary Dingle

good however change the "Left click spyglass to activate" thing to green

Kodari AI
KodariOct 18 at 10:23 pm 1

Changed “Left-click Spyglass to activate” to green in the /powers menu.

Ary Dingle

in the menu add a lore at the bottom with a gap in green "Currently Equipped" and if it isnt equipped make it yellow and say "Click to equip"

Kodari AI
KodariOct 18 at 10:26 pm 1
  • Add a blank lore line at the bottom of Yellow’s /powers menu item.

  • Show Currently Equipped in green, or Click to equip in yellow when it isn’t equipped.

Added a blank line at the bottom of Yellow’s /powers menu lore, followed by green “Currently Equipped” or yellow “Click to equip” depending on its status.

Ary Dingle

change the "Equipped" to "equipped"

Kodari AI
KodariOct 18 at 10:29 pm 1

Changed the Yellow Ding Dong menu lore to “Currently equipped”.

Ary Dingle

when im holding the yellow ding dong item it only says scans nearby players maarking them can you add a "Right-Click to equip"

Kodari AI
KodariOct 19 at 2:34 pm 1

Added “Right-click to equip” beneath the scan description on the Yellow Ding Dong item.

Ary Dingle

for the yellow and blue ding dongs can you change it whenever its on cool down instead of it saying the color ding dong is on cooldown change it to example:

Shield is on cooldown for [seconds] more seconds

Kodari AI
KodariOct 19 at 2:36 pm 1
  • Change Yellow’s cooldown message to use its ability name, Scan.

  • Keep the existing cooldown timing and sound unchanged.

  • Blue currently has no cooldown message or cooldown logic, so I won’t add a new cooldown.

Changed Yellow’s cooldown message to “Scan is on cooldown for [seconds] more seconds.” Blue currently has no cooldown logic or cooldown message to update.

Ary Dingle

can you also make a sound when you activate the scan and shield and make it match it.

Kodari AI
KodariOct 19 at 2:39 pm 1

The generation was stopped before any content could be produced.

Ary Dingle

can you add the beacon sound when you activate the shield, the one where you just staand next to it and it loops

Kodari AI
KodariOct 19 at 2:41 pm 1
  • Play the Beacon ambient sound when Green Shield activates, repeating it for the 8-second shield duration.

Green Shield now plays the Beacon ambient sound on activation and repeats it every 4 seconds for the 8-second shield duration. The sound stops if you leave or unequip Green Ding Dong.

Ary Dingle

for the scan can you add the sound effect elder_guardian.ambient MAKE IT ONLY PLAY ONCE WHEN YOU ACTIVATE IT NOT A LOOP

Kodari AI
KodariOct 19 at 2:42 pm 1

I’ll play ENTITY_ELDER_GUARDIAN_AMBIENT once for the activator when the scan successfully fires; cooldown attempts won’t play it.

Added the Elder Guardian ambient sound to Yellow’s scan activation. It plays once when the scan fires, not on cooldown and not in a loop.

Ary Dingle

change it so instead of green ding dong on cooldown change it to Shield is on cooldown for (cooldown time)

Kodari AI
KodariOct 19 at 2:52 pm 1

Changed the cooldown message to “Shield is on cooldown for [seconds] more seconds.”

Ary Dingle

remove the . at the end

Kodari AI
KodariOct 19 at 2:53 pm 1

Removed the period from the end of the Shield cooldown message.

Ary Dingle

nevermind add it back

Kodari AI
KodariOct 19 at 2:53 pm 1

Restored the period at the end of the Shield cooldown message.

Ary Dingle

when using the scan make an effect of a yellow star but its points are long

Kodari AI
KodariOct 19 at 2:56 pm 1
  • Draw a brief yellow five-point star in front of the player when the scan successfully activates.

  • Make the star’s points long and keep cooldown attempts from triggering the effect.

Added a one-time yellow star particle effect with long points in front of you when the scan activates. Cooldown attempts don’t trigger it.

Ary Dingle

change it so when you activate the scan ability it says in chaat Scan activated.

Kodari AI
KodariOct 19 at 2:59 pm 1

Added “Scan activated.” to chat when the scan succeeds. It won’t appear when the scan is on cooldown.

Ary Dingle

make the scan activated text green and can you fix the yellow pulse effect for the scan

Kodari AI
KodariOct 19 at 3:03 pm 1
  1. Make “Scan activated.” green.

  2. Investigate and fix the Yellow scan pulse effect.

Made “Scan activated.” green. Kept the long-pointed yellow star and added a yellow pulse that expands outward to 30 blocks over one second when the scan activates.

Ary Dingle

can you change the double shift to activate the shield to be left click a shield

Kodari AI
KodariOct 19 at 3:10 pm 1
  • Replace Green Shield’s double-sneak trigger with left-clicking while holding a Shield.

  • Update the equip message and Green Ding Dong item lore to match.

Green Shield now activates when you left-click while holding a Shield. Updated its equip message and item lore to show the new control.

Ary Dingle

can you make it so u can either left click a shield or double sneak

Kodari AI
KodariOct 19 at 3:21 pm 1
  • Keep Shield left-click activation.

  • Add double-sneak activation while Green Ding Dong is equipped.

  • Update the Green Ding Dong instructions to show both options.

Green Shield now activates either by left-clicking with a Shield or by double-sneaking while Green Ding Dong is equipped. Updated the activation instructions to mention both controls.

Ary Dingle

can you make it so when you right click a gold sword you get a temporary 8 second speed 3 boost with sound effects, particle effects and add it to the lore of the item. also add the description of activating the abilities / on cooldown etc

Kodari AI
KodariOct 20 at 8:53 pm 1
  1. Find the item interaction, ability cooldown, and item-lore code.

  2. Add the golden-sword right-click ability: Speed III for 8 seconds, with matching sound and particles.

  3. Update its lore with activation, cooldown, and ability details.

Right-clicking a Golden Sword now grants Speed III for 8 seconds, with a level-up sound and cloud particles. Added lore describing the ability, activation, and a 60-second cooldown; cooldown attempts show the remaining time.

Ary Dingle

can you change the cooldown to 90s

Kodari AI
KodariOct 20 at 8:55 pm 1

I’ll change the Golden Sword ability cooldown from 60 to 90 seconds and keep the cooldown message/lore aligned.

Changed the Golden Sword cooldown to 90 seconds, including the remaining-time message and item lore.

Ary Dingle
  1. can you remove the permanent speed 2 with it
  2. can you make it speed 3 when you activate the ability not speed 2
  3. can you change the sound to block.beacon.activate
  4. can you change the sound to the yellow ding dong ability to block.beacon.power_select
  5. change the effect of the power up to a cool blue trail that follows behind the player for the duration of the power up
Kodari AI
KodariOct 20 at 9:04 pm 1
  1. Remove any permanent Speed II tied to the Golden Sword.

  2. Ensure activation grants Speed III.

  3. Change its activation sound to Beacon Activate.

  4. Change Yellow Ding Dong’s ability sound to Beacon Power Select.

  5. Replace the power-up particles with a blue trail that follows the player for its duration.

The Golden Sword already grants Speed III on activation. I removed Blue’s continuous Speed effect; I’ll now update the two requested sounds and make the Golden Sword’s blue trail follow the player for the full 8 seconds.

  • Removed Blue Ding Dong’s continuous Speed effect.

  • Golden Sword activation already grants Speed III; kept it temporary for 8 seconds.

  • Changed the Golden Sword activation sound to Beacon Activate.

  • Changed Yellow Scan’s sound to Beacon Power Select.

  • Added a blue particle trail that follows behind the player for the 8-second boost.

Ary Dingle
  1. change "speed activate for 8 seconds" to "Dash activated."
  2. add lore to the blue ding dong item make it "Dash increases your base speed by 60% for 8 seconds."
  3. add that item lore to the item and the item in the powers menu
  4. change the lore of the green ding dong to "Creates a Shield around the player for 8 seconds"
Kodari AI
KodariOct 20 at 9:11 pm 1
  1. Change the dash activation message to “Dash activated.”

  2. Add the specified Dash lore to Blue Ding Dong in the item and powers menu.

  3. Update Green Ding Dong’s shield lore exactly as requested.

  • Changed the activation message to “Dash activated.”

  • Added “Dash increases your base speed by 60% for 8 seconds.” to Blue Ding Dong’s lore; it also appears in the powers menu.

  • Changed Green Ding Dong’s lore to “Creates a Shield around the player for 8 seconds”.

Ary Dingle

can you also make the gold sword dash ability only work when the blue ding dong is equipped

Kodari AI
KodariOct 20 at 9:13 pm 1
  • Require Blue Ding Dong to be equipped before the Golden Sword can activate Dash.

  • When it isn’t equipped, show a brief instruction and do not apply the boost or start cooldown.

  • Leave the existing Dash behavior unchanged when Blue is equipped.

Golden Sword Dash now activates only while Blue Ding Dong is equipped. Otherwise, it tells the player they need Blue equipped and doesn’t start the cooldown or apply the boost.

Ary Dingle
  1. when equipping the blue ding dong change the text to

"Blue Ding Dong Activated! Dash: Grants Speed III for 8 Seconds (Cooldown: 1.5 minutes) Left/Right Click a gold sword to activate"

  1. change it so you can also left click the sword to activate the ability
Kodari AI
KodariOct 20 at 9:16 pm 1
  1. Update Blue Ding Dong’s equip message to the exact text requested.

  2. Allow Dash activation by either left- or right-clicking a Golden Sword.

  • Blue Ding Dong now displays the requested Dash activation message.

  • Dash activates on either left- or right-click with a Golden Sword. Updated the sword lore to show both options.

Ary Dingle

for the green ding dong, change the equipping text to "Green Ding Dong Activated! Shield: Grants Resistance II for 8 Seconds (Cooldown: 2 minutes) Left-click with a Shield or double-sneak to activate"

Kodari AI
KodariOct 20 at 9:17 pm 1

Updated Green Ding Dong’s equip message to the requested wording, including Resistance II.

Ary Dingle
  1. change the "Speed is on cooldown" to "Dash is on cooldown"
  2. remove the permanent speed effect when the blue ding dong is equipped
Kodari AI
KodariOct 20 at 9:28 pm 1
  1. Change the cooldown message to “Dash is on cooldown.”

  2. Remove the permanent Speed effect from equipping Blue Ding Dong.

  • Changed the cooldown message to “Dash is on cooldown…”

  • Removed the recurring Speed effect from equipping Blue Ding Dong; Speed III remains available through the Dash ability.

Ary Dingle

almost perfect

  1. change the item lore to include how to activate the ability
  2. add 1 to the amplifier of speed which it gives
  3. change the effect to be a blue trail following the player
Kodari AI
KodariOct 20 at 9:33 pm 1
  1. Add the activation instructions to the Blue Ding Dong lore.

  2. Increase Dash’s Speed amplifier by one level.

  3. Change its particles to a blue trail following the player.

  • Added “Left/Right-click a gold sword to activate Dash” to Blue Ding Dong’s item lore and powers menu.

  • Increased Dash’s Speed amplifier by one, granting Speed IV; updated the displayed ability text to match.

  • Replaced the burst with a blue particle trail that follows behind the player during the 8-second Dash.

Ary Dingle

can you remove the lore on the gold sword

Kodari AI
KodariOct 20 at 9:39 pm 1

Removed the Dash description, activation instructions, and cooldown lore from Golden Swords. Existing lore is cleaned from players’ inventories on join or plugin startup, and from a sword when it’s used.

Ary Dingle

can you add a reminder when abilities are off cooldown in chat for example Shield is ready to use Scan is ready to use Dash is ready to use

Kodari AI
KodariOct 20 at 9:41 pm 1
  • Check the three ability cooldowns on the existing timer.

  • When a cooldown expires, send one ready message if that ability is equipped; clear the expired entry so it won’t repeat.

Added one-time chat reminders when equipped abilities come off cooldown: “Shield is ready to use,” “Scan is ready to use,” and “Dash is ready to use.” The existing timer checks every two seconds, so the reminder may arrive up to two seconds after cooldown ends.

Ary Dingle

can you add permanent effects if you have the ding dongs equipped if you have the red one equipped u get infinite health boost 1 if you have the yellow one equipped you have infinite strength 1 if you have the blue one equipped you have infinite speed 1 if you have the green one equipped you have infinite resistance 1

Kodari AI
KodariOct 20 at 9:45 pm 1

Plan:

  1. Check how equipped Ding Dongs and their periodic effects are currently handled.

  2. Add the requested permanent potion effect for each equipped color, without duplicating effect tasks.

  3. Make sure effects are removed when a player unequips a Ding Dong.

Equipped Ding Dongs now continuously refresh their effects: Red grants Health Boost I, Yellow Strength I, Blue Speed I, and Green Resistance I. The effects are removed when their Ding Dong is unequipped.

Ary Dingle
  1. add a sound effect for when the ability is ready to use

use the sound entity.experience_orb.pickup

Kodari AI
KodariOct 20 at 9:50 pm 1

Add the experience-orb pickup sound when an equipped ability’s cooldown-ready reminder is sent.

Added the ENTITY_EXPERIENCE_ORB_PICKUP sound when an equipped ability’s ready reminder appears in chat.

Ary Dingle

change the this ability is on cooldown sound to entity.villager.no

Kodari AI
KodariOct 20 at 9:54 pm 1

I’ll change the cooldown sound for Shield, Scan, and Dash to ENTITY_VILLAGER_NO.

Changed the Shield, Scan, and Dash cooldown sound to ENTITY_VILLAGER_NO.

Ary Dingle

change the sound effect of using the scan to block.beacon.power_select

Kodari AI
KodariOct 20 at 9:58 pm 1

Changed the Scan activation sound to BLOCK_BEACON_POWER_SELECT.

Ary Dingle

in the lore of the blue ding dong change the "Left/Right-click to a gold sword to activate Dash" remove the "dash" bit at the end.

Kodari AI
KodariOct 20 at 10:03 pm 1

Removed “Dash” from the Blue Ding Dong lore. It now reads: “Left/Right-click a gold sword to activate.”

Ary Dingle

when equipping the blue ding dong change the text to "Blue Ding Dong Activated! Dash: Grants Speed III for 8 Seconds (Cooldown: 1.5 minutes) Left/Right click a gold sword to activate" only change the text dont change the amplifier of the abilitiy

Kodari AI
KodariOct 20 at 10:06 pm 1

Updated the Blue Ding Dong equip message to the exact wording you requested. The ability’s Speed amplifier is unchanged.

Ary Dingle

yo can you add a new power in the /powers menu make it a black dye called for now "Cyptic Ding Dong"

Kodari AI
KodariOct 21 at 9:36 pm 1

Plan:

  1. Inspect how Ding Dong powers are defined and added to /powers.

  2. Add “Cyptic Ding Dong” as a black dye entry in that menu.

[Generation stopped]

Ary Dingle

remove the cyptic ding dong

Kodari AI
KodariOct 21 at 9:37 pm 1

“Cyptic Ding Dong” isn’t in the project—the /powers menu is built from the four existing powers, and none is Cyptic. Nothing needs removing.

Ary Dingle

can you add a new power with the mysterious text thing i think its called obstrusive text make it black dye and enchanted

Kodari AI
KodariOct 21 at 9:40 pm 1
  1. Add a Cryptic Ding Dong entry using black dye, an enchanted glint, and obfuscated text.

  2. Include it in /powers and keep it cosmetic since no ability was specified.

Added Cryptic Ding Dong to /powers as enchanted black dye with an obfuscated name. It can be equipped, but has no ability effect yet.

Ary Dingle

change the black text to purple and make the lore of the item also obfuscated

Kodari AI
KodariOct 21 at 9:43 pm 1

Changed Cryptic Ding Dong’s name color from black to light purple and made its lore text obfuscated, including its /powers menu status.

Ary Dingle

change it so if you dont have it equipped it shows up as grey dye like the rest of the abilities. also get rid of the obfuscated "right click to equip" and "not in your inventory"

Kodari AI
KodariOct 21 at 9:47 pm 1

In /powers, Cryptic Ding Dong now appears as gray dye when unequipped and black dye when equipped. Removed its obfuscated equip and inventory-status lore; the obfuscated mystery description remains.

Ary Dingle

add the cryptic ding dong crafting recipe as 1 black dye add back the "right click to equip" and "not in your inventory text"

Kodari AI
KodariOct 21 at 9:51 pm 1
  1. Add a crafting recipe for Cryptic Ding Dong using one black dye.

  2. Restore its “Right click to equip” and “Not in your inventory” menu text without obfuscation.

Cryptic Ding Dong’s crafting recipe was already registered as one black dye. I restored its plain “Right-click to equip” lore and the /powers status text, including “Not in your inventory.”

Ary Dingle

make the text in chat which says "cryptic ding dong equipped" obfuscated also add a dark black and purple effect when equipping the power when equipping the power can you add a sound effect of entity.warden.roar

Kodari AI
KodariOct 21 at 10:18 pm 1
  1. Obfuscate the Cryptic Ding Dong equip message.

  2. Add a black-and-purple effect when it’s equipped.

  3. Play ENTITY_WARDEN_ROAR on equip.

Cryptic Ding Dong’s equip message now has obfuscated purple text. Equipping it also creates a black-and-purple particle effect and plays ENTITY_WARDEN_ROAR.

Ary Dingle
  1. i like the effect but add more of the same effect and make it like tentacles when equipping it give levitation for 2 seconds
  2. "you now have unknown." change that to obfuscated
Kodari AI
KodariOct 21 at 11:31 pm 1
  1. Expand the Cryptic equip particles into a denser tentacle-like effect and add 2 seconds of Levitation.

  2. Obfuscate the “You now have unknown.” message.

  1. Cryptic Ding Dong’s equip effect now creates six animated black-and-purple tentacles and grants Levitation for 2 seconds.

  2. The “You now have unknown.” message is now obfuscated.

Ary Dingle

can you change the effect back to its original

Kodari AI
KodariOct 21 at 11:34 pm 1

I’ll revert the Cryptic particle animation to a one-time black-and-purple burst, keeping the 2-second Levitation and roar sound.

Reverted the Cryptic equip particles to a one-time black-and-purple burst. The 2-second Levitation and Warden roar remain unchanged.

Ary Dingle

can you change the "cryptic ding dong unequipped" to all obfuscated

Kodari AI
KodariOct 21 at 11:34 pm 1

Cryptic Ding Dong’s unequip message is now fully obfuscated.

Ary Dingle

the particle animation for equipping it is good however i liked the ORIGINAL ONE make it dark purple/black going around thee player in a spiral

Kodari AI
KodariOct 21 at 11:36 pm 1
  • Replace the static particle ring with two intertwined black-and-dark-purple spirals wrapping around the player.

  • Keep the effect limited to equipping Cryptic Ding Dong; leave its sound and levitation unchanged.

Changed Cryptic Ding Dong’s equip effect to two intertwined dark purple-and-black particle spirals that wrap around the player. The roar and Levitation effect are unchanged.

Ary Dingle

make the levitation 5 seconds and the particle effect loop until the levitation ends after all that spawn lightning on the player

Kodari AI
KodariOct 21 at 11:40 pm 1
  1. Set Cryptic Ding Dong Levitation to 5 seconds.

  2. Extend the dark purple-and-black spiral for the full 5 seconds.

  3. Spawn visual-only lightning on the player when the effect ends.

Cryptic Ding Dong now grants Levitation for 5 seconds, with the purple-and-black spiral running for the same duration. When the effect ends, visual-only lightning strikes the player (no damage).

Ary Dingle

make it so if you have the power equipped you get infinite fire resistance

Kodari AI
KodariOct 21 at 11:42 pm 1
  • Apply Fire Resistance while Cryptic Ding Dong is equipped, refreshing it through the existing equipped-power loop.

  • Remove the effect when the power is unequipped.

Cryptic Ding Dong now grants Fire Resistance for as long as it’s equipped. The effect is removed when the power is unequipped.

Ary Dingle
  1. make it 4 seconds of fire resistance refresh every 4 seconds like the other effects
Kodari AI
KodariOct 21 at 11:45 pm 1
  1. Change Cryptic Fire Resistance to an 80-tick (4-second) effect.

  2. Refresh it every 80 ticks, leaving the existing refresh timing for other powers unchanged.

Cryptic Ding Dong now grants Fire Resistance for 4 seconds and refreshes it every 4 seconds while equipped. Other powers’ refresh timing is unchanged.

Ary Dingle

also make it have infinite invisibility for 4 seconds refreshing every 4 seconds

Kodari AI
KodariOct 21 at 11:47 pm 1
  • Check Cryptic Ding Dong’s existing 4-second effect refresh logic.

  • Add 4-second Invisibility refreshed every 4 seconds while equipped.

Cryptic Ding Dong now grants Fire Resistance and Invisibility for 4 seconds each, refreshed every 4 seconds while equipped. Both effects are removed when unequipped.

Ary Dingle
  1. remove the invisibility
  2. make the fire res refresh every 1 second
  3. make it 5 seconds long
Kodari AI
KodariOct 21 at 11:50 pm 1
  1. Remove Cryptic Ding Dong’s Invisibility.

  2. Change Fire Resistance refresh to every 1 second.

  3. Set its duration to 5 seconds.

Removed Cryptic Ding Dong’s Invisibility. Fire Resistance now lasts 5 seconds and refreshes every 1 second while equipped.

Ary Dingle

change the infinite fire res to refresh every 2 seconds

Kodari AI
KodariOct 22 at 11:39 am 1
  1. Set Cryptic Ding Dong’s Fire Resistance refresh interval to 40 ticks (2 seconds), keeping the 5-second duration.

Cryptic Ding Dong’s Fire Resistance still lasts 5 seconds and now refreshes every 2 seconds while equipped.

Ary Dingle

also make the cryptic ding dong give infinite saturation 2

Kodari AI
KodariOct 22 at 11:46 am 1
  • Add Saturation II to Cryptic Ding Dong’s existing equipped-power refresh.

  • Remove Saturation when Cryptic Ding Dong is unequipped.

Cryptic Ding Dong now grants Saturation II for 5 seconds, refreshed every 2 seconds while equipped. Unequipping it removes Saturation.

Ary Dingle
  1. remove the saturation effect
  2. make it 5 seconds it gives you the saturation effect for 1 second with amplifier 2
Kodari AI
KodariOct 22 at 11:56 am 1

Removed the continuously refreshed Saturation effect. Cryptic Ding Dong now grants Saturation (amplifier 2) for 1 second every 5 seconds while equipped.

Ary Dingle

cl remove the saturation effect entire

Kodari AI
KodariOct 22 at 12:00 pm 1

Adjusted the equip animation to a clearly defined rotating spiral wrapping around the player in dark purple and black. It still runs for the 5-second Levitation, followed by visual lightning.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
4 885
src/main/java/com/kodari/dingdongs/DingDongsPlugin.java
package com.kodari.dingdongs;

import com.cryptomorin.xseries.XEnchantment;
import com.cryptomorin.xseries.XItemFlag;
import com.cryptomorin.xseries.XMaterial;
import com.cryptomorin.xseries.XPotion;
import com.cryptomorin.xseries.XSound;
import com.cryptomorin.xseries.particles.XParticle;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.Color;
import org.bukkit.Location;
import org.bukkit.NamespacedKey;
import org.bukkit.Particle;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.block.Action;
import org.bukkit.event.entity.PlayerDeathEvent;
import org.bukkit.event.inventory.InventoryClickEvent;
import org.bukkit.event.player.PlayerInteractEvent;
import org.bukkit.event.player.PlayerJoinEvent;
import org.bukkit.event.player.PlayerToggleSneakEvent;
import org.bukkit.inventory.EquipmentSlot;
import org.bukkit.inventory.Inventory;
import org.bukkit.inventory.InventoryHolder;
import org.bukkit.inventory.ItemStack;
import org.bukkit.inventory.PlayerInventory;
import org.bukkit.inventory.ShapelessRecipe;
import org.bukkit.inventory.meta.ItemMeta;
import org.bukkit.persistence.PersistentDataType;
import org.bukkit.plugin.java.JavaPlugin;
import org.bukkit.potion.PotionEffect;

import java.util.ArrayList;
import java.util.EnumSet;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.UUID;

public final class DingDongsPlugin extends JavaPlugin implements Listener {
    private NamespacedKey powerKey;
    private NamespacedKey equippedKey;
    private NamespacedKey starterItemsKey;
    private final Map<UUID, Long> lastGreenActivation = new HashMap<>();
    private final Map<UUID, Long> lastYellowActivation = new HashMap<>();
    private final Map<UUID, Long> lastGoldSwordActivation = new HashMap<>();
    private final Map<UUID, Long> lastGreenSneak = new HashMap<>();

    @Override
    public void onEnable() {
        powerKey = new NamespacedKey(this, "ding_dong_power");
        equippedKey = new NamespacedKey(this, "equipped_ding_dong");
        starterItemsKey = new NamespacedKey(this, "starter_ding_dongs_given");

        for (DingDongPower power : DingDongPower.values()) {
            ShapelessRecipe recipe = new ShapelessRecipe(
                    new NamespacedKey(this, "craft_" + power.name().toLowerCase(java.util.Locale.ROOT)),
                    createPowerItem(power));
            recipe.addIngredient(XMaterial.matchXMaterial(power.getMaterialName())
                    .map(XMaterial::parseMaterial).orElseThrow());
            Bukkit.addRecipe(recipe);
        }

        Bukkit.getPluginManager().registerEvents(this, this);
        for (Player player : Bukkit.getOnlinePlayers()) {
            removeGoldSwordAbilityLore(player);
        }
        getCommand("powers").setExecutor((sender, command, label, args) -> {
            if (!(sender instanceof Player player)) {
                sender.sendMessage("Only players can open the powers panel.");
                return true;
            }
            openPowersPanel(player);
            return true;
        });

        Bukkit.getScheduler().runTaskTimer(this, () -> {
            for (Player player : Bukkit.getOnlinePlayers()) {
                notifyReadyAbilities(player);
                for (DingDongPower power : getEquippedPowers(player)) {
                    if (power != DingDongPower.CRYPTIC) {
                        applyPower(player, power);
                    }
                }
            }
        }, 0L, 40L);

        Bukkit.getScheduler().runTaskTimer(this, () -> {
            for (Player player : Bukkit.getOnlinePlayers()) {
                if (isPowerEquipped(player, DingDongPower.CRYPTIC)) {
                    applyPower(player, DingDongPower.CRYPTIC);
                }
            }
        }, 40L, 40L);

        Bukkit.getScheduler().runTaskTimer(this, () -> {
            for (Player player : Bukkit.getOnlinePlayers()) {
                if (isPowerEquipped(player, DingDongPower.CRYPTIC)) {
                    XPotion.matchXPotion("SATURATION")
                            .map(potion -> potion.buildPotionEffect(20, 2))
                            .ifPresent(effect -> player.addPotionEffect(effect, true));
                }
            }
        }, 100L, 100L);

    }

    private void notifyReadyAbilities(Player player) {
        UUID playerId = player.getUniqueId();
        long now = System.currentTimeMillis();
        notifyAbilityReady(player, playerId, lastGreenActivation, now, 120_000L, DingDongPower.GREEN, "Shield");
        notifyAbilityReady(player, playerId, lastYellowActivation, now, 300_000L, DingDongPower.YELLOW, "Scan");
        notifyAbilityReady(player, playerId, lastGoldSwordActivation, now, 90_000L, DingDongPower.BLUE, "Dash");
    }

    private void notifyAbilityReady(Player player, UUID playerId, Map<UUID, Long> activations, long now,
                                   long cooldownMillis, DingDongPower power, String abilityName) {
        Long lastActivation = activations.get(playerId);
        if (lastActivation == null || now - lastActivation < cooldownMillis) {
            return;
        }

        activations.remove(playerId);
        if (isPowerEquipped(player, power)) {
            player.sendMessage(ChatColor.GREEN + abilityName + " is ready to use.");
            XSound.matchXSound("ENTITY_EXPERIENCE_ORB_PICKUP").ifPresent(sound -> sound.play(player));
        }
    }

    @EventHandler
    public void onJoin(PlayerJoinEvent event) {
        Player player = event.getPlayer();
        removeGoldSwordAbilityLore(player);
        if (!player.getPersistentDataContainer().has(starterItemsKey, PersistentDataType.BYTE)) {
            for (DingDongPower power : DingDongPower.values()) {
                giveItem(player, createPowerItem(power));
            }
            player.getPersistentDataContainer().set(starterItemsKey, PersistentDataType.BYTE, (byte) 1);
        }

        for (DingDongPower equipped : getEquippedPowers(player)) {
            applyPower(player, equipped);
        }
    }

    @EventHandler
    public void onPowerRightClick(PlayerInteractEvent event) {
        if (event.getHand() != EquipmentSlot.HAND || event.getAction() == null) {
            return;
        }

        ItemStack heldItem = event.getItem();
        if (event.getAction().isLeftClick() && heldItem != null && heldItem.getType() != null
                && XMaterial.matchXMaterial("SPYGLASS")
                .map(spyglass -> XMaterial.matchXMaterial(heldItem.getType()) == spyglass)
                .orElse(false) && isPowerEquipped(event.getPlayer(), DingDongPower.YELLOW)) {
            event.setCancelled(true);
            activateYellowScan(event.getPlayer());
            return;
        }
        if (event.getAction().isLeftClick() && heldItem != null && heldItem.getType() != null
                && XMaterial.matchXMaterial("SHIELD")
                .map(shield -> XMaterial.matchXMaterial(heldItem.getType()) == shield)
                .orElse(false) && isPowerEquipped(event.getPlayer(), DingDongPower.GREEN)) {
            event.setCancelled(true);
            activateGreenShield(event.getPlayer());
            return;
        }
        if ((event.getAction().isLeftClick() || event.getAction().isRightClick())
                && heldItem != null && heldItem.getType() != null
                && XMaterial.matchXMaterial("GOLDEN_SWORD")
                .map(goldenSword -> XMaterial.matchXMaterial(heldItem.getType()) == goldenSword)
                .orElse(false)) {
            Player player = event.getPlayer();
            if (!isPowerEquipped(player, DingDongPower.BLUE)) {
                player.sendMessage(ChatColor.YELLOW + "You must have Blue Ding Dong equipped to use Dash.");
                return;
            }
            event.setCancelled(true);
            removeGoldSwordAbilityLore(heldItem);
            activateGoldSwordBoost(player);
            return;
        }
        if (!event.getAction().isRightClick()) {
            return;
        }

        DingDongPower selected = getPowerFromItem(heldItem);
        if (selected == null) {
            return;
        }

        event.setCancelled(true);
        Player player = event.getPlayer();
        if (isPowerEquipped(player, selected)) {
            player.sendMessage(ChatColor.YELLOW + "You already have that Ding Dong equipped. Use /powers to unequip it.");
            return;