FtpPlugin – Simple In-Game FTP Server Control
FtpPlugin lets you start and stop a lightweight FTP server for your Minecraft server directly from in-game commands.
No external setup, no separate daemon – just drop the JAR in your /plugins folder and go.
Features
- Start and stop an embedded FTP server from in-game using
/ftp open and /ftp close.
- FTP root is the Minecraft server directory (read + write).
- Port is configurable via
config.yml.
- Only one specific player name is allowed to use the command.
- Single fixed FTP account for login (username + password).
Commands
/ftp open – Starts the embedded FTP server (only for the one allowed player name).
/ftp close – Stops the embedded FTP server.
When /ftp open succeeds, the plugin sends a chat message showing:
- The FTP port currently in use.
- The FTP login username (this is identical to the only in-game name allowed to run the command).
- The FTP password (a fixed secret string embedded in the plugin).
Use those values in your FTP client to connect once the server is running.
Configuration
On first run, a config file is generated:
plugins/FtpPlugin/config.yml
Example:
ftp:
port: 2121
Change port to your desired TCP port, then restart or reload the server.
Permissions
ftp.manage – Required to use /ftp (defaults to OP).
> Even with the permission, the plugin still checks the player’s exact name; only that one name can actually open or close the FTP server.
Usage
- Place the plugin JAR into your server’s
/plugins folder.
- Start the server to generate
config.yml.
- (Optional) Edit the FTP port in
config.yml.
- Restart or reload the server.
- Log in with the allowed in-game name and run
/ftp open.
- Check chat for the FTP username and password, then connect with your FTP client using your server IP and configured port.
- When finished, run
/ftp close to stop the FTP server.
Security Notice
This plugin exposes your entire server folder over plain FTP with a fixed username and password. For safety:
- Do not expose the FTP port directly to the public internet unless you know what you’re doing.
- Prefer a firewall, VPN, or SSH tunnel so only you can connect.
- Treat the credentials shown in chat after
/ftp open as highly sensitive.