ComputerCraftFTPd is a mod for Minecraft servers that adds the ability for clients to remotely access their ComputerCraft computers through FTP.
This mod was originally developed for Bukkit (MC 1.2.3) by Doridian (ComputerCraft.info, GitHub). This fork works with Forge for MC 1.4.7.
Please note that this readme is provided "as is" and may contain incorrect and/or incomplete information. If something is not correct, please file an issue explaining what's wrong or missing.
Note: In this section, Eclipse will be used as example.
- Clone or download the source of ComputerCraftFTPd.
- Import the downloaded source into Eclipse.
- Download the source of Minecraft Forge build #497 (or the latest build), extract it somewhere (preferably somewhere near the source) and execute
install.bat
(Windows) orinstall.sh
(Linux). - Compile it once (see below) in order to get all required dependencies.
- Import the Minecraft project of MCP into Eclipse (can be found in
forge/mcp/eclipse/Minecraft
) and rename it to Forge. - Check if the path variable
MCP_LOC
is pointing to the correct directory (forge/mcp
). If you have linked the Minecraft project, this variable should be set to${PROJECT_LOC}/../..
, which means it will look two directories up from the project directory. - Refresh the projects in order to load and detect their contents properly.
Note: Only tested with Forge #497, it is not guaranteed that it works with other builds of Forge.
- Must have followed all steps until step 4 of setting up the build environment (see above).
- Download Apache Ant and install it somewhere where you can easily find it later.
- Inside the
ComputerCraftFTPd
directory, create a file namedbuild.properties
with the following properties:
mcp.home=<relative_path_to_mcp_dir>
(most common:forge/mcp
or../forge/mcp
)version.minecraft=<version>
(Minecraft version, current: 1.4.7)version=<version>
(CCFTPd version, last: 1.0)
- Run
ant build
and let it run for a while. Please note that an active internet connection is required when running this for the first time. As it will download Maven first in order to resolve and download the dependencies. After that, it will automatically compile and obfuscate the code. - If successful, inside the
build
directory, you should see a new .zip file with your version numbers in its name.
ComputerCraftFTPd uses Apache FtpServer from the Apache MINA Project as its backend FTP server. This dependency will be downloaded automatically when compiling.