can't start server

Discussion in 'Spigot Help' started by I-r0ck, Mar 2, 2020.

  1. I am trying to start a new server on a mac and when I try and run the start.command i get the error "Error: Unable to access jarfile spigot.jar". does anyone know a solution? thanks.
     
  2. That error happens when you've put the wrong name in your script, are you sure your .jar is named spigot.jar?
     
  3. Could be related to the fact that it's on a MAC.
    Try changing the script in the start file to:
    #!/bin/bash
    cd "$(dirname "$0")"
    exec java -Xms1G -Xmx1G -jar spigot.jar nogui

    I am not familiar with MAC Minecraft servers, this is just a solution i found when googling, hopefully it helps :)
     
  4. it is named spigot-1.15-2.jar
     
  5. Well then replace wherever it says spigot.jar in your script with what your spigot jar is actually named.