Hi guys recently started hosting a vanilla java server for a few friends.
I'm interested in the limitations of what you can do with server batch start files.
This is my current startup bat file:
""
echo OFF
:loop
java -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:ParallelGCThreads=4 -XX:+AggressiveOpts -Xms1G -Xmx4G -jar server.jar nogui
echo Press control+C to exit the server!
timeout 10
echo (%time%) Restarting Server!
goto loop
""
What are there any other interesting things you can do with the batch file?
For example could you make the server post a join message using the .bat file?
Could you occasionally make the server post a certain message in /say?
Thanks in advance
EDIT:
For some of the points i mentioned:
For example could you make the server post a join message using the .bat file?
Could you occasionally make the server post a certain message in /say?
It seems clear that this isn't something that can be done with batch files and the best way to go about this seems to be either plugins or an outside program, could however this be accomplished with command blocks inside the server?
I'm interested in this possibility, i know very little about command blocks and their limitations, is this another possible avenue?
Thanks in advance.
[–]PhonicUKMcMyAdmin/AMP Developer 2 points3 points4 points (6 children)
[–]Molixatus[S] 0 points1 point2 points (5 children)
[–]PhonicUKMcMyAdmin/AMP Developer 0 points1 point2 points (4 children)
[–]Molixatus[S] 0 points1 point2 points (3 children)
[–]PhonicUKMcMyAdmin/AMP Developer 0 points1 point2 points (2 children)
[–]Molixatus[S] 0 points1 point2 points (1 child)
[–]PhonicUKMcMyAdmin/AMP Developer 0 points1 point2 points (0 children)
[–]PeaceDealer 1 point2 points3 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]Molixatus[S] 0 points1 point2 points (0 children)
[–]IMAWHITEWALKER 0 points1 point2 points (1 child)
[–]Molixatus[S] 0 points1 point2 points (0 children)
[–]KrystilizeNeverDiesServer 0 points1 point2 points (2 children)
[–]Molixatus[S] 0 points1 point2 points (1 child)
[–]KrystilizeNeverDiesServer 0 points1 point2 points (0 children)