Minecraft Mods

[Program] ServerLauncher++

  • 2,838 views, 1 today
  • 224 downloads, 0 today
  • 4
  • 2
  • 8
RainBawZ's Avatar RainBawZ
Level 12 : Journeyman Pony
6
Current version: 1.4.4-163

Created by RainBawZ aka. Kasper Johan Haugen Barstad

This server launcher is compatible with .exe and .jar vanilla Minecraft servers.
CraftBukkit is also supported.

Experimental Java 8 support is included.

This program is for Windows only.

INSTALLATION AND USE

1) Extract the .zip archive into a folder of your choice. The files for the server will be created in this folder.
NOTE: The root folder name must not contain any "(" and/or ")"! This will cause the program to crash, displaying "\ not expected" for a split-second. (I am working on fixing this, but it might take some time)

2) Open the config file "launcherConfig.inf" and set the path and executeable name. "ServerPath" and "ServerFile".

3) Save the file and run the launcher. "ServerLauncher.bat"

All settings are explained further down.

The program should handle any misconfiguration and alert the user.


HOW DOES IT WORK?

ServerLauncher++ uses the same method as in normal start .bat files for other Minecraft servers. However this one is more advanced, but easy to use at the same time.
The program reads a configuration file for data to use when starting the Java process for the server. This includes RAM settings, server GUI settings, 64/32 bit settings, and other settings.
The program should handle any misconfiguration and return an error message.

ServerLauncher++ uses the WMIC Windows function to gather RAM and architecture information to prevent the user from setting invalid data which may cause RAM issues.
An auto-updater is also included, which uses the BITS Windows service to download required files while only consuming a very tiny fraction of the current bandwith.

A configuration editor with GUI will be added further on as the work progresses.


LAUNCHER SETTINGS EXPLANATIONS

ServerPath - The path to where the server executeable is.

ServerFile - The name of the server executeable.

DebugMode - Enables/disables debugging messages, useful for troubleshooting errors. 0 is FALSE, 1 is TRUE

AutoUpdate - Enables/disables checking for automatic updates. Even when enabled you have to agree to download the newest version. 0 is FALSE, 1 is TRUE

DownloadServer - Toggles between servers to use when checking for updates.

gRAM - Launches the server in X gigabytes of RAM

mRAM -  Launcher the server in X megabytes of RAM

RAMmode - Choose which mode you want to launch in (toggles between gRAM and mRAM).

mxmsRAM - mxmsRAM sets the minimum heap size for launching in megabytes. Recommended minimum heap size is 1GB (1024MB) below the mRAM value.

gxmsRAM
- gxmsRAM sets the minimum heap size for launching in gigabytes. Recommended minimum heap size is 1GB (1024MB) below the gRAM value.

useGUI - Enables/disables the server GUI. 1 is TRUE, 0 is FALSE.

maxPermSize - Sets the max perm gen size for Java. The value is measured in megabytes. The program will not accept the value if it is below 128 megabytes.

JavaMode - Toggles between Java 7 and 8 modes.

64bit - Launches in 64-bit. Program returns an error if your system does not support 64-bit applications. Please note that the launcher won't accept gRAM or mRAM sizes above 4 gigabytes (4096 megabytes).



CREDITS

Written by 'RainBawZ' aka. Kasper Johan Haugen Barstad
Update service hosted by 'MR_Wazzap11' aka. Jonah St-François and 'Dino'

Special thanks goes to:
'Razor2.3' and 'nBrane' at Computing.net for code help
'Zyxaxe' and 'agustrusher' for testing stability and user-friendliness
Progress100% complete
Game VersionMinecraft 1.8.1
Tags

9 Update Logs

Update #9 1.4.4 (163) : by RainBawZ 02/04/2015 1:01:42 pmFeb 4th, 2015

- Added error sounds. Four beeps can be heard as an error occurs. (The beeps are also known as a BEL, can be played by entering ALT+7 or CTRL+G in CMD)
- Added secondary update server. You can toggle between the two servers from the config file.
- Removed UNIX line endings from all scripts and text-files. This was not limiting or affecting the functionality of the program, but caused the line spacing to break for users that use MS Notepad.
- Fixed bug that caused the launcher to fail in mRAM modes. Would detect too low RAM amount, even when an adequate amount of RAM are available.
- Improved RAM checking. It now also alerts the user if the RAM allocation target is more than the currently available amount of RAM.
- Added experimental Java 8 support (and by experimental, I mean EXPERIMENTAL). It is pretty buggy so I don't recommend using it just yet.
- Removed automatic EULA agreeing function. Replaced with an error message prompting the user to agree.

(Patch 1.4.4-141)
- Fixed a bug which caused the auto updater to fail, displaying "The system could not find...".

(Patch 1.4.4-148)
- Fixed a bug which caused the data in config backups to be combined with new data. The old backup files are now deleted prior to generating new ones.
- Added some more info to a setting description in LauncherConfig.

(Patch 1.4.4-163)
- Added argument support in updater and launcher. They now communicate together better, allowing direct updating without any menus.
LOAD MORE LOGS

Create an account or sign in to comment.

1
02/17/2015 2:23 pm
Level 1 : New Miner
Revolution14
Revolution14's Avatar
So does this create a server everyone can play on?
1
02/17/2015 5:20 pm
Level 12 : Journeyman Pony
RainBawZ
RainBawZ's Avatar
This launches a normal minecraft server (With different settings based on what you choose in the configuration file). You'd still have to do the port forwarding and network setup in order to make it an online one.
1
02/13/2015 5:55 pm
Level 1 : New Miner
-Endermann80-
-Endermann80-'s Avatar
When I try to launch it, it says that I don't have Java 7 installed. I tried reinstalling Java, and that didn't help. I believe this is a bug.
1
02/14/2015 12:10 am
Level 12 : Journeyman Pony
RainBawZ
RainBawZ's Avatar
If you reinstalled directly from Java's website, you are using Java 8, as Java 7 is more or less replaced by Java 8.
Take a look inside the launcherConfig.inf file (found in the folder called "launcher") Change the JavaMode value to 8 and see if there's any difference. If not, I'll look into it.
1
02/14/2015 8:27 am
Level 1 : New Miner
-Endermann80-
-Endermann80-'s Avatar
Thank you!
1
02/14/2015 11:17 am
Level 12 : Journeyman Pony
RainBawZ
RainBawZ's Avatar
You're welcome ;)
1
02/02/2015 8:55 pm
Level 1 : New Miner
puppy0cam
puppy0cam's Avatar
an option to choose your java directory please?
1
02/03/2015 12:02 pm
Level 12 : Journeyman Pony
RainBawZ
RainBawZ's Avatar
By Java, do you mean the server .jar / .exe file or Java itself?

Java itself shouldn't need a specified path in order to work in this launcher. At least it didn't during testing. If this is the issue you are having, you should send me an email, then we'll look into it. (rainbawz@derpymail.org)

The server executable directory can be set by entering its path into the config.
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome