Plugin cannot find File

Discussion in 'Spigot Plugin Development' started by AgentLV, Feb 21, 2015.

  1. You can use a File as a scanner input. Im not sure what backwards methods you are invoking but there really is no need.
    Code (Text):
    new Scanner (new File ("."+File.seperator+"befehle.txt"));
    Assuming the file is at the top level in your jar.