Skip to content

katorlys/Minecraft-Server-Start

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Minecraft-Server-Start

License Pull Requests Issues Lines

Introduction

This is a premade batch file script that enables you to start your Minecraft Server.
It contains the follwing features:

  • Customize title
  • Customize start & close messages
  • Restart without closing the console

And it contains to types:

  1. Auto restart
  2. Press any key to restart

Compatibility

✔ Java 10+
✔ Windows

Usage

Put your server core (.jar file) and the batch script into a same folder and double click the batch script.

Parameters

title A Minecraft Server

Your script title.

color f
echo A message

Send a colored message to the console.

Java -XX:+AlwaysPreTouch -XX:+DisableExplicitGC -XX:+UseG1GC -XX:+UnlockExperimentalVMOptions -XX:MaxGCPauseMillis=45 -XX:TargetSurvivorRatio=90 -XX:G1NewSizePercent=50 -XX:G1MaxNewSizePercent=80 -XX:InitiatingHeapOccupancyPercent=10 -XX:G1MixedGCLiveThresholdPercent=50 -Dfml.queryResult=confirm -Xmx1G -Xms1G -jar server-core.jar --nojline nogui

-Xmx1G: You can customize the storage allocation by changing the number "1".
-Xms1G: You can customize the storage allocation by changing the number "1".
server-core.jar: Your server core file name. Must put the server core and this batch file into the same folder.
--nojline nogui: Remove this code if you want to use the default GUI.

ProTip! You can get more flags in flags.sh.

About

A batch file script that enables you to start your Minecraft Server.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published