Here you can find the source of getRoot()
public static File getRoot()
//package com.java2s; //License from project: Open Source License import java.io.File; public class Main { /**//from w w w . j av a 2s. com * Returns the root location of the CraftBukkit server. * * @return The current working directory. */ public static File getRoot() { return new File("."); } }