An open library of RPG Maker MV plugins, powered by the community.

PGMV - The Community-Driven Plugin Library for RPG Maker MV

MV plugins

File Downloader - FileDownloader.js

Plugin desc : File Download Plugin

License : MIT License

Author : Triacontane

Website : https://triacontane.blogspot.com/

Desc page : https://triacontane.blogspot.com/

Download Page : https://raw.githubusercontent.com/munokura/triacontane-MV-plugins/refs/heads/main/FileDownloader.js

File name : FileDownloader.js

Help of plugin :

@url https://triacontane.blogspot.com/
@plugindesc File Download Plugin
@author Triacontane
@license MIT License

@help
English Help Translator: munokura
This is an unofficial English translation of the plugin help,
created to support global RPG Maker users.
Feedback is welcome to improve translation quality
(see: https://github.com/munokura/triacontane-MV-plugins ).
Original plugin by Triacontane.
Please check the latest official version at:
https://triacontane.blogspot.com
-----
You can download files from the internet during gameplay and place them
anywhere in your project. Files with the same name will be overwritten.
These files can be dynamically referenced in-game.

This feature can be primarily used for the following purposes:

1. Automatic plugin updates during development
The latest version from the distributor is automatically applied when the
game is launched.
You can use the latest files with added features and bug fixes without
having to manually check.

However, if you update a plugin that has already been applied,
you will need to reload the game for the changes to take effect.

*You can update this plugin by running the following plugin command with
the "distribution site URL" parameter set to the default:

FD_MY_PLUGIN FileDownloader.js

2. Small-scale update file distribution
By preparing in advance, you can replace only certain files without
requiring players to re-download the entire game.

3. Displaying images from the internet as pictures
You can import image files from the internet and use them in-game.
Please be aware of copyright restrictions.

Caution!
1. Downloading takes a very long time. (Especially on Windows)

2. Files will be overwritten without confirmation.
Please note that they cannot be restored.

3. Some servers may reject the overwrite request.

4. This command is only available for local execution
(including test play).

An additional feature is the ability to
"open a specified URL in the default browser."

Plugin Command Details
Execute from the "Plugin Command" event command.
(Separate parameters with a space.)

FD_FILE http://~.png test/
- Places the file from the specified URL in test/
FD_MY_FILE ~.json data/
- Places the file from the specified path in data/
FD_PLUGIN http://~.js
- Places the JS file from the specified URL in js/plugins/
FD_MY_PLUGIN ~.js
- Places the JS file from the specified path in js/plugins/
FD_PICTURE http://~.png
- Places the PNG file from the specified URL in img/pictures/
FD_MY_PICTURE ~.png
- Places the PNG file from the specified path in img/pictures/
FD_START_SITE http://~.jp
- Open the specified URL in the default browser

The "My~" command retrieves files under the "Distribution Site URL"
parameter.
This simplifies the URL description.

Additionally, by adding additional parameters, you can turn on a desired
switch upon successful or abnormal processing completion.

In the following example, after processing, [10] is turned on if the
processing completed successfully, and [11] is turned on if the processing
terminated abnormally.

FD_FILE http://~.png test/ 10 11

If omitted, the switch specified in the original plugin parameter will be
turned on.

Terms of Use:
You may modify and redistribute this plugin without permission from the
author, and there are no restrictions on its use (commercial, 18+, etc.).
This plugin is now yours.


@param NormalEndSwitch
@desc The switch ID that will be turned ON when the command completes successfully.
@default 0

@param AbnormalEndSwitch
@desc The switch ID that will be turned ON if the command terminates abnormally.
@default 0

@param ResourceUrl
@desc The resource source URL, which simplifies downloading from a specific source.
@default https://raw.githubusercontent.com/triacontane/RPGMakerMV/master/

スポンサードリンク

-MV plugins

Copyright© PGMV - The Community-Driven Plugin Library for RPG Maker MV , 2026 All Rights Reserved.