Skip to content
This repository was archived by the owner on Jul 1, 2026. It is now read-only.

katorlys/Minecraft-Server-Start

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This repository is no longer maintained. Use https://katorlys.github.io/mcflags instead.

Minecraft-Server-Start

License Pull Requests Issues

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.

About

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

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

3 stars

Watchers

2 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Generated from katorlys-samples/Template