Solved Get Main Folder Path

Discussion in 'Spigot Plugin Development' started by TheNoim, Aug 5, 2015.

  1. Hello Guys,
    i want to get the Main Folder Path, but i don't know how i can get this. I mean this:
    [​IMG]
    Best regards TheNoim
     
  2. Usually new File( "" ) will work.
     
  3. You can change where the world container is with startup args.

    New file will get the server root, where server.properties is ... Just depends on waht you want ec.t
     
  4. Now i use new File("") and it works. Thank you to all.
     
  5. Funny != Rude
     
    • Like Like x 1
  6. Dunno where you gathered that from, but funny = funny. You may find the odd users who use ratings incorrectly