#(boringmosk) Webget not working
33 messages · Page 1 of 1 (latest)
(boringmosk) Webget not working
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.
why did you close your previous thread
Because I was thinking it was so simple as modifying my config.yml but it did not work
Content of Server Log Paste #131807: Denizen Debug Logs From A Minecraft Server... pasted 2025/03/15 10:39:42 UTC-07:00, Paste length: 1851 characters across 24 lines, Content: `Java Version: 22.0.1 Up-time: 1h 31m Denizen Version: Core: 1.91.0-SNAPSHOT (Build 1397), Spigot: 1.3.1-SNAPSHOT (build 7137-DEV) Script Containers: 0, Events: ...
Config.yml :
https://paste.denizenscript.com/View/131808
Content of Denizen Script Paste #131808: config.yml... pasted 2025/03/15 10:45:27 UTC-07:00, Paste length: 21754 characters across 355 lines, Content: # Denizen config. Debug: # Whether debug information about Denizen should EVER appear in the server console by default
Can you help I cant think of anything... As my config.yml file seem to be allright to accept file write...
Also the permissions for the folder is ok
Content of Server Log Paste #131807: Denizen Debug Logs From A Minecraft Server... pasted 2025/03/15 10:39:42 UTC-07:00, Paste length: 1851 characters across 24 lines, Content: `Java Version: 22.0.1 Up-time: 1h 31m Denizen Version: Core: 1.91.0-SNAPSHOT (Build 1397), Spigot: 1.3.1-SNAPSHOT (build 7137-DEV) Script Containers: 0, Events: ...
CraftBukkit version 4440-Spigot-e5a64e7-43f66f6 (MC: 1.21.4)
Citizens: 2.0.37-SNAPSHOT (build 3729) -- (:warning:Outdated build, behind by 27)
Denizen: 1.3.1-SNAPSHOT (build 7137-DEV) -- (:warning:Outdated build, behind by 6)
@meager olive
4 (:white_check_mark: Online)
22.0.1 :warning: - Only Java versions 21 or 17 are fully supported (or 8 for legacy Minecraft)
Make sure this isn't already fixed on latest denizen/spigot (or paper)
Thank's I'll look for that
Why would you download directly into your scripts folder
That's not the why I want to resolve that's the how...
It does not work even with the latest build
So the webget does not seem to work with the "savefile:" argument
./ex webget "url_ofthe_file" savefile:"target_file" Ne fonctionne pas
Oups.. I mean "Does not work"
There's a config option that prevents you from doing that
as the error message states
Yes but Everything related to fileaccess is set to true in the config.yml.
That's the point.
I believe the setting's not working in the config.yml
File:
# Set 'true' to enable the 'fileread' generic command.
# This setting does not affect YAML or other specific-file-type commands.
Allow read: true
# Set 'true' to enable the 'filewrite' generic command.
# This setting does not affect YAML or other specific-file-type commands.
Allow write: true
# The restricted file path, under plugins/Denizen/, for "fileread" and "filewrite" to be limited to. Set to 'none' to remove the path restriction.
Restrict path: 'none'
Anyway I'll try to find what's going wrong. If you have any idea about it , I'll take it. Thank's for trying
Those config options have nothing todo with the webget command
Denizen has a security option to prevent users from writing into dangerous file paths to prevent users from doing stupid
In save locations you can download files
If you flip these options carelessly, you're risking that potential malicious files can end up into your system folder
so why do you want to save into the /scripts folder?
That's alright! I understand that denizen cant do it. So, finally I did it in Java in my own plugin and it work fine! Thank's anyway for trying to help.