Quests icon indicating copy to clipboard operation
Quests copied to clipboard

[Quests] NPC UUID was null for Denizen script

Open 1337psgolfcart opened this issue 10 months ago • 1 comments

What is your Quests version / build number (do not say "latest")?

5.2.8-b554

Describe the problem and how to replicate it.

I've attached a Denizen Script as a start action to a stage. Once that stage starts i also get the "NPC UUID was null for Denizen script named" error.

Exert from actions.yml:

dg2stagestart:
    denizen-script: DGTWO_STAGE_KILL_GHOSTS

The script i want to run:

dgtwo_stage_kill_ghosts:
    type: task
    script:
    - narrate <player> per_player
    - flag <player> quest_000046_stage_reached:true

Any console errors to share?

[Quests] NPC UUID was null for Denizen script named...

If applicable, can you provide an example quest from quests.yml?

'000050':
    name: TEST
    ask-message: Challenge objectives!
    finish-message: Well done!
    npc-giver-uuid: 71668d1f-bfd7-4995-bdb5-abbc2628c76d
    stages:
      ordered:
        '1':
          npc-uuids-to-talk-to:
          - 71668d1f-bfd7-4995-bdb5-abbc2628c76d
        '2':
          npc-uuids-to-talk-to:
          - 71668d1f-bfd7-4995-bdb5-abbc2628c76d
          start-event: dg2stagestart
    planner:
      cooldown: 1
      override: false
    options:
      allow-commands: true
      allow-quitting: true
      ignore-silk-touch: true
      use-parties-plugin: true
      share-progress-level: 1
      same-quest-only: true
      share-distance: 0.0
      handle-offline-players: false
      ignore-block-replace: true
      give-at-login: false
      allow-stacking-global: true
      inform-on-start: true

1337psgolfcart avatar Jan 28 '26 00:01 1337psgolfcart

There is no situation where the console error would be cut off—it will always end with a script name, and not an ellipsis ('...'). Because the error has been modified, I have no way of knowing whether the script you provided is relevant.

If this is still an issue, please reply below with a full server log containing the error, and I'll re-open the issue.

PikaMug avatar Feb 25 '26 23:02 PikaMug