#(stevoeinrad) Confirm Command Execution
151 messages · Page 1 of 1 (latest)
(stevoeinrad) Confirm Command Execution
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.
A change in recent MC versions broke it, being worked on
okay thanks, my players are kinda getting on my nerves, with saying its rly annoying
I'll see if I can maybe do a temporary patch until it's properly fixed
you can create your own command i mean
Would be higly higle appreciated ❤️
what u mean by that?
Adds a click command to the element, which makes the element execute the input command when clicked.
To execute a command "/" should be used at the start. Prior to 1.19, leaving off the "/" would display the text as chat. This feature was removed as part of the 1.19 secure chat system.
For activating interact script chat triggers (!language Chat Triggers), you can use the command "/denizenclickable chat SOME MESSAGE HERE" (requires players have permission "denizen.clickable")
For that, in...
text manipulation
ElementTag
- narrate "You can <element[click here].on_click[/help]> for help!"
- narrate "You can <element[click here].on_click[/denizenclickable chat hello]> to say hello to an NPC's interact script!"
that way you shouldnt get those warnings afaik
well thats not a "good" option, i have these in a 500+ scripts or so
hey i saw ur PR and that monkey closed it
i updated the Denizen Version and the Command Confirmation screen ist still there
is there something i need to change in the configs or ?
!logs
Please post your full latest log file.
Background Info: One of the most helpful tools to identifying the source of a problem is your server logs file! Logs contain all sorts of important information like server and plugin versions, any error messages, and a lot more important information (More Info).
How To: Your log can be found in the logs folder within your server folder. The most recent log is a text file labeled latest.log. To get help using these logs, please open that file in a text editor and copy all of the text, then open https://paste.denizenscript.com/New/Log and paste the text into the box on the page. Then click "Submit" and copy the URL and paste that back into this channel.
Please do not upload the file to Discord or to other pastebin services, use the log pastebin linked above.
Content of Server Log Paste #134915: Denizen Debug Logs From Developer... pasted 2025/07/18 16:51:32 UTC-07:00, Paste length: 11045 characters across 132 lines, Content: `Java Version: 21.0.7 Up-time: 2h 6m Denizen Version: Core: 1.91.0-SNAPSHOT (Build 1403), Spigot: 1.3.1-SNAPSHOT (build 7197-DEV) Script Containers: 1298, Events:...
Content of Server Log Paste #134915: Denizen Debug Logs From Developer... pasted 2025/07/18 16:51:32 UTC-07:00, Paste length: 11045 characters across 132 lines, Content: `Java Version: 21.0.7 Up-time: 2h 6m Denizen Version: Core: 1.91.0-SNAPSHOT (Build 1403), Spigot: 1.3.1-SNAPSHOT (build 7197-DEV) Script Containers: 1298, Events:...
Paper version 1.21.8-6-782ce95 (MC: 1.21.8)
Citizens: 2.0.39-SNAPSHOT (build 3851) -- (Current build :white_check_mark:)
Denizen: 1.3.1-SNAPSHOT (build 7197-DEV) -- (Current build :white_check_mark:)
Depenizen: 2.1.1 (build 882) -- (Current build :white_check_mark:)
dDiscordBot: 0.7 (build 305) -- (Current build :white_check_mark:)
@simple nexus
4 (:white_check_mark: Online)
21.0.7 :white_check_mark:
WorldGuard: 7.0.14+2339-43997ec, ProtocolLib: 5.4.0-SNAPSHOT-753
ViaVersion: 5.4.2-SNAPSHOT - Mixed client vs server versions can sometimes cause packet-related issues.
HeadDatabase: 4.21.2 - HeadDatabase has been known to cause issues with skins.
CMI: 9.7.15.5 - CMI tends to mess with a large variety of server features and often gets in the way of issue debugging.
Multiverse-Core: 5.0.2 - Multi-world configuration plugins may affect NPCs in unexpected ways.
Please create a Minimal, Complete, and Verifiable Example of the problem you're reporting.
Minimal: contains nothing other than the part that's broken (and bare minimum structure).
Complete: contains everything needed to demonstrate the issue.
Verifiable: Anybody should be able to throw it on their own server and see the problem happen for themselves, without any needed tinkering.
sure
i use this script to open a Book when i click an Npc
in that i have an clickable where when i click it, it opens another book
but that clickable needs to be confirmed
and in that particulary version are all my npc's and quests on my server
thalgrim:
type: assignment
debug: false
actions:
on assignment:
- trigger name:click state:true
on click:
- clickable save:1:
- stop
- if !<player.has_flag[quest.frostschmied]>:
- define book "<&6><npc.name><&r>: <&8>*schnauft schwer, seine Stimme zittert leicht*<&nl><&nl>"
- define book "<[book]><&8>Mein Amboss... der Frostschmieds Amboss. Ich ließ ihn einst in der Eisenspitze zurück – zu gefährlich war es dort geworden.<&nl><&nl>"
- define book "<[book]><&6>Für mehr weiterblättern"
- define book "<[book]>|<&8>Doch ohne ihn kann ich nichts beginnen. Das Feuer der Schmiede bleibt kalt, solange er fehlt.<&nl><&nl>"
- define book "<[book]><element[<&2>Ich werde deinen Amboss finden].on_hover[<&7>*klick*].on_click[<entry[1].command>]><&nl><&nl>"
- playsound <player> sound:ITEM_BOOK_PAGE_TURN volume:1 pitch:1
- adjust <player> show_book:default_book[book_pages=<[book]>]
if u want to use the same param
going to sleep now
okay, idk why but
for me on all version, with and without mods it doesnt work apparently
but for @vale kestrel it seems to work perfectly fine
and also tried it with diffrent accounts
with and without mods
doesn't work
🤫 go work
Are you sure there isn't a permissions difference between you? if not, I'd check if either of you is using any sort of customizations over a default vanilla client (I.e. mods, custom clients, etc.)
run a luckperms check
/luckperms verbose record - replicate the issue then /luckperms paste
post the link back here and we can help you figure out
so i started recording, stevo used the clickable, got the confirmation again, than i run paste
@spice hamlet did you set the config to allow clicking links in chat in your game?
Just to trace back to this ^, are you both using a 100% default vanilla client (no Optifine, no Fabric, no Forge, no Lunar/Badlion/Feather/etc.), and are on the same Minecraft version (no joining on different versions using ViaVersion)?
What permission is inside the denizen group?
but ye, per ^, einradstevo does have the denizen.clickable permission
all my players have the denizen.clickable permission
and yes, we both tested fully vanilla without mods
And same version? version can be important as these changes are recent
(If you use ViaVersion and the likes)
we used both vanilla 1.21.7 without any mods
Yes
Well, there has to be some difference between your two cases - maybe both try on a clean local test server with just Denizen?
If it works there, then it's likely a problem with the server setup, if it still doesn't it's likely a problem with the client setup/Denizen
well i dont got the know how to set something like this up and Ikuria ist at work, and got limited time until tmr
View the guide page 'Setting Up A Local Test Server' at: https://guide.denizenscript.com/guides/first-steps/local-test-server.html
But we can come back to this later if you want to, no worries
It's just a way to make a small empty server running locally on your computer, that way to can test stuff without anything else on your actual server interfering
it did cost me some nerves but i got it to work
i installed everything besides Citiziens cause it costs something and i wont buy it for test reasons 😅
another trigger to open the book but it works
with vanilla and all my mods active
so it has to be somthing on the server
the diffrence might be, that im a player with only script knowledge and player permissions, where Ikuria has all Permissions cause its her server
but both of us have the clickable permissions
I'd test on a clean new server, easiest way to figure out if it's a problem with your server or a problem with your clients ^
Yeah no worries take your time - just both of you try on a clean server with no setup, so that we can know if the problem is caused by the setup on your actual server or not
Or well, whoever has the issue at least
I tested it on a local server and it works fine
!citizensfree
Oh sorry I missed your message - so on a local server it works fine but on your actual server it breaks? How about just normal players with default permissions?
Basically, does it
A. Only work for Ikuria (presumably because they have OP) and broken for everyone else
B. Only not work for you and works for everyone else
it works for everyone with all permissions (teams)
every player only has the clickable permissions and it won't work
i have player permissions and op and it still won't work
not only that permissions, and every other important one^^
as u can see here
Actually, question: are you getting the exact same unrecognized command popup as before, or is it a slightly different one about permissions?
the exact same command confirmation screen as before
But is the message in the screen the same? Because Mojang has 2 possible messages there
thats the one
Okay that's really weird actually, does the command show up if you try tab completing it in chat?
and u can see in the first picture at the start its the same msg
(so like, type in /denizencli)
doesnt the command generate first when i click the book in the npc
just tested it, no i cant type the actual command in chat
/denizenclickable always exists, the UUID you see there is what's generated
cant use that, myb cause our Pl_hide plugin doesnt allow me to use the command
i thought you just fixed that in 1.21.8, aya?
Oh you have a second plugin that hides commands? Should definitely look into that yeah - basically the problem is that for some reason the command is being hidden from your client, which Denizen doesn't do anymore
So something else is hiding it
we can test that when Ikuria is awake again
It should be, but they're having an issue where it's only fixed for some people
Yeah give that a go and let me know then, I kinda assumed it was the permissions popup, but if it's still the unknown command one then there might be something else hiding it.
Do you have access to add Denizen scripts? If so you could make a quick script to check what commands are being sent to the client probably
(I can link you the event)
But if not then just lmk once you're able to debug, no worries
yeah i do have that
Player
player receives commands
when the list of available server commands is sent to the player for tab completion.
Always. - this adds switches flagged:<flag name> + permission:<node>, in addition to the <player> link.
<context.commands> returns a ListTag of received commands.
ListTag to set the player's available commands. NOTE: It is not possible to add entries to the command list, only remove them.
Have two events with that, one at bukkit_priority:lowest and one at bukkit_priority:monitor
like that
Then narrate the list of commands in them, and see if denizenclickable is there initially & getting removed
I'd probably put it in console cause that's easier to read, but yeah
And just see if
denizenclickableis in the first one- If it's getting removed and isn't in the second one
Well that's really weird o.O, I'll have to do some more testing once I'm on PC then, don't have any other ideas offhand
Actually, one small thing to check - what plugins are listed if you /paper dumplisteners org.bukkit.event.player.PlayerCommandSendEvent?
As in, no output at all? Or no plugins are listed?
thats what i get
Does /paper or /paper dumplisteners tab complete at all? Maybe you just don't have permissions
doesnt let me tab complete^^
Well, not much else I can do from my phone - hopefully I'll have time to look into this tomorrow, and lmk here once you're able to debug this more with Ikuria
sure will do that
Is this because you're using a slash? Usage examples don't show a slash command for execute
[09:55:20] [Render thread/INFO]: [CHAT] Listeners for org.bukkit.event.player.PlayerCommandSendEvent:
[09:55:20] [Render thread/INFO]: [CHAT] FastAsyncWorldEdit (com.sk89q.worldedit.bukkit.WorldEditListener)
[09:55:20] [Render thread/INFO]: [CHAT] CMI (com.Zrips.CMI.Modules.Alias.AliasTabCompListener_1_14_never)
[09:55:20] [Render thread/INFO]: [CHAT] Total listeners: 2
Stevo simply didn't have the permissions
no, we already checked that, all players have that permission
but there is a proxy plugin, hiding the command, the command isnt inside tabcomplete, but still usable
will check that later with stevo (when he is back from sleep)
maybe that is the problem
or CMI, most of the time CMI is doing strange things and breaking other stuff
average CMI experience
okay, pl-hide was the problem, we only allow the command, not the tabcomplete for the players (because i want to hide the command) is there any way to update this to make it work without giving the player the command (denizenclickable) to see?
with the command visible, the thread-topic is resolved
No, the error screen itself says "unrecognized command" - it's because it's a command the client doesn't know
The point of the temporary patch I added to Denizen was let clients see the command so that it works in the meanwhile (they can't really do anything with it anyway) - eventually we'll have a different solution for clickables without that command, but this is the fix for now to avoid the confirmation screen
i'm fine with the fix, thanks alot aya
if there is a better solution in the future, i will be happy to have that
keep up the good work and thanks for your help in this thread!!

No problem :), glad we could fix it
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.)
@spice hamlet
