Denizen Script Commands


Commands are always written with a '-' before them, and are the core component of any script, the primary way to cause things to happen.
Learn about how commands work in The Beginner's Guide.


Showing 1 out of 184 commands...
NameGlow
Syntaxglow (<entity>|...) ({true}/false/toggle/reset) (for:<player>|...)
Short DescriptionSets whether an NPC or entity is glowing.
Full DescriptionSets whether the specified entities glow, defaults to the linked player/NPC if none were specified.

Optionally specify 'for:' with a list of players to fake the entities' glow state for these players.
When using 'toggle' with the 'for:' argument, the glow state will be toggled for each player separately.
If unspecified, will be set globally.
'for:' players remain tracked even when offline/reconnecting, but are forgotten after server restart.

When not using 'for:', the glow is global / on the real entity, which will persist in that entity's data until changed.

To reset an entity's fake glow use the 'reset' state.
A reset is global by default, use the 'for:' argument to reset specific players.
Related Tags<EntityTag.glowing> Returns whether this entity is glowing.
Usage Example
# Use to make the linked player (or NPC, if there isn't one) glow.
- glow
Usage Example
# Use to toggle whether the linked NPC is glowing.
- glow <npc> toggle
Usage Example
# Use to make an entity glow for specific players, without changing the way other players see it.
- glow <[entity]> for:<[player1]>|<[player2]>
Usage Example
# Use to reset an entity's fake glow state for the linked player.
- glow <[entity]> reset for:<player>
Groupentity
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/scripts/commands/entity/GlowCommand.java#L26