#(imfluxic) Explode not working
63 messages · Page 1 of 1 (latest)
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.
!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!
do i send the text log or just the text?
Content of Server Log Paste #140018: Denizen Debug Logs From --------- Holocraft Factions --------- 1.21.11+ | Crossplay | Java-Side... pasted 2026/04/20 16:20:28 UTC+00:00, Paste length: 6256 characters across 70 lines, Content: `Java Version: 21.0.10 Up-time: 12h 25m Denizen Version: Core: 1.91.0-SNAPSHOT (Build 1411), Spigo...
Content of Server Log Paste #140018: Denizen Debug Logs From --------- Holocraft Factions --------- 1.21.11+ | Crossplay | Java-Side... pasted 2026/04/20 16:20:28 UTC+00:00, Paste length: 6256 characters across 70 lines, Content: `Java Version: 21.0.10 Up-time: 12h 25m Denizen Version: Core: 1.91.0-SNAPSHOT (Build 1411), Spigo...
Purpur version 1.21.11-2568-f57bd86 (MC: 1.21.11)
Citizens: 2.0.41-SNAPSHOT (build 4025) -- (:warning:Outdated build, behind by 137)
Denizen: 1.3.1-SNAPSHOT (build 7237-DEV) -- (:warning:Outdated build, behind by 42)
@noble vale
0 (:triangular_flag_on_post: Hacked or Invalid ID)
21.0.10 :white_check_mark:
WorldGuard: 7.0.16+2355-f7fded2, ProtocolLib: 5.4.0
Geyser-Spigot: 2.9.5-SNAPSHOT - Bedrock clients are unsupportable. Please do all testing with a Java Edition client.
floodgate: 2.2.5-SNAPSHOT (b132-5a72b6a)
TAB: 6.0.1 - This plugin adds Below_Name scoreboards to NPCs.
Multiverse-Core: 5.6.1 - Multi-world configuration plugins may affect NPCs in unexpected ways.
i'm not seeing the explode command being used here?
i did debug, shot the bow and submitted
Maybe it's your script logic that prevents it
Help us help you by pasting your script to https://paste.denizenscript.com/New/Script and linking it back here.
!guide setting up your script editor
View the guide page 'Setting Up Your Script Editor' at: https://guide.denizenscript.com/guides/first-steps/script-editor.html
16:20:24 +> Executing 'IF': use_braces='true'
16:20:24 Filled tag <context.projectile.has_flag[explosive_arrow]> with 'false'.
16:20:24 If command passed, running block.
16:20:24 +- Queue 'EXPLOSIVE_BOW_HIT_5156_CarbonRating' Executing: (line 32) stop ---------+
16:20:24 +> Executing 'STOP': ```
it seems the projectile doesn't have the flag to fire the `explode` event
ooh, i asked chatgpt to give me the flags for me to use and it told me yml was the correct format
shouldn't use chatgpt to write scripts
What are flags?
View the Denizen Beginner's Guide at https://guide.denizenscript.com/
I recommend you go over the guide, it explains the basics
Sure i wont, ok thanks, also i was trying to find that guide
really could not find it searching idk why
no problem
can you provide your script here?
samuel noted something out and we need to check on how your script works
Content of Denizen Script Paste #140019: Unnamed Denizen Script Paste... pasted 2026/04/20 16:29:26 UTC+00:00, Paste length: 824 characters across 40 lines, Content: explosive_bow: type: item material: bow display name: "<red>Explosive Bow"
The reason it did not explode is that there is only a 20% chance that your arrow explodes
that's why we did not see anything in debug
its not about exploding, its breaking the blocks around it
not in the debug you have provided
!c explode
world
explode (power:<#.#>) (<location>) (fire) (breakblocks) (source:<entity>)
Causes an explosion at the location.
This command causes an explosion at the location specified (or the npc / player location).
By default, this will not destroy blocks or set fire to blocks within the explosion.
Specify the 'fire' argument to set blocks on fire within the explosion radius.
Specify the 'breakblocks' argument to cause the explosion to break blocks within the power radius.
If no power is specified, the default power will be 1.
If no location is given, the default will be the linked NPC or player's location.
It is...
but i got kinda confused because i made a grappling hook and it worked on YML
i'm pretty sure you used gpt here too
- explode power:1 location:<[loc]> fire:false break_blocks:true
i did try to debug it with gpt
This is part of your script
break_blocks and fire do not take any values
more even, it's breakblocks without an underscore
remove fire:false and replace break_blocks:true with literal breakblocks
you can also remove power:1 since that's the default behavior
It work but its confusing, if YML is not the right format then why does it work?
it's a legacy format
oh
!guide setting up your script editor
View the guide page 'Setting Up Your Script Editor' at: https://guide.denizenscript.com/guides/first-steps/script-editor.html
check this out
you'll get syntax highlighting, error checking from visual studio code
#changelog message
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.)
@teal roost
