mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-03-15 06:19:44 +01:00
28 lines
777 B
Java
28 lines
777 B
Java
![]() |
package com.gmail.nossr50.config;
|
||
|
|
||
|
import com.gmail.nossr50.mcMMO;
|
||
|
|
||
|
import java.io.File;
|
||
|
|
||
|
/**
|
||
|
* Constants relating to config folders and paths
|
||
|
*/
|
||
|
public class ConfigConstants {
|
||
|
/* FOLDER NAMES */
|
||
|
public static final String FOLDER_NAME_CONFIG = "config";
|
||
|
public static final String FOLDER_NAME_SKILLS = "skills";
|
||
|
|
||
|
/* RELATIVE PATHS */
|
||
|
public final static String RELATIVE_PATH_CONFIG_DIR = File.separator + FOLDER_NAME_CONFIG;
|
||
|
public final static String RELATIVE_PATH_SKILLS_DIR = RELATIVE_PATH_CONFIG_DIR + File.separator + FOLDER_NAME_SKILLS;
|
||
|
|
||
|
/**
|
||
|
* Return the data folder for mcMMO
|
||
|
* @return the File for the data folder used by mcMMO
|
||
|
*/
|
||
|
public static File getDataFolder()
|
||
|
{
|
||
|
return mcMMO.p.getDataFolder();
|
||
|
}
|
||
|
}
|