Skip to content

Add GlowSpell#991

Merged
TonytheMacaroni merged 2 commits intoTheComputerGeek2:mainfrom
TonytheMacaroni:glow-spell
Mar 29, 2025
Merged

Add GlowSpell#991
TonytheMacaroni merged 2 commits intoTheComputerGeek2:mainfrom
TonytheMacaroni:glow-spell

Conversation

@TonytheMacaroni
Copy link
Copy Markdown
Collaborator

@TonytheMacaroni TonytheMacaroni commented Mar 1, 2025

Adds .targeted.GlowSpell, a replacement for .targeted.ext.GlowSpell.

Example:

glow:
    spell-class: ".targeted.GlowSpell"
    key: example:glow # Specifies a namespaced key for the glow. Glows with the same key override each other. Supports replacement. Optional.
    color: red # Specifies the glow's color. Optional.
    global: true # Specifies whether the glow is only visible to the caster, or all players. Defaults to `true`.
    duration: 200 # Specifies how long the glow should last, in ticks. Only applies when the value is greater than 0. Defaults to `0`.
    priority: 20 # Specifies the priority of the glow. The glow with the highest priority will be applied. Defaults to `0`.

glow/remove:
    spell-class: ".targeted.GlowSpell"
    key: example:glow # Specifies the namespaced key of the glow to remove.
    global: true # Specifies whether to remove a global or per-player glow.
    remove: true # When `true`, the glow specified by `key` will instead be removed.

general.yml configuration:

# General options that apply to the scoreboard teams created by `.targeted.GlowSpell`. These correspond to general scoreboard teams options that can affect client behavior. See https://minecraft.wiki/w/Scoreboard#Teams.
glow-spell-scoreboard-teams:
    see-friendly-invisibles: false
    name-tag-visibility: always
    collision-rule: always
  • No longer requires an external dependency to function. Interfaces with the packetevents plugin when available for better compatibility with other plugins.
  • Relies on scoreboard teams and packet manipulation. As such, this spell can conflict with other plugins that interact with scoreboards, such as those that use them to manipulate the tab list, or preventing player collisions.
  • Has some support for disguises from the Lib's Disguises plugin. There are issues that can be caused when using a GlowSpell on a disguised entity; most of these issues will likely not be fixed.

@TonytheMacaroni TonytheMacaroni force-pushed the glow-spell branch 4 times, most recently from 6948604 to 7b76f1f Compare March 3, 2025 02:11
@JasperLorelai

This comment was marked as resolved.

@TonytheMacaroni TonytheMacaroni force-pushed the glow-spell branch 4 times, most recently from 1bd7fc4 to c1e4e15 Compare March 12, 2025 16:00
@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 16, 2025

Built artifact: MagicSpells-4.0-Beta-17-2a71c76

@TonytheMacaroni TonytheMacaroni marked this pull request as ready for review March 16, 2025 14:11
@TonytheMacaroni TonytheMacaroni force-pushed the glow-spell branch 5 times, most recently from 74dc64f to 7bd4591 Compare March 23, 2025 00:12
@TonytheMacaroni TonytheMacaroni force-pushed the glow-spell branch 5 times, most recently from ab54428 to fdd0ebb Compare March 28, 2025 00:37
@TonytheMacaroni TonytheMacaroni merged commit 590ec57 into TheComputerGeek2:main Mar 29, 2025
1 check passed
@TonytheMacaroni TonytheMacaroni deleted the glow-spell branch May 21, 2025 05:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants