This project is a Java-based server-side plugin-based modification A.P.I. for Minecraft. Using Mojang's minecraft_server.jar as a resource, it can work like a Minecraft server while allowing user-programmed Java plugins to handle events that occur during the gameplay in order to modify the mechanics of Minecraft. This can be used to do small tasks like preventing the spawning of baby zombies or large, complex tasks such as creating minigames servers like MinePlex, The Shotbow Network, or HyPixel's server.
NOTE: This product is not finished!
NOTE: There is no normal download yet!
-
If your Java version is less than 7, install your favorite Java 7+ Virtual Machine.
-
Download the Corundum launcher .jar. NOTE: There is not currently a Corundum launcher download!
-
Run the Corundum launcher .jar with your Java 7+ Virtual Machine.
The Corundum launcher will help you from there!
You can either use the installer under the Corundum installer directory here, OR follow these steps.
- Download MCP v9.08.
- Download the minecraft_server.jar for Minecraft 1.8.1 from Minecraft's official website.
- Download the source code from this repository (at least both Corundum and the Corundum Hub).
- Put the minecraft_server.jar in MCP's "jar" folder and run MCP's decompile script (decompile.bat for Windows, decompile.sh for *nix-based systems, including Mac).
- Compile Corundum and the Corundum Hub with your favorite Java 7 compiler. If you had to combine the source files for Corundum and Hub to achieve this, separate them again into two separate folders.
- The Corundum Hub can be compiled as an average Java program.
- Corundum, however, requires three things to be in its compilation envorionment:
- the Corundum Hub (source code or compiled JAR)
- the Minecraft code deobfuscated by M.C.P. (just the net.minecraft package and its subpackages), and
- the official minecraft_server.jar itself with the "net" folder removed from the archive.
NOTE: If this is your first time using MCP, you may have to decompile, recompile, and reobfuscate both the client and server normally before attempting the following steps. If you don't, M.C.P. may throw weird errors, often concerning a client.log or something similar. 6. Copy the Corundum bytecode (.class files from the "org" folder) into MCP's "bin/minecraft_server" folder. 7. Run MCP's reobfuscate script (in the MCP folder, ending in ".bat" for Windows machines or ending in ".sh" for Unix-based systems, including Mac). 8. Package the "org" folder in MCP's "reobf" folder into a new jar called "Corundum.jar". Make sure that inside the jar, the top-level directory is "org".
- Package the "org" folder in MCP's "reobf" folder into a new jar called "Corundum.jar". Make sure that inside the jar, the top-level directory is "org".
- Add a META_INF folder with a MANIFEST.MF file to the Corundum Hub.jar and designate "org.corundummc.hub.CorundumHub" as the main class.
- Place the Corundum.jar, Corundum Hub.jar, and minecraft_server.jar in the same directory.
- Run the Corundum Hub.jar with a Java 7 Virtual Machine. (Running with a Java 8 Virtual Machine may cause errors.)
Sorry it's so complicated.