Java programmers wanted. PM me if you are interested in helping the GUI development of MLG. - Morlok8k Feb. 7th, 2013 (Edit: Still interested, Feb 2015)
Why Use Minecraft Land Generator?
1. World maps - a nice square map looks much better then the wandering strips made by people.
2. Multiplayer - Server Load: generating new terrain when walking around is the biggest stress on minecraft servers, especially when multiple people are doing it at the same time.
3. Singleplayer - similar to server - the game runs faster when its not generating new terrain.
4. Testing settings on mods that change the terrain - like bigger biomes, more water, etc.
5. etc...
Using Bukkit? You probably want a Bukkit Plugin... Try this: http://forums.bukkit...1-9-1337.30238/
MLG only works with the main world (not plugin-based/multiworld worlds.)
All Donations will go into the New Server Fund (or the Ramen Noodle Fund! ) to help me update my ancient server hardware. Total collected as of 10/22/2012: USD$42.60.
*Thanks to: Mr. P, Mr. Y, Mr. D, Mr. F, and Mr. R!
I also take BitCoin: 1MLGj1AX67y4QBtQ6xuwqrRUCPTBY228aC
Total collected: ฿0.00BTC as of 7/27/2012
(I'll keep developing this project and supporting users as long as there is interest / usefulness, not because of donations or ad-links.)
------------------------------------------------------------
Thank you Corrodias, for originally creating this program!
Also, thanks to Ancient for JNBT 1.1, without this, this program wouldn't exist!
It works with every official Minecraft server released (except for some buggy 1.9 beta pre-releases), and most likely future versions, barring any major changes...
(Currently has issues with Windows XP, however. (XP needs Java 1.7))
let me know if you have issues!
Click here for example config files, or look down a few posts.
Compatibility:
MLG works with all official minecraft server's.
It also works with Bukkit, on the standard world/nether (but not multiworld).
It works with Biome Terrain Mod / Phoenix Terrain Mod.
It works with every server mod I've tried.
It worked with hmod back in the day.
It works on all Operating Systems as it is written in Java.
MLG should work on all machines with an updated version of Java (either 1.6 or 1.7).
Windows 7: YES
Windows Vista: Probably, untested. Who still uses Vista?
Windows XP (32-bit): Yes, but requires Java 7
Windows XP (64-bit): YES
Linux - Ubuntu: Yes
- Ubuntu 11.10: Works with Sun-Java and OpenJDK
- Ubuntu 11.04: Works with Sun-Java and OpenJDK
- Ubuntu 10.10: Works (tested with Sun-Java)
- Ubuntu 10.04LTS: Works
- Older versions, probably.
Linux - Other: Results may vary, BUT SHOULD WORK FINE!
Mac OSX: Yes (Tested with Snow Leopard)
I recommend Java 1.7, if you can install it.
I do not recommend Open Source versions of Java like OpenJDK.
64bit Windows: Install both 32bit and 64bit Java! (this will avoid problems with MLG and other Java programs)
Readme:
Minecraft Land Generator version 1.7.1
Updated October 27, 2012
(BuildID: 1351324293000)
Original Code by Corrodias November 2010
Enhanced Code by Morlok8k Feb. 2011 to Now (or at least to October 27, 2012!)
Additional Code by pr0f1x October 2011
This program lets you generate an area of land with your Minecraft 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.
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.
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.
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.)
The JNLP library is included (inside the .jar). It is not public domain. Its license is included, as LICENSE.TXT.
It is also available at: http://jnbt.sourceforge.net/
Usage: java -jar MinecraftLandGenerator.jar x z [serverpath] [switches]
Arguments:
x : X range to generate
z : Z range to generate
serverpath : the path to the directory in which the server runs (takes precedence over the config file setting)
Switches:
-verbose : causes the application to output the server's messages to the console
-v : same as -verbose
-w : Ignore [WARNING] and [SEVERE] messages.
-alt : alternate server launch sequence
-a : same as -alt
-nowait : don't pause for anything
-n : same as -nowait
-i# : override the iteration spawn offset increment (default 380) (example: -i100)
-x# : set the X offset to generate land around (example: -x0 or -x1000 or -x-500)
-z# : set the Z offset to generate land around (example: -z0 or -z1000 or -z-500)
Other options:
java -jar MinecraftLandGenerator.jar -update
Checks for and downloads new versions of MLG online.
java -jar MinecraftLandGenerator.jar -printspawn
java -jar MinecraftLandGenerator.jar -ps
Outputs the current world's spawn point coordinates.
java -jar MinecraftLandGenerator.jar -conf
java -jar MinecraftLandGenerator.jar -conf download
Generates or downloads a MinecraftLandGenerator.conf file.
java -jar MinecraftLandGenerator.jar -readme readme.txt
java -jar MinecraftLandGenerator.jar -readme
Generates a readme file using supplied name or the default _MLG_Readme.txt
java -jar MinecraftLandGenerator.jar -downloadfile http://example.com/file.txt
Downloads whatever file from the internet you give it.
java -jar MinecraftLandGenerator.jar -downloadlist list.txt
list.txt (or any other file) contains a URL on each line which will be downloaded.
java -jar MinecraftLandGenerator.jar -version
java -jar MinecraftLandGenerator.jar -help
java -jar MinecraftLandGenerator.jar /?
Prints this message.
When launched with the -conf switch, this application creates a MinecraftLandGenerator.conf file that contains configuration options.
If this file does not exist or does not contain all required properties, the application will not run.
MinecraftLandGenerator.conf properties:
Java : The command line to use to launch the server
ServerPath : The path to the directory in which the server runs (can be overridden by the serverpath argument)
Done_Text : The output from the server that tells us that we are done
Preparing_Text : The output from the server that tells us the percentage
Preparing_Level : The output from the server that tells us the level it is working on
Level-0 : Name of Level 0: The Overworld
Level-1 : Name of Level 1: The Nether
Level-2 : Name of Level 2: The End
Level-3 : Name of Level 3: (Future Level)
Level-4 : Name of Level 4: (Future Level)
Level-5 : Name of Level 5: (Future Level)
Level-6 : Name of Level 6: (Future Level)
Level-7 : Name of Level 7: (Future Level)
Level-8 : Name of Level 8: (Future Level)
Level-9 : Name of Level 9: (Future Level)
WaitSave : Optional: Wait before saving.
-----------------------------------------------
Version History:
Morlok8k:
1.7.1
- Major Code Refactoring
- Updated to JNBT 1.2
- making code ready for a GUI
1.7.0
- Major Code Optimization
- Drastically reduced the amount of time it takes for MLG to expand a world after it has already done so before!
(To do this, I rewrote the Main loop of the program, and add my own Coordinate object)
- Added Resume Functionality
- Updated Time Output yet again.
- Made xx% output nicer by rewriting previous existing line.
- Misc. Tweaks
- Misc. Additions
1.6.3
- Minor Code Optimization
- Finely got on the ball and added the JNBT source and everything (as an internal .zip) to be completely faithful to his license
- Also adding script files internally in the .jar for archive (or offline) purposes. (Manual Extract needed for use)
- Modified output of MLG slightly to show whats the server and whats MLG. (I may do more with this later.)
1.6.2
- Major Code Optimization
- Updated Time Output again. Now says "1 Minute" instead of "1 Minutes".
- 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.
- Added "-nowait" and its shorter version "-n"
- Added currently non-functional RCON code. Will try to make functional in the future.
1.6.11
- Removed End-of-Generation ASCII-Graphic - It didn't really fit with MLG.
- Updated Time Output.
- Changed estimated time remaining to count all runs, not just the last four.
- Added the time it took to complete at the end of generation.
1.6.1
- Added some modifications for scripting (Mainly for a new Initial setup script)
- Changed MLG's Y to Z. Now it matches Minecraft. Y in the game is Height.
- Renamed -y switch to -z. MLG will remain backwards compatible if you use the old -y switch.
- Updated -printspawn to show X,Y,Z
- Added End-of-Generation ASCII-Graphic
- Slightly altered some text output
1.6.05
- MLG displays if the server is converting the Map format, when not in verbose mode. (McRegion -> Anvil, or Chunk-File -> McRegion)
- Minor fixes/edits/typos
- Added link to new MLG website to readme file
1.6.03
- added decoding of escape characters of URL's (so a space is a " " and not "%20")
- added "-downloadlist
" where
is a text file with URL's on each line
1.6.02
- small fix on caculating md5sum where old version didnt pad out to 32chars with zeros on the left side- quick Archive intergity fix after injecting source code into .jar after it compiled.- no new functionality, md5 issue doesnt affect -update on old versions.
1.6.0
- NOW DOES NOT NEED ANY SCRIPT FILES!
- Added the ability to download files from the internet
- 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.)
- Added the ability to check what version the .jar is. (Using MD5 hashes, timestamps, and the BuildID file)
- Added "-update" to download new versions of MLG directly from github.
- Updated estimated time. Now shows up on loop 2+ instead of loop 4+.
- Standard % output of the Server should look nicer now.
- Code Refactoring
- Code Formatting
- Code Optimization
- Duplicate sections of code have been turned into Methods/"Functions"
1.5.1
- pr0f1x: Added the "save-all" command to be sent to the server before shutting it down.
- pr0f1x: Added a 40 second wait before shutting down.
- Morlok8k: Made 40 second wait optional.
- 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")
- Morlok8k: Config file is automatically updated to reflect these changes.
- Morlok8k: Cleaned up code.
1.5.0
- Supports Server Beta 1.6.4 (& hopefully future versions as well, while remaining backward compatible.)
- Added "-a","-alt" to use alternate method (a slightly simplier version of 1.3.0's code - pure verbose only)
- 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)
- Updated Config File for these Dimensions.
- 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.)
- 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"
- Added total Percentage done (technically, it displays the % done once the server finishes...)
- Added debugging output vars of conf file (disabled - need to re-compile source to activate)
+ (the goal is to have MLG be configureable, so it can work on any version of the server, past or present.)
*** 1.4.5 (pre 1.5.0) ***
- sorry! I shouldn't release untested code...
*************************
1.4.4
- Added ablilty to ignore [WARNING] and [SEVERE] errors with "-w"
1.4.3
- Fixed "-ps","-printspawn" as I had forgot I had broken it in 1.4.0 - due to config file change.
1.4.2
- No New Features
- Changed non-verbose mode to display server progress on the same line, saving a lot of space.
- This couldn't wait for 1.5.0 ... I (Morlok8k) liked it too much.
1.4.0
- Future Proofing
- Configurble Server Message reading. (If server updates and breaks MLG, you can add the new text!)
- Updated config file, and auto updating from old format.
- Added % of spawn area to non-verbose output.
- Removed datetime stamps from server output in verbose mode
- Other Misc fixes.
1.3.0
- Fixed Problems with Minecraft Beta 1.3 -- Morlok8k
-----------------------------------------------
Corrodias:
1.2.0
- land generation now centers on the spawn point instead of [0, 0]
- 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
- added -printspawn [-ps] switch to print the current spawn coordinates to the console
- added -x and -y switches to override the X and Y offsets
- added -v switch, does the same as -verbose
- improved status message spacing to make things easier to read
- improved time estimation algorithm: it now averages the last 3 launches
1.1.0
- added MinecraftLandGenerator.conf file to hold the java command line and the server path
- added -conf solo switch to generate a .conf file
- added -verbose switch to output server output to the console (default is to ignore it)
- added -i switch to allow customizing the block increment size (default is 300)
- added instructions output in this version, i think
- improved status message output to include current iteration and total iterations
1.0.0
- initial release
-----------------------------------------------
Notes:
Due to changes in server beta 1.6, it now generates the nether as well as the world at the same time.
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.
NOTE: You may see Minecraft Land Generator on many sites when searching Google.
THIS, THE ABOVE WEBSITE, AND GITHUB (where the downloads are hosted) ARE THE ONLY PLACES I'VE POSTED MLG!!!!
Multiple sites like softpedia and others search the internet and find programs and add them to their sites.
Keywords: minecraft land generator generate generators minecraftlandgenerator landgenerator world chunk chunks map automatically automatic level editor biome terrain mod phoenix MLG BLG bukkit Expand bukkitlandgenerator expand expander bigger big google maps mcedit cartographer mcmap overviewer
Minecraft Land Generator | Memory issues? Try this:java -Xincgc-Xmx1024M -Xms512M -jar Minecraft.jar "We must be that generation that stands athwart history yelling: 'Hey, jackass, get your government off my freedom!'" - Jason Mattera
After it's been set up, only Run_MLG_(xxx).xxx needs to be run.
First usage needs a world, and a server set up. This is what the following instructions do:
Windows: (Note: I recommend Java 7. On 64bit computers make sure you install both the 32 and 64 bit versions.)
Download the latest .zip file
Extract files somewhere.
open the MinecraftLandGenerator folder.
doubleclick "Update_MLG_(Windows).cmd"
- let it run.
doubleclick "Update_Server_(Windows).cmd"
- let it run.
doubleclick "Run_Server_(Windows).cmd"
- let it run. after it says "Done":
- type (without quotes): "stop"
doubleclick "Run_MLG_(Windows).cmd"
- let it run.
- It is setup to make a 2000x2000 map by default. edit the file before running to change this,
or remove "2000 2000" for MLG to ask you each time.
Mac:
download zip file. (it unzips automatically! - at least when using Safari)
open the download folder.
open the MinecraftLandGenerator folder.
doubleclick "Update_MLG_(Mac).command"
- click "Open" when the warning about being downloaded shows up.
- let it run.
- when it says "[Process completed]" click the red X in the upper left corner to close it.
doubleclick "Update_Server_(Mac).command"
- (same steps apply as before)
doubleclick "Run_Server_(Mac).command"
- click "Open" when the warning about being downloaded shows up.
- let it run. after it says "Done":
- type (without quotes): "stop"
- when it says "[Process completed]" click the red X in the upper left corner to close it.
doubleclick "Run_MLG_(Mac).command"
- (same steps apply as before)
- It is setup to make a 2000x2000 map by default. edit the file before running to change this,
or remove "2000 2000" for MLG to ask you each time.
Linux: (Note: Notch recommends using Sun Java - but MLG and the Server run fine on the open source versions. The Client, however may have issues without Sun Java)
The same basic steps (see the Windows instructions) apply.
Run in order:
"Update_MLG_(Linux).sh"
"Update_Server_(Linux).sh"
"Run_Server_(Linux).sh"
"Run_MLG_(Linux).sh"
I personally use terminal to start these.
open terminal
cd /your/MLG/folder
chmod +x *.sh
./Update_MLG_(Linux).sh
- OR -
sh "Update_MLG_(Linux).sh"
etc...
FAQ:
DOWNLOAD THE .ZIP FILE - THERE ARE SCRIPTS READY MADE.
The following instructions are if you only download the .jar file.
Whats the point of this program, and why would i use it?
Many reasons:
1. World maps - a nice square map looks much better then the wandering strips made by people.
2. Multiplayer - Server Load: generating new terrain when walking around is the biggest stress on minecraft servers, especially when multiple people are doing it at the same time.
3. Singleplayer - similar to server - the game runs faster when its not generating new terrain.
4. testing settings on mods that change the terrain - like bigger biomes, more water, etc. (Such as Biome Terrain Mod)
5. etc...
How do I use it?
If you understand how to manage a minecraft server, then this should be no problem for you.
use the command to autogenerate a config file. (or make it yourself if you want)
In the config file, you have your (custom) server launch command
You need to have launched your world at least once with your custom command, so MLG can read the files.
run the generator with the size you want, and you can add -v after the numbers if you want verbose output.
Step 1. Download the most current .zip file
Step 2. Extract it all to a folder.
Step 3. Download the current server, and save it in the folder.
Only for an existing world:
Step 4a. Copy your world to the folder.
Step 4b. In "server.properties" look for "level-name=world" and change "world" to the name of your world
Step 5. Double click on "Run_Server_(xxxxxxx).xxx" (the one you click is dependant on your operating system.)
Step 6. Does everything look good? did your server launch with the correct world?
Step 7. Type "stop" (without the quotes) in the server's window.
Step 8. Edit "Run_MLG_(xxxxxxx).xxx" and change the two "1000"'s to whatever size you want.
Step 9. Double click on "Run_MLG_(xxxxxxx).xxx"
Step 10. MLG will run.
How do I use it? (Simple Steps)
Step 1: download this program.
Step 2: make a new folder for the server if you don't already have a server.
Step 3: put this program in that folder.
Step 4: open a command prompt / terminal
Step 5: navigate to this folder using "cd"
SINGLEPLAYER ONLY:
For a new world skip to Step 8....
Step 6: move your existing world (Older worlds before the 1.3 update will not mesh nicely with existing chunks.) to this folder.
Step 7: rename your world folder to "world"
MULTIPLAYER ONLY:
Are you already running a server? Shut it down and skip to step 9....
Step 8: download the minecraft_server.jar
Step 9: run this command: java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui
Step 10: once it says "[INFO] Done" type: stop
Step 11: now run this: java -jar MinecraftLandGenerator.jar -conf
Step 12: run this: java -jar MinecraftLandGenerator.jar 1000 1000
Step 12a: if it says starting server, but never does anything after - it wont work on your computer. go to your task manager and kill both java processes.
Step 13: if it does work, change both 1000's to something bigger like 6000. that is how many blocks in either length or width. keeping the two numbers the same will make a square. NOTE: Dont get crazy here! 20000 x 20000 will make a 6+GB world! (and take at least 6+ hours on fast/new hardware) (10000 x 10000 makes a world almost 2GB in size.)
Step 14: if you were doing a single player map, rename it back to what it was and move it back to the saves folder.
DONE!
Using Windows?
You can make two batch files that make the config file, and run the program instead of using the command prompt. These work for 32 and 64 bit Windows. If using XP, be sure to remove NOGUI from the config file.
Note: This is for 64bit windows that have the 32bit java installed (many computers). These files are not necessary if you have 64bit Java installed - it will work normally!
Quote from clc02 »
If you are using a 64 bit version of windows then save this as a .bat in the same directory as the .jar, and instead of going through the command prompt run it instead
for the config file:
@ECHO OFF
IF /I "%PROCESSOR_ARCHITECTURE:~-2%"=="64" "%ProgramFiles(x86)%\Java\jre6\bin\java.exe" -jar "MinecraftLandGenerator.jar" -conf
IF /I "%PROCESSOR_ARCHITECTURE:~-2%"=="86" java -jar "MinecraftLandGenerator.jar" -conf
PAUSE
To generate:
@ECHO OFF
IF /I "%PROCESSOR_ARCHITECTURE:~-2%"=="64" "%ProgramFiles(x86)%\Java\jre6\bin\java.exe" -jar "MinecraftLandGenerator.jar" 100 100
IF /I "%PROCESSOR_ARCHITECTURE:~-2%"=="86" java -jar "MinecraftLandGenerator.jar" 100 100
PAUSE
Minecraft Land Generator | Memory issues? Try this:java -Xincgc-Xmx1024M -Xms512M -jar Minecraft.jar "We must be that generation that stands athwart history yelling: 'Hey, jackass, get your government off my freedom!'" - Jason Mattera
then you run MLG with -conf to autocreate the default config file:
java -jar MinecraftLandGenerator.jar -conf
then you run MLG with the size of the map you want: (this does 1000 blocks by 1000 blocks (actually slightly bigger) around your spawn)
java -jar MinecraftLandGenerator.jar 1000 1000
AND YES, IT WILL WORK WITH AN SINGLE PLAYER MAP. Just move the world folder and name it correctly.
Rollback Post to RevisionRollBack
Minecraft Land Generator | Memory issues? Try this:java -Xincgc-Xmx1024M -Xms512M -jar Minecraft.jar "We must be that generation that stands athwart history yelling: 'Hey, jackass, get your government off my freedom!'" - Jason Mattera
and as always, remove nogui, if you are running on 32-bit Windows XP. (because Bukkit has no GUI mode, Bukkit has issues with XP 32-bit)
also, if you want to get real creative, you can change the serverpath so MLG doesnt have to be in the same folder... but you will only need this in very advanced setups.
I'd like to hear any comments on how it worked for you: worked/didnt work, OS, Java version... etc.
Rollback Post to RevisionRollBack
Minecraft Land Generator | Memory issues? Try this:java -Xincgc-Xmx1024M -Xms512M -jar Minecraft.jar "We must be that generation that stands athwart history yelling: 'Hey, jackass, get your government off my freedom!'" - Jason Mattera
I had a 1.2_01 server and that didnt work. I got the cfg file to generate and when i tried to do the last part the cmd promt just loads for a second and vanishes. guess i'll wait for a fix for 1.3 =/
And the thing in your sig. Is it true? That didn't load for me either. lol
Edit: I have gotten MLG 1.3.0 to run on everything i've tried it on now.
Windows XP has a small glitch where you need to remove NOGUI from the config file.
Linux will only run from terminal, and not the real command line like a server or ssh connection.
Still not have tried a mac. let me know if you do.
Have fun kids!
Rollback Post to RevisionRollBack
Minecraft Land Generator | Memory issues? Try this:java -Xincgc-Xmx1024M -Xms512M -jar Minecraft.jar "We must be that generation that stands athwart history yelling: 'Hey, jackass, get your government off my freedom!'" - Jason Mattera
I had a 1.2_01 server and that didnt work. I got the cfg file to generate and when i tried to do the last part the cmd promt just loads for a second and vanishes. guess i'll wait for a fix for 1.3 =/
And the thing in your sig. Is it true? That didn't load for me either. lol
What OS are you running? MLG 1.3.0 is verified to work on Windows 7 so far.
as for the thing in my sig, "java -Xincgc -Xmx1024M -Xms512M -cp Minecraft.jar net.minecraft.LauncherFrame"
-Xincgc enables the garbage collector. It can potentially slow down a java program by 10%, if its not needed. But if you have memory issues like Minecraft crashing frequently - this will keep it stable, and run faster. also, the 1024 and 512 are default values and should be modified to reflect your own system. Anyways, it helps some computers but hurts others.
Rollback Post to RevisionRollBack
Minecraft Land Generator | Memory issues? Try this:java -Xincgc-Xmx1024M -Xms512M -jar Minecraft.jar "We must be that generation that stands athwart history yelling: 'Hey, jackass, get your government off my freedom!'" - Jason Mattera
I had a 1.2_01 server and that didnt work. I got the cfg file to generate and when i tried to do the last part the cmd promt just loads for a second and vanishes. guess i'll wait for a fix for 1.3 =/
And the thing in your sig. Is it true? That didn't load for me either. lol
What OS are you running? MLG 1.3.0 is verified to work on Windows 7 so far.
I had a 1.2_01 server and that didnt work. I got the cfg file to generate and when i tried to do the last part the cmd promt just loads for a second and vanishes. guess i'll wait for a fix for 1.3 =/
And the thing in your sig. Is it true? That didn't load for me either. lol
What OS are you running? MLG 1.3.0 is verified to work on Windows 7 so far.
save it.
rename that text file: test.bat
run it by double clicking on it.
this will make a file called info.txt
open it and post the results
Rollback Post to RevisionRollBack
Minecraft Land Generator | Memory issues? Try this:java -Xincgc-Xmx1024M -Xms512M -jar Minecraft.jar "We must be that generation that stands athwart history yelling: 'Hey, jackass, get your government off my freedom!'" - Jason Mattera
Minecraft Land Generator | Memory issues? Try this:java -Xincgc-Xmx1024M -Xms512M -jar Minecraft.jar "We must be that generation that stands athwart history yelling: 'Hey, jackass, get your government off my freedom!'" - Jason Mattera
Thank you very much Morlok8k !
I will try later with BiomeTerrainMode, but it should work fine too with it.
thanks for the input! (nice world, btw - what did you use to create the image?)
by the way, did you use terminal in the GUI, a ssh window or just the plain command line (no GUI at all)?
Rollback Post to RevisionRollBack
Minecraft Land Generator | Memory issues? Try this:java -Xincgc-Xmx1024M -Xms512M -jar Minecraft.jar "We must be that generation that stands athwart history yelling: 'Hey, jackass, get your government off my freedom!'" - Jason Mattera
yes/no. the exe is windows only. the jar will run on anything that has java - windows, mac, linux, etc.
also, the jar is used for mods and other scripts and stuff because its much more flexible.
Rollback Post to RevisionRollBack
Minecraft Land Generator | Memory issues? Try this:java -Xincgc-Xmx1024M -Xms512M -jar Minecraft.jar "We must be that generation that stands athwart history yelling: 'Hey, jackass, get your government off my freedom!'" - Jason Mattera
yes/no. the exe is windows only. the jar will run on anything that has java - windows, mac, linux, etc.
also, the jar is used for mods and other scripts and stuff because its much more flexible.
got it working i think. you didn't say you had to have the server open when doing it XD. I kept it open and ran the bat and now it's actually taking longer and it's doing something lmao.
now my map is 27mb! yay it worked!
thanks man for being patient with me haha.
nvm i dont have to keep it open. 1st try it failed, 2nd time was with the server up and it worked. now im adding on and i had to keep it closed. Oh well lol at least its working.
yes/no. the exe is windows only. the jar will run on anything that has java - windows, mac, linux, etc.
also, the jar is used for mods and other scripts and stuff because its much more flexible.
got it working i think. you didn't say you had to have the server open when doing it XD. I kept it open and ran the bat and now it's actually taking longer and it's doing something lmao.
now my map is 27mb! yay it worked!
thanks man for being patient with me haha.
nvm i dont have to keep it open. 1st try it failed, 2nd time was with the server up and it worked. now im adding on and i had to keep it closed. Oh well lol at least its working.
yeah you cant keep the server running, unless you copy everything and do it on another computer, then copy the world back.
happy to help!
oh and about the thing in my sig, that too needs the launcher .jar file - which is why it probably didnt work for you!
Rollback Post to RevisionRollBack
Minecraft Land Generator | Memory issues? Try this:java -Xincgc-Xmx1024M -Xms512M -jar Minecraft.jar "We must be that generation that stands athwart history yelling: 'Hey, jackass, get your government off my freedom!'" - Jason Mattera
The image was created with mcmap + Donkey Kong's biome extractor, I reduced the quality of the picture to upload it.
For generating my map I used terminal in the GUI (GNOME), after launching server once I just copy/past the two command line for generating config file and the one to generate map and it ran well.
cool, I'll have to check that out!
Rollback Post to RevisionRollBack
Minecraft Land Generator | Memory issues? Try this:java -Xincgc-Xmx1024M -Xms512M -jar Minecraft.jar "We must be that generation that stands athwart history yelling: 'Hey, jackass, get your government off my freedom!'" - Jason Mattera
The text inside the.bat file that runs the script:
@echo off
java -jar MinecraftLandGenerator.jar 2000 2000
pause
Explanation: Use the default java runtime to run a jar file named "MinecraftLandGenerator.jar" with x axis width of 2000 blocks and y axis width of 2000 blocks. Pause when finished.
the text inside the .conf file that is created by the jar:
Explanation: The java runtime that will be used will be the default java runtime with an initial heap size of 1024 Megabytes and a maximum heap size of 1024 megabytes. It will run a jar file named minecraft_server.jar with an argument to not use the graphical user interface.
The file minecraft server is located in the same directory as the file "MinecraftLandGenerator.jar"
I'm not 100 percent sure if the x axis is east-west or the north axis. you will have to check it yourself since I mostly generate square maps. I recommend using 64-bit java if you plan on using more than 2 Gigs of Memory for this.
Other settings that may work.
The text inside the.bat file that runs the script:
@echo off
"C:\Program Files\Java\jre6\bin\java.exe" -jar MinecraftLandGenerator.jar 2000 2000
pause
the text inside the .conf file that is created by the jar:
Got this running now lol, but I'm curious on something. the x and z values... when generating does it use these values to generate a number negative and positive of your spawn?
say i have spawn at 0,0, will it generate from spawn 0-10000x then 0-10000z OR -10000-10000x and -10000-10000z?
Granted I'll find out once it's done but that's like another 45min away lol. (I used x and z cause that's what it is, y is vertical where as z is depth, so as not to confuse anyone)
EDIT: I'm going to guess it may be generating -10000 to 10000 on x and z because.... it's got 30min left and saying my world dir is 1.5gb and going up lmao
Visit the New Minecraft Land Generator website!
Check out my Nether/End Generation Server Mod made just for MLG!
1. World maps - a nice square map looks much better then the wandering strips made by people.
2. Multiplayer - Server Load: generating new terrain when walking around is the biggest stress on minecraft servers, especially when multiple people are doing it at the same time.
3. Singleplayer - similar to server - the game runs faster when its not generating new terrain.
4. Testing settings on mods that change the terrain - like bigger biomes, more water, etc.
5. etc...
Direct
Using Bukkit?
You probably want a Bukkit Plugin... Try this: http://forums.bukkit...1-9-1337.30238/
MLG only works with the main world (not plugin-based/multiworld worlds.)
All Donations will go into the New Server Fund (or the Ramen Noodle Fund! ) to help me update my ancient server hardware. Total collected as of 10/22/2012: USD$42.60.
*Thanks to: Mr. P, Mr. Y, Mr. D, Mr. F, and Mr. R!
I also take BitCoin: 1MLGj1AX67y4QBtQ6xuwqrRUCPTBY228aC
Total collected: ฿0.00BTC as of 7/27/2012
(I'll keep developing this project and supporting users as long as there is interest / usefulness, not because of donations or ad-links.)
------------------------------------------------------------
well... MinecraftLandGenerator has been brought back to life.
see the old locked forum here
Also, thanks to Ancient for JNBT 1.1, without this, this program wouldn't exist!
It works with every official Minecraft server released (except for some buggy 1.9 beta pre-releases), and most likely future versions, barring any major changes...
let me know if you have issues!
Click here for example config files, or look down a few posts.
Compatibility:
MLG works with all official minecraft server's.
It also works with Bukkit, on the standard world/nether (but not multiworld).
It works with Biome Terrain Mod / Phoenix Terrain Mod.
It works with every server mod I've tried.
It worked with hmod back in the day.
It works on all Operating Systems as it is written in Java.
NOW WORKS ON WINDOWS XP: SEE THIS POST FOR THE FIX (REQUIRES JAVA 1.7)
Windows 7: YES
Windows Vista: Probably, untested. Who still uses Vista?
Windows XP (32-bit): Yes, but requires Java 7
Windows XP (64-bit): YES
Linux - Ubuntu: Yes
- Ubuntu 11.10: Works with Sun-Java and OpenJDK
- Ubuntu 11.04: Works with Sun-Java and OpenJDK
- Ubuntu 10.10: Works (tested with Sun-Java)
- Ubuntu 10.04LTS: Works
- Older versions, probably.
Linux - Other: Results may vary, BUT SHOULD WORK FINE!
Mac OSX: Yes (Tested with Snow Leopard)
I recommend Java 1.7, if you can install it.
I do not recommend Open Source versions of Java like OpenJDK.
64bit Windows: Install both 32bit and 64bit Java! (this will avoid problems with MLG and other Java programs)
Readme:
NOTE: You may see Minecraft Land Generator on many sites when searching Google.
THIS, THE ABOVE WEBSITE, AND GITHUB (where the downloads are hosted) ARE THE ONLY PLACES I'VE POSTED MLG!!!!
Multiple sites like softpedia and others search the internet and find programs and add them to their sites.
Keywords: minecraft land generator generate generators minecraftlandgenerator landgenerator world chunk chunks map automatically automatic level editor biome terrain mod phoenix MLG BLG bukkit Expand bukkitlandgenerator expand expander bigger big google maps mcedit cartographer mcmap overviewer
"We must be that generation that stands athwart history yelling: 'Hey, jackass, get your government off my freedom!'" - Jason Mattera
After it's been set up, only Run_MLG_(xxx).xxx needs to be run.
First usage needs a world, and a server set up. This is what the following instructions do:
Windows:
(Note: I recommend Java 7. On 64bit computers make sure you install both the 32 and 64 bit versions.)
Download the latest .zip file
Extract files somewhere.
open the MinecraftLandGenerator folder.
doubleclick "Update_MLG_(Windows).cmd"
- let it run.
doubleclick "Update_Server_(Windows).cmd"
- let it run.
doubleclick "Run_Server_(Windows).cmd"
- let it run. after it says "Done":
- type (without quotes): "stop"
doubleclick "Run_MLG_(Windows).cmd"
- let it run.
- It is setup to make a 2000x2000 map by default. edit the file before running to change this,
or remove "2000 2000" for MLG to ask you each time.
Mac:
download zip file. (it unzips automatically! - at least when using Safari)
open the download folder.
open the MinecraftLandGenerator folder.
doubleclick "Update_MLG_(Mac).command"
- click "Open" when the warning about being downloaded shows up.
- let it run.
- when it says "[Process completed]" click the red X in the upper left corner to close it.
doubleclick "Update_Server_(Mac).command"
- (same steps apply as before)
doubleclick "Run_Server_(Mac).command"
- click "Open" when the warning about being downloaded shows up.
- let it run. after it says "Done":
- type (without quotes): "stop"
- when it says "[Process completed]" click the red X in the upper left corner to close it.
doubleclick "Run_MLG_(Mac).command"
- (same steps apply as before)
- It is setup to make a 2000x2000 map by default. edit the file before running to change this,
or remove "2000 2000" for MLG to ask you each time.
Linux:
(Note: Notch recommends using Sun Java - but MLG and the Server run fine on the open source versions. The Client, however may have issues without Sun Java)
The same basic steps (see the Windows instructions) apply.
Run in order:
"Update_MLG_(Linux).sh"
"Update_Server_(Linux).sh"
"Run_Server_(Linux).sh"
"Run_MLG_(Linux).sh"
I personally use terminal to start these.
open terminal
cd /your/MLG/folder
chmod +x *.sh
./Update_MLG_(Linux).sh
- OR -
sh "Update_MLG_(Linux).sh"
etc...
FAQ:
DOWNLOAD THE .ZIP FILE - THERE ARE SCRIPTS READY MADE.
The following instructions are if you only download the .jar file.
Whats the point of this program, and why would i use it?
Many reasons:
1. World maps - a nice square map looks much better then the wandering strips made by people.
2. Multiplayer - Server Load: generating new terrain when walking around is the biggest stress on minecraft servers, especially when multiple people are doing it at the same time.
3. Singleplayer - similar to server - the game runs faster when its not generating new terrain.
4. testing settings on mods that change the terrain - like bigger biomes, more water, etc. (Such as Biome Terrain Mod)
5. etc...
How do I use it?
If you understand how to manage a minecraft server, then this should be no problem for you.
use the command to autogenerate a config file. (or make it yourself if you want)
In the config file, you have your (custom) server launch command
You need to have launched your world at least once with your custom command, so MLG can read the files.
run the generator with the size you want, and you can add -v after the numbers if you want verbose output.
Step 1. Download the most current .zip file
Step 2. Extract it all to a folder.
Step 3. Download the current server, and save it in the folder.
Only for an existing world:
Step 4a. Copy your world to the folder.
Step 4b. In "server.properties" look for "level-name=world" and change "world" to the name of your world
Step 5. Double click on "Run_Server_(xxxxxxx).xxx" (the one you click is dependant on your operating system.)
Step 6. Does everything look good? did your server launch with the correct world?
Step 7. Type "stop" (without the quotes) in the server's window.
Step 8. Edit "Run_MLG_(xxxxxxx).xxx" and change the two "1000"'s to whatever size you want.
Step 9. Double click on "Run_MLG_(xxxxxxx).xxx"
Step 10. MLG will run.
How do I use it? (Simple Steps)
Step 1: download this program.
Step 2: make a new folder for the server if you don't already have a server.
Step 3: put this program in that folder.
Step 4: open a command prompt / terminal
Step 5: navigate to this folder using "cd"
SINGLEPLAYER ONLY:
For a new world skip to Step 8....
Step 6: move your existing world (Older worlds before the 1.3 update will not mesh nicely with existing chunks.) to this folder.
Step 7: rename your world folder to "world"
MULTIPLAYER ONLY:
Are you already running a server? Shut it down and skip to step 9....
Step 8: download the minecraft_server.jar
Step 9: run this command: java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui
Step 10: once it says "[INFO] Done" type: stop
Step 11: now run this: java -jar MinecraftLandGenerator.jar -conf
Step 12: run this: java -jar MinecraftLandGenerator.jar 1000 1000
Step 12a: if it says starting server, but never does anything after - it wont work on your computer. go to your task manager and kill both java processes.
Step 13: if it does work, change both 1000's to something bigger like 6000. that is how many blocks in either length or width. keeping the two numbers the same will make a square.
NOTE: Dont get crazy here! 20000 x 20000 will make a 6+GB world! (and take at least 6+ hours on fast/new hardware) (10000 x 10000 makes a world almost 2GB in size.)
Step 14: if you were doing a single player map, rename it back to what it was and move it back to the saves folder.
DONE!
Using Windows?
You can make two batch files that make the config file, and run the program instead of using the command prompt. These work for 32 and 64 bit Windows. If using XP, be sure to remove NOGUI from the config file.
Note: This is for 64bit windows that have the 32bit java installed (many computers). These files are not necessary if you have 64bit Java installed - it will work normally!
"We must be that generation that stands athwart history yelling: 'Hey, jackass, get your government off my freedom!'" - Jason Mattera
read the old locked forum: it has a lot of info about it.
http://www.minecraftforum.net/viewtopic.php?f=1012&t=76563&start=60#p1299186
basically you run your server once to create a world:
then you run MLG with -conf to autocreate the default config file:
then you run MLG with the size of the map you want: (this does 1000 blocks by 1000 blocks (actually slightly bigger) around your spawn)
AND YES, IT WILL WORK WITH AN SINGLE PLAYER MAP. Just move the world folder and name it correctly.
"We must be that generation that stands athwart history yelling: 'Hey, jackass, get your government off my freedom!'" - Jason Mattera
Standard Original/Vanilla
OR, IF YOU USE WINDOWS, YOU CAN DO THIS:
Optimized Vanilla:
Hmod/Hey-O (outdated, i know)
Bukkit (Bukkit + MLG currently has Issues with XP)BUKKIT REQUIRES: "-Djline.terminal=jline.UnsupportedTerminal -Duser.language=en"
BiomeTerrain Mod, Running with a vanilla SMP server (on windows)
BiomeTerrain Mod, Running with a vanilla SMP server (on linux/mac)
BiomeTerrain Mod, Running with Bukkit (on Windows) (Bukkit + MLG currently has Issues with XP)
BiomeTerrain Mod, Running with Bukkit (on linux/mac) (Bukkit + MLG currently has Issues with XP)
You can also change your options for java to suit your needs: (This line is for Vanilla, and has better performance)
Best Performance: (that I've found so far)
SEE THIS FORUM FOR MORE INFORMATION ON TUNING JAVA
or like this (for windows)
and 64-bit windows (running 32-bit java, as most people are):
and as always, remove nogui, if you are running on 32-bit Windows XP. (because Bukkit has no GUI mode, Bukkit has issues with XP 32-bit)
also, if you want to get real creative, you can change the serverpath so MLG doesnt have to be in the same folder... but you will only need this in very advanced setups.
I'd like to hear any comments on how it worked for you: worked/didnt work, OS, Java version... etc.
"We must be that generation that stands athwart history yelling: 'Hey, jackass, get your government off my freedom!'" - Jason Mattera
And the thing in your sig. Is it true? That didn't load for me either. lol
Windows XP has a small glitch where you need to remove NOGUI from the config file.
Linux will only run from terminal, and not the real command line like a server or ssh connection.
Still not have tried a mac. let me know if you do.
Have fun kids!
"We must be that generation that stands athwart history yelling: 'Hey, jackass, get your government off my freedom!'" - Jason Mattera
What OS are you running? MLG 1.3.0 is verified to work on Windows 7 so far.
as for the thing in my sig, "java -Xincgc -Xmx1024M -Xms512M -cp Minecraft.jar net.minecraft.LauncherFrame"
-Xincgc enables the garbage collector. It can potentially slow down a java program by 10%, if its not needed. But if you have memory issues like Minecraft crashing frequently - this will keep it stable, and run faster. also, the 1024 and 512 are default values and should be modified to reflect your own system. Anyways, it helps some computers but hurts others.
"We must be that generation that stands athwart history yelling: 'Hey, jackass, get your government off my freedom!'" - Jason Mattera
I have w7 x64. idk why it isn't working =/
make a new text file. open it.
add the following:
save it.
rename that text file: test.bat
run it by double clicking on it.
this will make a file called info.txt
open it and post the results
"We must be that generation that stands athwart history yelling: 'Hey, jackass, get your government off my freedom!'" - Jason Mattera
My results. Keeps showing that it cant find some class files.
http://pastebin.com/ndycK645
You are using Minecraft_Server.exe
use the Minecraft_Server.jar
that should fix your problem!
"We must be that generation that stands athwart history yelling: 'Hey, jackass, get your government off my freedom!'" - Jason Mattera
thanks for the input! (nice world, btw - what did you use to create the image?)
by the way, did you use terminal in the GUI, a ssh window or just the plain command line (no GUI at all)?
"We must be that generation that stands athwart history yelling: 'Hey, jackass, get your government off my freedom!'" - Jason Mattera
but isnt the jar for linux?
yes/no. the exe is windows only. the jar will run on anything that has java - windows, mac, linux, etc.
also, the jar is used for mods and other scripts and stuff because its much more flexible.
"We must be that generation that stands athwart history yelling: 'Hey, jackass, get your government off my freedom!'" - Jason Mattera
got it working i think. you didn't say you had to have the server open when doing it XD. I kept it open and ran the bat and now it's actually taking longer and it's doing something lmao.
now my map is 27mb! yay it worked!
thanks man for being patient with me haha.
nvm i dont have to keep it open. 1st try it failed, 2nd time was with the server up and it worked. now im adding on and i had to keep it closed. Oh well lol at least its working.
yeah you cant keep the server running, unless you copy everything and do it on another computer, then copy the world back.
happy to help!
oh and about the thing in my sig, that too needs the launcher .jar file - which is why it probably didnt work for you!
"We must be that generation that stands athwart history yelling: 'Hey, jackass, get your government off my freedom!'" - Jason Mattera
cool, I'll have to check that out!
"We must be that generation that stands athwart history yelling: 'Hey, jackass, get your government off my freedom!'" - Jason Mattera
The text inside the.bat file that runs the script:
Explanation: Use the default java runtime to run a jar file named "MinecraftLandGenerator.jar" with x axis width of 2000 blocks and y axis width of 2000 blocks. Pause when finished.
the text inside the .conf file that is created by the jar:
Explanation: The java runtime that will be used will be the default java runtime with an initial heap size of 1024 Megabytes and a maximum heap size of 1024 megabytes. It will run a jar file named minecraft_server.jar with an argument to not use the graphical user interface.
The file minecraft server is located in the same directory as the file "MinecraftLandGenerator.jar"
I'm not 100 percent sure if the x axis is east-west or the north axis. you will have to check it yourself since I mostly generate square maps. I recommend using 64-bit java if you plan on using more than 2 Gigs of Memory for this.
Other settings that may work.
The text inside the.bat file that runs the script:
the text inside the .conf file that is created by the jar:
please not that java.exe is not the same as javaw.exe.
say i have spawn at 0,0, will it generate from spawn 0-10000x then 0-10000z OR -10000-10000x and -10000-10000z?
Granted I'll find out once it's done but that's like another 45min away lol. (I used x and z cause that's what it is, y is vertical where as z is depth, so as not to confuse anyone)
EDIT: I'm going to guess it may be generating -10000 to 10000 on x and z because.... it's got 30min left and saying my world dir is 1.5gb and going up lmao