#(thatkev) <player.glowing> incorrect?

1 messages · Page 1 of 1 (latest)

outer vault
#

It appears that <player.glowing> is displaying false even though I am glowing. Am I doing something wrong?

craggy harborBOT
#

(thatkev) <player.glowing> incorrect?

craggy harborBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.

lofty fable
#

!debug

desert fableBOT
# lofty fable !debug
Info: debug

If you need help with a script issue, one of the most powerful tools Denizen has to offer is full debug output. This is displaying in your console whenever scripts are running until you turn debug off. To share a debug log quickly and easily with helpers, simply run the command /denizen debug -r in-game to begin recording, then run through the part of the script you need help with, then run the command /denizen submit. This will give you a link to a paste of the debug log, which you can then copy/paste back to us!

outer vault
#

just a sec

outer vault
lofty fable
desert fableBOT
# lofty fable !checklog https://paste.denizenscript.com/View/126458
Server Version

Paper version 1.21.1-76-e945cfe (MC: 1.21.1)

Plugin Version(s)

Citizens: 2.0.35-SNAPSHOT (build 3492) -- (:warning:Outdated build, behind by 66)
Denizen: 1.3.1-SNAPSHOT (build 7059-DEV) -- (:warning:Outdated build, behind by 8)
Depenizen: 2.1.1 (build 864) -- (Current build :white_check_mark:)

Checked For

@lofty fable

UUID Version

0 (:triangular_flag_on_post: Hacked or Invalid ID)

Java Version

21.0.3 :white_check_mark:

Other Noteworthy Plugin(s)

WorldGuard: 7.0.11-beta1+a801a9d, ProtocolLib: 5.3.0-SNAPSHOT-726, Quests: 5.1.3-b503

Problematic Plugin(s)

PlugManX: 2.3.7 - :warning: Plugin Managers are dangerous and will cause unpredictable issues. Remove it.
Geyser-Spigot: 2.4.2-SNAPSHOT - Bedrock clients are unsupportable. Please do all testing with a Java Edition client.
floodgate: 2.2.3-SNAPSHOT (b109-49bd564)

Possibly Relevant Plugin(s)

TAB: 4.1.6 - This plugin adds Below_Name scoreboards to NPCs.
Multiverse-Core: 4.3.12 - Multi-world configuration plugins may affect NPCs in unexpected ways.
GSit: 1.10.0 - 'Sit on other players' or 'sit on mobs' plugins sometimes allow players to sit on NPCs.

lofty fable
#

!t player.glowing

desert fableBOT
lofty fable
#

!c glow

desert fableBOT
# lofty fable !c glow
Group

entity

Syntax

glow (<entity>|...) ({true}/false/toggle/reset) (for:<player>|...)

Short Description

Sets whether an NPC or entity is glowing.

Description

Sets 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 r...

lofty fable
#

Is there any reason you are making yourself glowing only for yourself?

outer vault
#

it's a command for players

#

so they can make themselves glow

lofty fable
#

But you are aware that only they see them glow, not others?

outer vault
#

What do you mean, sorry?

lofty fable
#

By using the for: arguments, only these players specified will see the entity glow.

outer vault
#

Oh, so I don't specify the for:?

lofty fable
#

If you dont specify that, they will glow globally for anyone.

outer vault
#

Ok

#

that fixed it

#

Now I'm trying to figure out the colours and I can't seem to get it working

lofty fable
#

The for: argument makes the entity glow only for specific players. That's why glowing returns false for the server. It makes use of network packets.

#

!m glow_color

desert fableBOT
# lofty fable !m glow_color
Cannot Specify Searched Mechanism

Multiple possible mechanisms: NPCTag.glow_color, EntityTag.glow_color, LocationTag.sign_glow_color.

#
Possible Confusion

Did you mean to search for command glow?

lofty fable
#

!m entity.glow_color

desert fableBOT
# lofty fable !m entity.glow_color

(Property) A display entity's glow color override, if any.
For the mechanism: provide no input to remove the override.

Group

Properties

Object

EntityTag

Input

ColorTag

Tags

<EntityTag.glow_color> (Property) A display entity's glow color override, if any. For the mechanis...

lofty fable
#

Ah hold it's players isnt it

outer vault
#

yeah

#

I got this

