Sueta

SimpleFTPSync

1.1

A plugin for folder synchronization with FTP or SFTP

·Plugin

SimpleFTPSync Plugin

Overview
SimpleFTPSync is a Bukkit/Spigot plugin designed for easy and flexible synchronization of folders using either FTP, SFTP or FTPS protocols. This plugin allows you to synchronize specific folders on your server with remote servers, providing a convenient way to manage and update content.

USAGE
Installation

  1. Download the latest release JAR
  2. Place the downloaded JAR file in the plugins folder of your Bukkit/Spigot server.
  3. Start or restart your server.

Configuration

  1. Navigate to the plugins folder and find the SimpleFTPSync folder.
  2. Open the config.yml file to configure synchronization settings.

Configuration Options

  • sync-interval: Synchronization interval in seconds.
  • local-path: Path to the local folder you want to synchronize.
  • sync-type: Synchronization type (FTP, SFTP or FTPS).

FTP Server Configuration

ftp:
  server: "ftp.example.com"
  port: 21
  username: "your-ftp-username"
  password: "your-ftp-password"
  remote-path: "/path/on/ftp/server"

SFTP Server Configuration

sftp:
  server: "sftp.example.com"
  port: 22
  username: "your-sftp-username"
  password: "your-sftp-password"
  remote-path: "/path/on/sftp/server"

FTPS Server Configuration

ftps:
  server: "ftps.example.com"
  port: 21
  username: "your-ftps-username"
  password: "your-ftps-password"
  remote-path: "/path/on/ftps/server"

List of Folders to Synchronize

sync-folders:
  - local-path: "plugins/YourPluginName/folder1"
   remote-path: "/remote/folder1"
  - local-path: "world"
   remote-path: "/remote/folder2"
   # Add more folders as needed

Commands

  • /sfs reload: Reloads the configuration. (Permission: syncfolder.reload)

Issues
If you encounter any issues or have suggestions, please create a new issue.

Bugs

  • If you receive the following message in your console, use FTPS instead of SFTP
    com.jcraft.jsch.JSchException: Algorithm negotiation fail
    Problem Description

Credits
Author: CptGummiball (treeman1992)

License
This plugin is licensed under the MIT License - see the LICENSE file for details.

Similar projects

Plugin →