mirror of
https://github.com/Anvilcraft/modpacktools
synced 2024-11-17 23:41:55 +01:00
Added some commands in Commands.java
This commit is contained in:
parent
ba5e81267e
commit
d9527a74be
1 changed files with 87 additions and 0 deletions
87
src/main/java/ley/anvil/modpacktools/Commands.java
Normal file
87
src/main/java/ley/anvil/modpacktools/Commands.java
Normal file
|
@ -0,0 +1,87 @@
|
|||
package ley.anvil.modpacktools;
|
||||
|
||||
public class Commands {
|
||||
|
||||
/**
|
||||
* Prints out all available commands
|
||||
*/
|
||||
public static void help() {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a modpack dev environment in the current folder
|
||||
*/
|
||||
public static void init() {
|
||||
|
||||
}
|
||||
|
||||
//Commands for modpack devs (only available in a modpack dev environment)
|
||||
|
||||
/**
|
||||
* Adds a mod to the modpack
|
||||
* @param modlink Can be a link to a curseforge file or to a file download
|
||||
*/
|
||||
public static void addMod(String modlink) {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Builds the modpack as a Twitch modpack zip
|
||||
*/
|
||||
public static void buildTwitch() {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Builds the modpack as a modpack.json
|
||||
*/
|
||||
public static void buildModpackJSON() {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Builds the modpack as a raw zip file (for example for the Technic Launcher)
|
||||
*/
|
||||
public static void buildRaw() {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Builds the modpack as a server
|
||||
* @param dir The directory where to create the server
|
||||
*/
|
||||
public static void buildServer(String dir) {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Downloads all mods in this pack
|
||||
* @param dir The mods directory
|
||||
*/
|
||||
public static void downloadMods(String dir) {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a modlist of this pack
|
||||
* @param format Can be html or csv
|
||||
*/
|
||||
public static void createModlist(String format) {
|
||||
|
||||
}
|
||||
|
||||
//Commands for users (available outside a modpack dev environment)
|
||||
|
||||
/**
|
||||
* Creates a server from a modpack zip file
|
||||
* @param modpackZip The path to the zip file
|
||||
* @param dir The directory where to create the server
|
||||
*/
|
||||
public static void makeServer(String modpackZip, String dir) {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
Loading…
Reference in a new issue