#(jon1games) Denizen "quests" option not working

42 messages · Page 1 of 1 (latest)

balmy gust
#

Quest-Pluin: https://www.spigotmc.org/resources/quests.3711/

I´m trying to activate an quest from the Quest-Plugin, but i is saying:

[21:37:06 INFO]: +- Executing command: QUESTS ---------+ 
[21:37:06 INFO]:  ERROR in script 'firstinteract' in queue 'CLICKABLE_firstinteract_126_SteSucceed' while executing command 'QUESTS' in file 'scripts/Fabian.dsc' on line '18' with player 'Jon1Games' with NPC 'n@3 (Fabian)'!
                 Error Message: QUESTS is an invalid command! Are you sure it loaded? 

So my question is, how do i enable the support for this plugin?
the Quest-Plugin´s website is saying that it shoud be possible.

Thank you for your help!

sharp baneBOT
#

(jon1games) Denizen "quests" option not working

sharp baneBOT
#

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.

rich lava
#

!debug

bold harborBOT
# rich lava !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!

rich lava
#

proper debug pls

balmy gust
rich lava
bold harborBOT
# rich lava !checklog https://paste.denizenscript.com/View/122902
Server Version

Paper version git-Paper-496 (MC: 1.20.4)-- (Current build :white_check_mark:)

Plugin Version(s)

Citizens: 2.0.33-SNAPSHOT (build 3382) -- (:warning:Outdated build, behind by 35)
Denizen: 1.3.0-SNAPSHOT (build 1803-REL) -- (Outdated build, behind by 1)

Checked For

@rich lava

Online/Offline

Offline, but proxied.

UUID Version

4 (:white_check_mark: Online)

Java Version

21.0.3 :white_check_mark:

Other Noteworthy Plugin(s)

WorldGuard: 7.0.9+5934e49, Quests: 5.0.1-b454

Possibly Relevant Plugin(s)

FastAsyncWorldEdit: 2.10.1-SNAPSHOT-776;3dc949e - This plugin has been known to break the plugin load order on many servers, due to usage of the 'loadbefore' directive in its 'plugin.yml'.
GSit: 1.9.1 - 'Sit on other players' or 'sit on mobs' plugins sometimes allow players to sit on NPCs.

rich lava
#

!c quest

bold harborBOT
# rich lava !c quest
Required Plugins or Platforms

Depenizen, Quests

Group

Depenizen

Syntax

quests [add/remove/set] (quest:<quest_id>) (stage:<#>) (points:<#>) (override_checks:{true}/false)

Short Description

Edits quest player information.

Description

This command allows you to give, quit, or set the stage of a quest for a player, or to add, subtract, or set the amount of Quest Points that a player holds.
When modifying quests, the ID (read: NOT the name) must be specified.
Numerical stage number must be present when setting progress.
'override_checks' indicates whether to bypass associated checks (see Usage).
If not modifying a quest, points must be included as a numerical value.

rich lava
#

Requires Depenizen, Quests

#

!update depenizen

bold harborBOT
rich lava
#

You need to grab & install depenizen in order for that to work

#

(it acts as a bridge between denizen and external plugins it has support for)

balmy gust
#

oh okay, thak you verry much minecraft_heart

#

Uhm its not making any error anymore but the quest isn´t starting...
https://paste.denizenscript.com/View/122903

i think i read something that the name in not qual to the ID, which is needed... But i didn´t set any ID anly the name.

balmy gust
rich lava
#

!t player.quests.active_ids

bold harborBOT
rich lava
#

This will give a list of all active quest IDs you have

#

Can just have that 1 active to make it easier, not really sure how the IDs look like

balmy gust
#

idk for sure but i just assume that the tag is working an the sript file as an placeholder... and this dont reaslly works

rich lava
#

Your tag is wrong

#

playertag is not a valid player object, it's a tag placeholder

#

Where you see playertag it needs to be replaced with an actual player object (this goes for any other xTags on the meta)

#

In your case <player.quest...> because <player> would be the linked player

balmy gust
#

oh yeah i see <<player>.quest...> workey... thank yoz

rich lava
#

That is also wrong

#

!g

bold harborBOT
rich lava
#

If you haven't read the guide it goes over the basics

#
Sub-Tags
A sub-tag is something like <PlayerTag.name> which returns an ElementTag of the applicable player's name. A sub-tag, in documentation, will always start with (Something)Tag, like PlayerTag or ItemTag. Anything that isn't in this format is a base tag.

Sub-tags are tacked onto the end of an existing tag. A complete tag can have any number of sub-tags - zero (just the base), one (a very simple tag), five hundred (an incredibly long tag), or any other number.
#
Combining The Parts
We saw the sub-tag example <PlayerTag.name> above. When a sub-tag starts with "PlayerTag", this basically means "insert a player here"... since the base tag <player> returns a player, and <PlayerTag.name> needs a player as its first part, you can combine these to make <player.name> which returns the name of the situationally relevant player. In the case of the /ex command, <player.name> returns your name.```
#

See how it's <player.name>, not <<player>.name>

balmy gust
#

its working now thx

rich lava
#

feel free to ask if you've got any more questions, otherwise

slender shoalBOT
#
Thread Closing Reminder

Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.

If not yet resolved, please reply below to tell us what you still need.

(Note that if there is no reply for a few days, this thread will eventually close itself.)

#

@balmy gust