I have recently created a new server (Spigot), but have the problem that the server console is not displayed.
Describe how you created it, how did you go about it?
So I have a Jar file down and then created a txt file
where it says: #! / bin / bash
cd "$ (dirname" $ 0 ")"
exec java -Xmx2G -Xms2G -jar spigot-1.8-R0.1-SNAPSHOT-latest.jar
After that, I opened Terminal and entered that: chmod a + x
and then I inserted the Start.command file by drag and drop and pressed Enter. After that I accepted the Eula. And then have a few
Created files.
I assume the jar file is in the same folder as the command file? What then cd?
I do not know much about Mac, but should not that be enough?:
java -Xmx2G -Xms2G -jar spigot-1.8-R0.1-SNAPSHOT-latest.jar
No This brings up this window
Last login: Tue Apr 2 06:43:56 on ttys000
You have new mail.
Admins MBP: ~ ****** $ / Users / ***** / Server \ 1.8 / start.command; exit;
Error: Unable to access jar spigot-1.8-R0.1-SNAPSHOT-latest.jar
logout
Saving session…
… Copying shared history…
… Saving history… Truncating history files…
… Completed.
[Process finished]
I replaced my name with **** if you wonder
It says: error: unable to access jar file
Which means, like: the jar file is not found under the given path…
If the console does not stay open, the server crashes…
Write down what the log file says… (the one that the console is listening to) …
Please use 1.8.8 or 1.8.9 instead of 1.8.0
And get the file legally, via the Spigotmc Build Tools, getbukkit.org has outdated and maybe even compromised versions. (the name of the file points to this page) or alternatively use paper and download the paperclip.jar from papermc.io (supports spigot plugins)
https://papermc.io/downloads
Then you probably have no access to the file…
Please have a look at a video and see that in the start script you have named the name exactly as spigot.jar!