#
glow_command:
    type: command
    name: glow
    debug: true
    description: Makes you glow!
    usage: /glow <&lt>world<&gt>

    tab completions:
        1: aqua|black|blue|dark_aqua|dark_blue|dark_gray|dark_green|dark_purple|dark_red|gold|gray|green|light_purple|red|white|yellow

    script:
        - define colour:<context.args.get[1].to_lowercase>
        - if <list[aqua|black|blue|dark_aqua|dark_blue|dark_gray|dark_green|dark_purple|dark_red|gold|gray|green|light_purple|red|white|yellow].contains[<[colour]>]>:
            - if <player.glowing>:
                - glow <player> false
                - narrate "<&7>You are no longer glowing!"
            - else:
                - team name:glow-<[colour]> add:<player> color:<[colour].to_uppercase>
                - glow <player> true
                - narrate "<&7>You are now glowing!"
        - else:
            - narrate "<&4>That colour is invalid. Try again."
#

I can't seem to get the team working

lofty fable
#

You need to add the player to the team

#

Adding a player to the team will also create it, if it does not exist yet

outer vault
#

Do I have to do it separately

lofty fable
#

Yee

outer vault
#

Alright

lofty fable
#

oh hold

#

this can stay a one liner

outer vault
#

Holding

lofty fable
#

works fine for me

outer vault
#

hmm, my client is keeping it white

lofty fable
#

try to reset your glow

#

you used for argument before

#

/ex glow <player> reset

outer vault
#

Nope

lofty fable
#

try a server restart then

outer vault
#

rightio

lofty fable
#

'for:' players remain tracked even when offline/reconnecting, but are forgotten after server restart.

outer vault
#

Got it

#

Restarting rn

#

Still doesn't seem to work

#
glow_command:
    type: command
    name: glow
    debug: true
    description: Makes you glow!
    usage: /glow <&lt>world<&gt>

    tab completions:
        1: aqua|black|blue|dark_aqua|dark_blue|dark_gray|dark_green|dark_purple|dark_red|gold|gray|green|light_purple|red|white|yellow

    script:
        - define colour:<context.args.get[1].to_lowercase>
        - if <list[aqua|black|blue|dark_aqua|dark_blue|dark_gray|dark_green|dark_purple|dark_red|gold|gray|green|light_purple|red|white|yellow].contains[<[colour]>]>:
            - narrate "<&a>Chose <&l><[colour]>"
        - else:
            - narrate "<&4>That colour is invalid. Try again."
        - if <player.glowing>:
            - glow false
            - narrate "<&7>You are no longer glowing!"
        - else:
            - glow true
            - team name:glow.<[colour]> add:<player> color:<[colour].to_uppercase>
            - narrate "<&7>You are now glowing!"
lofty fable
#

script works fine on my end so uh

#

lets see what I'm testing on

outer vault
#

ok

lofty fable
desert fableBOT
lofty fable
#

oh

outer vault
#

Hm?

lofty fable
#

wrong denizen build

outer vault
#

should i update/change?

lofty fable
#

you can also update yeah

outer vault
#

where would the dev build be

lofty fable
#

!update

desert fableBOT
#
Update Paper

Paper is a higher-performance alternative to Spigot that is 100% compatible with the equivalent Spigot version. It's much easier to update than Spigot itself, and carries a lot of performance and quality-of-life benefits.

Latest Paper builds are at https://papermc.io/downloads/paper.

(If you would prefer to use a Spigot build, refer to !update spigot).

outer vault
#

updating now

#

won't be too long

lofty fable
#

If that's also not working try it again on a freshly made test server

desert fableBOT
lofty fable
#

Works perfectly on latest paper + denizen on my end

outer vault
#

The client won't affect anything wouldn't it

lofty fable
#

it can yes

outer vault
#

I'm on Lunar so I might just try vanilla launcher

#

Lemme see how updating works

#

Nope, gonna try the blank server

#

Works on a blank server

#

Now I am gonna have to go through the headache of finding which plugin is breaking stuff

#

😮‍💨

#

guess i could try from a dry run

#

^ fixed

spring hingeBOT
outer vault
#

Actually looks like when I rejoin it causes the crashes

#

weird

#

Only fixes when I delete the teams

lofty fable
#

How do you create them

outer vault
#

Using that command there

lofty fable
#

the denizen team command

#

?

outer vault
#

yeah

compact yew
#

@outer vault did you fix this? or do you still need help

outer vault
#

can’t do it because of scoreboard plug-in, thanks