minor 1.7.0 changes. almost ready!

This commit is contained in:
Morlok8k 2012-08-01 02:29:41 -07:00
parent 3b59258a6e
commit d50178faeb
2 changed files with 205 additions and 171 deletions

View File

@ -5,6 +5,7 @@ import java.io.File;
import java.io.FileNotFoundException; import java.io.FileNotFoundException;
import java.io.FileReader; import java.io.FileReader;
import java.io.IOException; import java.io.IOException;
import java.net.URI;
import java.security.NoSuchAlgorithmException; import java.security.NoSuchAlgorithmException;
import java.text.DateFormat; import java.text.DateFormat;
import java.text.SimpleDateFormat; import java.text.SimpleDateFormat;
@ -36,7 +37,7 @@ import morlok8k.minecraft.landgenerator.MLG_input_CLI;
*/ */
public class Main { public class Main {
// //java.awt.Desktop.getDesktop().browse(splashPage);
// //
// Public Vars: // Public Vars:
public static boolean testing = false; // display more output when debugging public static boolean testing = false; // display more output when debugging
@ -138,6 +139,7 @@ public class Main {
private static Boolean recheckFlag = false; private static Boolean recheckFlag = false;
private static long startTime = 0L; private static long startTime = 0L;
private static boolean webLaunch = true; // Launch website after generation.
private static boolean assertsEnabled = false; //debugging use... use java -ea -jar MinecraftlandGenerator.jar... private static boolean assertsEnabled = false; //debugging use... use java -ea -jar MinecraftlandGenerator.jar...
@ -781,6 +783,31 @@ public class Main {
out("Generation complete in: " out("Generation complete in: "
+ MLG_Time.displayTime(startTime, System.currentTimeMillis())); + MLG_Time.displayTime(startTime, System.currentTimeMillis()));
MLG_Time.waitTenSec(false); MLG_Time.waitTenSec(false);
//TODO: add if's
if (webLaunch) { //if webLaunch is already false, don't check for these things
if (java.awt.GraphicsEnvironment.isHeadless()) {
webLaunch = false; //headless enviroment - cant bring up webpage!
}
File web1 = new File("web");
File web2 = new File("web.txt"); //user has put in the magical file to not launch the webpage
File web3 = new File("web.txt.txt");
if (web2.exists() || (web1.exists() || web3.exists())) { //check for "web.txt", if not found, check for "web", and if still not found, check for "web.txt.txt"
webLaunch = false;
}
}
if (webLaunch && java.awt.Desktop.isDesktopSupported()) {
URI splashPage =
URI.create("https://sites.google.com/site/minecraftlandgenerator/home/mlg_splash");
try {
java.awt.Desktop.getDesktop().browse(splashPage);
} catch (IOException e) {
err("Error displaying webpage... " + e.getLocalizedMessage());
}
}
} catch (IOException ex) { } catch (IOException ex) {
Logger.getLogger(Main.class.getName()).log(Level.SEVERE, ex.getMessage(), ex); Logger.getLogger(Main.class.getName()).log(Level.SEVERE, ex.getMessage(), ex);
} }

View File

@ -27,181 +27,188 @@ public class MLG_Readme_and_HelpInfo {
String VERSION = Main.VERSION; String VERSION = Main.VERSION;
String showHelpSTR = ""; String showHelpSTR = "";
String ReadMeText = "";
String VersionInfo = "";
//@formatter:off
ReadMeText = PROG_NAME + " version " + VERSION + newLine
+ newLine
+ "Updated " + MLG_Last_Modified_MDY + newLine
+ "(BuildID: " + Main.MLG_Last_Modified_Date.getTime() + ")" + newLine
+ newLine
+ "Original Code by Corrodias November 2010" + newLine
+ "Enhanced Code by Morlok8k Feb. 2011 to Now (or at least to " + MLG_Last_Modified_MDY + "!)" + newLine
+ "Additional Code by pr0f1x October 2011" + newLine
+ newLine
+ "Website: https://sites.google.com/site/minecraftlandgenerator/" + newLine
+ "Forum: http://www.minecraftforum.net/topic/187737-minecraft-land-generator/" + newLine
+ "Source: https://github.com/Morlok8k/MinecraftLandGenerator" + newLine
+ newLine
+ "-----------------------------------------------" + newLine
+ newLine
+ "This program lets you generate an area of land with your Minecraft Beta SMP server (and is prossibly future-proof for newer versions). You set up your java command line and minecraft server paths in the MinecraftLandGenerator.conf file, set up the server's server.properties file with the name of the world you wish to use, and then run this program." + newLine
+ "When a Minecraft server is launched, it automatically generates chunks within a square area of 25x25 chunks (400x400 blocks), centered on the current spawn point (formally 20x20 chunks, 320x320 blocks). When provided X and Z ranges as arguments, this program will launch the server repeatedly, editing the level.dat file between sessions, to generate large amounts of land without players having to explore them. The generated land will have about the X and Z ranges as requested by the arguments, though it will not be exact due to the spawn point typically not on the border of a chunk. (Because of this, MLG by default adds a slight overlap with each pass - 380x380 blocks) You can use the -x and -z switches to override the spawn offset and center the land generation on a different point." + newLine
+ "The program makes a backup of level.dat as level_backup.dat before editing, and restores the backup at the end. In the event that a level_backup.dat file already exists, the program will refuse to proceed, leaving the user to determine why the level_backup.dat file exists and whether they would rather restore it or delete it, which must be done manually." + newLine
+ newLine
+ "This program is public domain, and the source code is included in the .jar file. (If accidently missing, like in 1.3.0 and 1.4.0, it is always available at Github.)" + newLine
+ "The JNLP library is included (inside the .jar). It is not public domain. Its license is included, as LICENSE.TXT." + newLine
+ "It is also available at: http://jnbt.sourceforge.net/" + newLine
+ newLine
+ "The \"unescape\" method/function is also not Public Domain. Its License is the W3C\u00A9 Software License, and located here: http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231"
+ newLine
+ "Other Public Domain code has been used in this program, and references to sources are included in the comments of " + PROG_NAME + "'s source code."
+ newLine
+ "-----------------------------------------------" + newLine
+ newLine;
//@formatter:on
showHelpSTR = showHelp(false); //stored as a string for easier manipulation in the future showHelpSTR = showHelp(false); //stored as a string for easier manipulation in the future
//@formatter:off //@formatter:off
String ReadMeText = ""; VersionInfo = newLine
ReadMeText = PROG_NAME + " version " + VERSION + newLine + "-----------------------------------------------" + newLine
+ newLine + newLine
+ "Updated " + MLG_Last_Modified_MDY + newLine + "Version History:" + newLine
+ "(BuildID: " + Main.MLG_Last_Modified_Date.getTime() + ")" + newLine + "Morlok8k:" + newLine
+ newLine + "1.7.0" + newLine
+ "Original Code by Corrodias November 2010" + newLine + "- Major Code Optimization" + newLine
+ "Enhanced Code by Morlok8k Feb. 2011 to Now (or at least to " + MLG_Last_Modified_MDY + "!)" + newLine + "- Drastically reduced the amount of time it takes for MLG to expand a world after it has already done so before!" + newLine
+ "Additional Code by pr0f1x October 2011" + newLine + " (To do this, I needed to rewrite the Main loop of the program, and add my own Coordinate object)" + newLine
+ newLine + "- Added Resume Functionality" + newLine
+ "Website: https://sites.google.com/site/minecraftlandgenerator/" + newLine + "- Updated Time Output yet again." + newLine
+ "Forum: http://www.minecraftforum.net/topic/187737-minecraft-land-generator/" + newLine + "- Misc. Tweaks." + newLine
+ "Source: https://github.com/Morlok8k/MinecraftLandGenerator" + newLine + "- Misc. Additions" + newLine
+ newLine + "1.6.3" + newLine
+ "-----------------------------------------------" + newLine + "- Minor Code Optimization" + newLine
+ newLine + "- Finely got on the ball and added the JNBT source and everything (as an internal .zip) to be completely faithful to his license" + newLine
+ "This program lets you generate an area of land with your Minecraft Beta SMP server (and is prossibly future-proof for newer versions). You set up your java command line and minecraft server paths in the MinecraftLandGenerator.conf file, set up the server's server.properties file with the name of the world you wish to use, and then run this program." + newLine + "- Also adding script files internally in the .jar for archive (or offline) purposes. (Manual Extract needed for use)" + newLine
+ "When a Minecraft server is launched, it automatically generates chunks within a square area of 25x25 chunks (400x400 blocks), centered on the current spawn point (formally 20x20 chunks, 320x320 blocks). When provided X and Z ranges as arguments, this program will launch the server repeatedly, editing the level.dat file between sessions, to generate large amounts of land without players having to explore them. The generated land will have about the X and Z ranges as requested by the arguments, though it will not be exact due to the spawn point typically not on the border of a chunk. (Because of this, MLG by default adds a slight overlap with each pass - 380x380 blocks) You can use the -x and -z switches to override the spawn offset and center the land generation on a different point." + newLine + "- Modified output of MLG slightly to show whats the server and whats MLG. (I may do more with this later.)" + newLine
+ "The program makes a backup of level.dat as level_backup.dat before editing, and restores the backup at the end. In the event that a level_backup.dat file already exists, the program will refuse to proceed, leaving the user to determine why the level_backup.dat file exists and whether they would rather restore it or delete it, which must be done manually." + newLine + "1.6.2" + newLine
+ newLine + "- Major Code Optimization" + newLine
+ "This program is public domain, and the source code is included in the .jar file. (If accidently missing, like in 1.3.0 and 1.4.0, it is always available at Github.)" + newLine + "- Updated Time Output again. Now says \"1 Minute\" instead of \"1 Minutes\"." + newLine
+ "The JNLP library is included (inside the .jar). It is not public domain. Its license is included, as LICENSE.TXT." + newLine + "- Updated Location Code - the center of the square is now truely centered, and it trys to get as close to the given size as possible." + newLine
+ "It is also available at: http://jnbt.sourceforge.net/" + newLine + "- Added \"-nowait\" and its shorter version \"-n\"" + newLine
+ newLine + "- Added currently non-functional RCON code. Will try to make functional in the future." + newLine
+ "The \"unescape\" method/function is also not Public Domain. Its License is the W3C\u00A9 Software License, and located here: http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231" + newLine
+ newLine + "1.6.11" + newLine
+ "Other Public Domain code has been used in this program, and references to sources are included in the comments of " + PROG_NAME + "'s source code." + "- Removed End-of-Generation ASCII-Graphic - It didn't really fit with MLG." + newLine
+ newLine + "- Updated Time Output." + newLine
+ "-----------------------------------------------" + newLine + "- Changed estimated time remaining to count all runs, not just the last four." + newLine
+ newLine + "- Added the time it took to complete at the end of generation." + newLine
+ "Version History:" + newLine + newLine
+ "Morlok8k:" + newLine + "1.6.1" + newLine
+ "1.7.0" + newLine + "- Added some modifications for scripting (Mainly for a new Initial setup script)" + newLine
+ "- Major Code Optimization" + newLine + "- Changed MLG's Y to Z. Now it matches Minecraft. Y in the game is Height." + newLine
+ "- Drastically reduced the amount of time it takes for MLG to expand a world after it has already done so before!" + newLine + "- Renamed -y switch to -z. MLG will remain backwards compatible if you use the old -y switch." + newLine
+ "- (To do this, I needed to rewrite the Main loop of the program, and add my own Coordinate object)" + newLine + "- Updated -printspawn to show X,Y,Z" + newLine
+ "- Updated Time Output yet again." + newLine + "- Added End-of-Generation ASCII-Graphic" + newLine
+ "- Misc. Tweaks." + newLine + "- Slightly altered some text output" + newLine
+ "1.6.3" + newLine + newLine
+ "- Minor Code Optimization" + newLine + "1.6.05" + newLine
+ "- Finely got on the ball and added the JNBT source and everything (as an internal .zip) to be completely faithful to his license" + newLine + "- MLG displays if the server is converting the Map format, when not in verbose mode. (McRegion -> Anvil, or Chunk-File -> McRegion)" + newLine
+ "- Also adding script files internally in the .jar for archive (or offline) purposes. (Manual Extract needed for use)" + newLine + "- Minor fixes/edits/typos" + newLine
+ "- Modified output of MLG slightly to show whats the server and whats MLG. (I may do more with this later.)" + newLine + "- Added link to new MLG website to readme file"
+ "1.6.2" + newLine + newLine
+ "- Major Code Optimization" + newLine + "1.6.03" + newLine
+ "- Updated Time Output again. Now says \"1 Minute\" instead of \"1 Minutes\"." + newLine + "- added decoding of escape characters of URL's (so a space is a \" \" and not \"%20\")" + newLine
+ "- Updated Location Code - the center of the square is now truely centered, and it trys to get as close to the given size as possible." + newLine + "- added \"-downloadlist [list]\" where [list] is a text file with URL's on each line" + newLine
+ "- Added \"-nowait\" and its shorter version \"-n\"" + newLine + newLine
+ "- Added currently non-functional RCON code. Will try to make functional in the future." + newLine + "1.6.02" + newLine
+ newLine + "- small fix on caculating md5sum where old version didnt pad out to 32chars with zeros on the left side"
+ "1.6.11" + newLine + "- quick Archive intergity fix after injecting source code into .jar after it compiled."
+ "- Removed End-of-Generation ASCII-Graphic - It didn't really fit with MLG." + newLine + "- no new functionality, md5 issue doesnt affect -update on old versions."
+ "- Updated Time Output." + newLine + newLine
+ "- Changed estimated time remaining to count all runs, not just the last four." + newLine + "1.6.0" + newLine
+ "- Added the time it took to complete at the end of generation." + newLine + "- NOW DOES NOT NEED ANY SCRIPT FILES!" + newLine
+ newLine + "- Added the ability to download files from the internet" + newLine
+ "1.6.1" + newLine + "- Added a switch to download any file off the internet, if needed (useless for most people, but included it in case I wanted it in the future.)" + newLine
+ "- Added some modifications for scripting (Mainly for a new Initial setup script)" + newLine + "- Added the ability to check what version the .jar is. (Using MD5 hashes, timestamps, and the BuildID file)" + newLine
+ "- Changed MLG's Y to Z. Now it matches Minecraft. Y in the game is Height." + newLine + "- Added \"-update\" to download new versions of MLG directly from github." + newLine
+ "- Renamed -y switch to -z. MLG will remain backwards compatible if you use the old -y switch." + newLine + "- Updated estimated time. Now shows up on loop 2+ instead of loop 4+." + newLine
+ "- Updated -printspawn to show X,Y,Z" + newLine + "- Standard % output of the Server should look nicer now." + newLine
+ "- Added End-of-Generation ASCII-Graphic" + newLine + "- Code Refactoring" + newLine
+ "- Slightly altered some text output" + newLine + "- Code Formatting" + newLine
+ newLine + "- Code Optimization" + newLine
+ "1.6.05" + newLine + "- Duplicate sections of code have been turned into Methods/\"Functions\"" + newLine
+ "- MLG displays if the server is converting the Map format, when not in verbose mode. (McRegion -> Anvil, or Chunk-File -> McRegion)" + newLine + newLine
+ "- Minor fixes/edits/typos" + newLine + "1.5.1" + newLine
+ "- Added link to new MLG website to readme file" + "- pr0f1x: Added the \"save-all\" command to be sent to the server before shutting it down." + newLine
+ newLine + "- pr0f1x: Added a 40 second wait before shutting down." + newLine
+ "1.6.03" + newLine + "- Morlok8k: Made 40 second wait optional." + newLine
+ "- added decoding of escape characters of URL's (so a space is a \" \" and not \"%20\")" + newLine + "- Morlok8k: Changed the Dimensions code. (I had assumed it would be DIM-1, DIM-2, etc. but it turned out to be DIM-1 and DIM1. Change reflects Server output of \"Level n\")" + newLine
+ "- added \"-downloadlist [list]\" where [list] is a text file with URL's on each line" + newLine + "- Morlok8k: Config file is automatically updated to reflect these changes." + newLine
+ newLine + "- Morlok8k: Cleaned up code." + newLine
+ "1.6.02" + newLine + newLine
+ "- small fix on caculating md5sum where old version didnt pad out to 32chars with zeros on the left side" + "1.5.0" + newLine
+ "- quick Archive intergity fix after injecting source code into .jar after it compiled." + "- Supports Server Beta 1.6.4 (& hopefully future versions as well, while remaining backward compatible.)" + newLine
+ "- no new functionality, md5 issue doesnt affect -update on old versions." + "- Added \"-a\",\"-alt\" to use alternate method (a slightly simplier version of 1.3.0's code - pure verbose only)" + newLine
+ newLine + "- Added world specific output for 9 dimensions (DIM-1 is the Nether, DIM-2 through DIM-9 dont exist yet, but if and when they do, you can configure it's text). (\"Level 0\", the default world, is displayed as the worlds name)" + newLine
+ "1.6.0" + newLine + "- Updated Config File for these Dimensions." + newLine
+ "- NOW DOES NOT NEED ANY SCRIPT FILES!" + newLine + "- Reads and outputs the Seed to the output. (If you had used text for the Seed, Minecraft converts it into a number. This outputs the number.)" + newLine
+ "- Added the ability to download files from the internet" + newLine + "- Changed the default 300 blocks to 380. The server now makes a 400x400 square block terrain instead of 320x320. Thus it is faster because there are less loops. To use the old way, use \"-i300\"" + newLine
+ "- Added a switch to download any file off the internet, if needed (useless for most people, but included it in case I wanted it in the future.)" + newLine + "- Added total Percentage done (technically, it displays the % done once the server finishes...)" + newLine
+ "- Added the ability to check what version the .jar is. (Using MD5 hashes, timestamps, and the BuildID file)" + newLine + "- Added debugging output vars of conf file (disabled - need to re-compile source to activate)" + newLine
+ "- Added \"-update\" to download new versions of MLG directly from github." + newLine + newLine
+ "- Updated estimated time. Now shows up on loop 2+ instead of loop 4+." + newLine + "\t\t+ (the goal is to have MLG be configureable, so it can work on any version of the server, past or present.)" + newLine
+ "- Standard % output of the Server should look nicer now." + newLine + newLine
+ "- Code Refactoring" + newLine + "*** 1.4.5 (pre 1.5.0) ***" + newLine
+ "- Code Formatting" + newLine + "- sorry! I shouldn't release untested code..." + newLine
+ "- Code Optimization" + newLine + "*************************" + newLine
+ "- Duplicate sections of code have been turned into Methods/\"Functions\"" + newLine + newLine
+ newLine + "1.4.4" + newLine
+ "1.5.1" + newLine + "- Added ablilty to ignore [WARNING] and [SEVERE] errors with \"-w\"" + newLine
+ "- pr0f1x: Added the \"save-all\" command to be sent to the server before shutting it down." + newLine + newLine
+ "- pr0f1x: Added a 40 second wait before shutting down." + newLine + "1.4.3" + newLine
+ "- Morlok8k: Made 40 second wait optional." + newLine + "- Fixed \"-ps\",\"-printspawn\" as I had forgot I had broken it in 1.4.0 - due to config file change." + newLine
+ "- Morlok8k: Changed the Dimensions code. (I had assumed it would be DIM-1, DIM-2, etc. but it turned out to be DIM-1 and DIM1. Change reflects Server output of \"Level n\")" + newLine + newLine
+ "- Morlok8k: Config file is automatically updated to reflect these changes." + newLine + "1.4.2" + newLine
+ "- Morlok8k: Cleaned up code." + newLine + "- No New Features" + newLine
+ newLine + "- Changed non-verbose mode to display server progress on the same line, saving a lot of space." + newLine
+ "1.5.0" + newLine + " - This couldn't wait for 1.5.0 ... I (Morlok8k) liked it too much." + newLine
+ "- Supports Server Beta 1.6.4 (& hopefully future versions as well, while remaining backward compatible.)" + newLine + newLine
+ "- Added \"-a\",\"-alt\" to use alternate method (a slightly simplier version of 1.3.0's code - pure verbose only)" + newLine + "1.4.0" + newLine
+ "- Added world specific output for 9 dimensions (DIM-1 is the Nether, DIM-2 through DIM-9 dont exist yet, but if and when they do, you can configure it's text). (\"Level 0\", the default world, is displayed as the worlds name)" + newLine + "- Future Proofing" + newLine
+ "- Updated Config File for these Dimensions." + newLine + "- Configurble Server Message reading. (If server updates and breaks MLG, you can add the new text!)" + newLine
+ "- Reads and outputs the Seed to the output. (If you had used text for the Seed, Minecraft converts it into a number. This outputs the number.)" + newLine + "- Updated config file, and auto updating from old format." + newLine
+ "- Changed the default 300 blocks to 380. The server now makes a 400x400 square block terrain instead of 320x320. Thus it is faster because there are less loops. To use the old way, use \"-i300\"" + newLine + "- Added % of spawn area to non-verbose output." + newLine
+ "- Added total Percentage done (technically, it displays the % done once the server finishes...)" + newLine + "- Removed datetime stamps from server output in verbose mode" + newLine
+ "- Added debugging output vars of conf file (disabled - need to re-compile source to activate)" + newLine + "- Other Misc fixes." + newLine
+ newLine + newLine
+ "\t\t+ (the goal is to have MLG be configureable, so it can work on any version of the server, past or present.)" + newLine + "1.3.0" + newLine
+ newLine + "- Fixed Problems with Minecraft Beta 1.3 -- Morlok8k" + newLine
+ "*** 1.4.5 (pre 1.5.0) ***" + newLine + newLine
+ "- sorry! I shouldn't release untested code..." + newLine + "-----------------------------------------------" + newLine
+ "*************************" + newLine + newLine
+ newLine + "Corrodias:" + newLine
+ "1.4.4" + newLine + "1.2.0" + newLine
+ "- Added ablilty to ignore [WARNING] and [SEVERE] errors with \"-w\"" + newLine + "- land generation now centers on the spawn point instead of [0, 0]" + newLine
+ newLine + "- the server is launched once before the spawn point is changed, to verify that it can run and to create a world if one doesn't exist" + newLine
+ "1.4.3" + newLine + "- added -printspawn [-ps] switch to print the current spawn coordinates to the console" + newLine
+ "- Fixed \"-ps\",\"-printspawn\" as I had forgot I had broken it in 1.4.0 - due to config file change." + newLine + "- added -x and -y switches to override the X and Y offsets" + newLine
+ newLine + "- added -v switch, does the same as -verbose" + newLine
+ "1.4.2" + newLine + "- improved status message spacing to make things easier to read" + newLine
+ "- No New Features" + newLine + "- improved time estimation algorithm: it now averages the last 3 launches" + newLine
+ "- Changed non-verbose mode to display server progress on the same line, saving a lot of space." + newLine + newLine
+ " - This couldn't wait for 1.5.0 ... I (Morlok8k) liked it too much." + newLine + "1.1.0" + newLine
+ newLine + "- added MinecraftLandGenerator.conf file to hold the java command line and the server path" + newLine
+ "1.4.0" + newLine + "- added -conf solo switch to generate a .conf file" + newLine
+ "- Future Proofing" + newLine + "- added -verbose switch to output server output to the console (default is to ignore it)" + newLine
+ "- Configurble Server Message reading. (If server updates and breaks MLG, you can add the new text!)" + newLine + "- added -i switch to allow customizing the block increment size (default is 300)" + newLine
+ "- Updated config file, and auto updating from old format." + newLine + "- added instructions output in this version, i think" + newLine
+ "- Added % of spawn area to non-verbose output." + newLine + "- improved status message output to include current iteration and total iterations" + newLine
+ "- Removed datetime stamps from server output in verbose mode" + newLine + newLine
+ "- Other Misc fixes." + newLine + "1.0.0" + newLine
+ newLine + "- initial release" + newLine
+ "1.3.0" + newLine + newLine
+ "- Fixed Problems with Minecraft Beta 1.3 -- Morlok8k" + newLine + "-----------------------------------------------" + newLine
+ newLine + newLine
+ "-----------------------------------------------" + newLine + "Notes:" + newLine
+ newLine + "Due to changes in server beta 1.6, it now generates the nether as well as the world at the same time." + newLine
+ "Corrodias:" + newLine + "However, Since beta 1.9 and Minecraft 1.0, the nether or the end is no longer generated."
+ "1.2.0" + newLine + "I recommend using MCEDIT to relight the map after you generate it. This will take a long time, but should fix all those incorrectly dark spots in your level." + newLine;
+ "- land generation now centers on the spawn point instead of [0, 0]" + newLine
+ "- the server is launched once before the spawn point is changed, to verify that it can run and to create a world if one doesn't exist" + newLine
+ "- added -printspawn [-ps] switch to print the current spawn coordinates to the console" + newLine
+ "- added -x and -y switches to override the X and Y offsets" + newLine
+ "- added -v switch, does the same as -verbose" + newLine
+ "- improved status message spacing to make things easier to read" + newLine
+ "- improved time estimation algorithm: it now averages the last 3 launches" + newLine
+ newLine
+ "1.1.0" + newLine
+ "- added MinecraftLandGenerator.conf file to hold the java command line and the server path" + newLine
+ "- added -conf solo switch to generate a .conf file" + newLine
+ "- added -verbose switch to output server output to the console (default is to ignore it)" + newLine
+ "- added -i switch to allow customizing the block increment size (default is 300)" + newLine
+ "- added instructions output in this version, i think" + newLine
+ "- improved status message output to include current iteration and total iterations" + newLine
+ newLine
+ "1.0.0" + newLine
+ "- initial release" + newLine
+ newLine
+ "-----------------------------------------------" + newLine
+ newLine
+ "Notes:" + newLine
+ "Due to changes in server beta 1.6, it now generates the nether as well as the world at the same time." + newLine
+ "However, Since beta 1.9 and Minecraft 1.0, the nether or the end is no longer generated."
+ "I recommend using MCEDIT to relight the map after you generate it. This will take a long time, but should fix all those incorrectly dark spots in your level." + newLine
+ newLine
+ "-----------------------------------------------" + newLine
+ newLine;
//@formatter:on //@formatter:on
MLG_FileWrite.writeTxtFile(readmeFile, ReadMeText + showHelpSTR); MLG_FileWrite.writeTxtFile(readmeFile, ReadMeText + showHelpSTR + VersionInfo);
} }