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
But when I run it, It starts at about -5000,-5000 which makes me think its only doing half those dimensions (10000,10000). Do you know of any reason it would be behaving this way?
But when I run it, It starts at about -5000,-5000 which makes me think its only doing half those dimensions (10000,10000). Do you know of any reason it would be behaving this way?
Thanks
I don't use the scripts that ship, but perhaps this will answer your question, assuming you run MLG directly from the prompt or make your own script much like the one I'll post at the end (either way, the end result is the same):
~$ java -jar MinecraftLandGenerator.jar -help
[MLG] Minecraft Land Generator version 1.7.5
[MLG] BuildID: (1381398906000)
[MLG] This version was last modified on Thursday, October 10, 2013 at 5:55 AM, Eastern Daylight Time
[MLG]
[MLG] Uses a Minecraft server to generate square land of a specified size.
[MLG]
[MLG]
[MLG] Usage: java -jar MinecraftLandGenerator.jar x z [serverpath] [switches]
[MLG]
[MLG] Arguments:
[MLG] x : X range to generate
[MLG] z : Z range to generate
[MLG] serverpath : the path to the directory in which the server runs (takes precedence over the config file setting)
[MLG]
[MLG] Switches:
[MLG] -verbose : causes the application to output the server's messages to the console
[MLG] -v : same as -verbose
[MLG] -w : Ignore [WARNING] and [SEVERE] messages.
[MLG] -alt : alternate server launch sequence
[MLG] -a : same as -alt
[MLG] -nowait : don't pause for anything
[MLG] -n : same as -nowait
[MLG] -i# : override the iteration spawn offset increment (default 380) (example: -i100)
[MLG] -x# : set the X offset to generate land around (example: -x0 or -x1000 or -x-500)
[MLG] -z# : set the Z offset to generate land around (example: -z0 or -z1000 or -z-500)
[MLG]
[MLG] Other options:
[MLG] java -jar MinecraftLandGenerator.jar -update
[MLG] Checks for and downloads new versions of MLG online.
[MLG]
[MLG] java -jar MinecraftLandGenerator.jar -printspawn
[MLG] java -jar MinecraftLandGenerator.jar -ps
[MLG] Outputs the current world's spawn point coordinates.
[MLG]
[MLG] java -jar MinecraftLandGenerator.jar -conf
[MLG] java -jar MinecraftLandGenerator.jar -conf download
[MLG] Generates or downloads a MinecraftLandGenerator.conf file.
[MLG]
[MLG] java -jar MinecraftLandGenerator.jar -readme readme.txt
[MLG] java -jar MinecraftLandGenerator.jar -readme
[MLG] Generates a readme file using supplied name or the default _MLG_Readme.txt
[MLG]
[MLG] java -jar MinecraftLandGenerator.jar -downloadfile http://example.com/file.txt
[MLG] Downloads whatever file from the internet you give it.
[MLG] java -jar MinecraftLandGenerator.jar -downloadlist list.txt
[MLG] list.txt (or any other file) contains a URL on each line which will be downloaded.
[MLG]
[MLG] java -jar MinecraftLandGenerator.jar -version
[MLG] java -jar MinecraftLandGenerator.jar -help
[MLG] java -jar MinecraftLandGenerator.jar /?
[MLG] Prints this message.
[MLG]
[MLG] When launched with the -conf switch, this application creates a MinecraftLandGenerator.conf file that contains configuration options.
[MLG] If this file does not exist or does not contain all required properties, the application will not run.
[MLG]
[MLG] MinecraftLandGenerator.conf properties:
[MLG] Java : The command line to use to launch the server
[MLG] ServerPath : The path to the directory in which the server runs (can be overridden by the serverpath argument)
[MLG] Done_Text : The output from the server that tells us that we are done
[MLG] Preparing_Text : The output from the server that tells us the percentage
[MLG] Preparing_Level : The output from the server that tells us the level it is working on
[MLG] Level-0 : Name of Level 0: The Overworld
[MLG] Level-1 : Name of Level 1: The Nether
[MLG] Level-2 : Name of Level 2: The End
[MLG] Level-3 : Name of Level 3: (Future Level)
[MLG] Level-4 : Name of Level 4: (Future Level)
[MLG] Level-5 : Name of Level 5: (Future Level)
[MLG] Level-6 : Name of Level 6: (Future Level)
[MLG] Level-7 : Name of Level 7: (Future Level)
[MLG] Level-8 : Name of Level 8: (Future Level)
[MLG] Level-9 : Name of Level 9: (Future Level)
[MLG] WaitSave : Optional: Wait before saving.
[MLG]
[MLG]
If you do NOT tell MLG where to start, it takes the default spawn site of the seed you're using. If you want it to start a a specific place (like 0,0 for example) you should do this:
That will create a 20,000 x 20,000 block map centred on 0,0, meaning it will go from -10000 to +10000 and as it runs, it breaks the total map into smaller segments, each with it's own mini-spawn site, and the output will look something like this:
~$ java -jar MinecraftLandGenerator.jar 1000 1000 -x0 -z0
[MLG] Minecraft Land Generator version 1.7.5
[MLG] BuildID: (1381398906000)
[MLG] This version was last modified on Thursday, October 10, 2013 at 5:55 AM, Eastern Daylight Time
[MLG]
[MLG] Uses a Minecraft server to generate square land of a specified size.
[MLG]
[MLG]
[MLG] Notice: X Offset: 0
[MLG] Notice: Z Offset: 0
[MLG] Processing world "./-5314725357969174249_v2", in 380 block increments, with: java -Djava.awt.headless=true -Djline.terminal=jline.UnsupportedTerminal -Duser.language=en -Xms1024m -Xmx2048m -Xincgc -jar minecraft_server.jar nogui
[MLG]
[MLG] Launching server once to make sure there is a world.
[Server] [Server thread/INFO]: Starting minecraft server version 1.7.4
[MLG] -5314725357969174249_v2: Overworld:
[MLG] 94%...
[Server] Done (8.000s)
[MLG] Saving server data...
[MLG] Stopping server... (Please Wait...)
[MLG]
[MLG] Backing up level.dat to level_backup.dat.
[MLG]
[MLG] Seed: -5314725357969174249
[MLG] Spawn point detected: [X,Y,Z] [244,64,220]
[MLG] Centering land generation on [0, 0] due to switches.
[MLG]
[MLG] Calculating Spawn Points...
[MLG] Setting spawn to [X,Y,Z]: [-304,64,-304] (1 of 9) 0.0% Done
[MLG] Estimated time remaining: 2 Minutes
[Server] [Server thread/INFO]: Starting minecraft server version 1.7.4
[MLG] -5314725357969174249_v2: Overworld:
[MLG] 93%...
[Server] Done (34.960s)
[MLG] Saving server data...
[MLG] Stopping server... (Please Wait...)
The last part, you'll see over and over, but with different coordinates each time as MLG saves and moves on, looping until the entire map is done. Notice, in my example:
[MLG] Setting spawn to [X,Y,Z]: [-304,64,-304] (1 of 9) 0.0% Done
That's your over-all progress indicator. If it says something like this
[MLG] Setting spawn to [X,Y,Z]: [-5000,64,-5000] (1 of 9) 0.0% Done
That's the centre of the area it's working on currently, and it will keep looping until it's done, so you'll see something like this:
[MLG] Minecraft Land Generator version 1.7.5
[MLG] BuildID: (1381398906000)
[MLG] This version was last modified on Thursday, October 10, 2013 at 5:55 AM, Eastern Daylight Time
[MLG]
[MLG] Uses a Minecraft server to generate square land of a specified size.
[MLG]
[MLG]
[MLG] Notice: X Offset: 0
[MLG] Notice: Z Offset: 0
[MLG] Processing world "./-5314725357969174249_v2", in 380 block increments, with: java -Djava.awt.headless=true -Djline.terminal=jline.UnsupportedTerminal -Duser.language=en -Xms1024m -Xmx2048m -Xincgc -jar minecraft_server.jar nogui
[MLG]
[MLG] Launching server once to make sure there is a world.
[Server] [Server thread/INFO]: Starting minecraft server version 1.7.4
[MLG] -5314725357969174249_v2: Overworld:
[MLG] 94%...
[Server] Done (8.000s)
[MLG] Saving server data...
[MLG] Stopping server... (Please Wait...)
[MLG]
[MLG] Backing up level.dat to level_backup.dat.
[MLG]
[MLG] Seed: -5314725357969174249
[MLG] Spawn point detected: [X,Y,Z] [244,64,220]
[MLG] Centering land generation on [0, 0] due to switches.
[MLG]
[MLG] Calculating Spawn Points...
[MLG] Setting spawn to [X,Y,Z]: [-304,64,-304] (1 of 9) 0.0% Done
[MLG] Estimated time remaining: 2 Minutes
[Server] [Server thread/INFO]: Starting minecraft server version 1.7.4
[MLG] -5314725357969174249_v2: Overworld:
[MLG] 93%...
[Server] Done (34.960s)
[MLG] Saving server data...
[MLG] Stopping server... (Please Wait...)
[MLG]
[MLG] Setting spawn to [X,Y,Z]: [-304,64,0] (2 of 9) 11.11% Done
[MLG] Estimated time remaining: 4 Minutes
[Server] [Server thread/INFO]: Starting minecraft server version 1.7.4
[MLG] -5314725357969174249_v2: Overworld:
[MLG] 93%...
[Server] Done (26.401s)
[MLG] Saving server data...
[MLG] Stopping server... (Please Wait...)
[MLG]
[MLG] Setting spawn to [X,Y,Z]: [-304,64,304] (3 of 9) 22.22% Done
[MLG] Estimated time remaining: 4 Minutes
[Server] [Server thread/INFO]: Starting minecraft server version 1.7.4
[MLG] -5314725357969174249_v2: Overworld:
[MLG] 86%...
[Server] Done (29.910s)
[MLG] Saving server data...
[MLG] Stopping server... (Please Wait...)
[MLG]
[MLG] Setting spawn to [X,Y,Z]: [0,64,-304] (4 of 9) 33.33% Done
[MLG] Estimated time remaining: 4 Minutes
[Server] [Server thread/INFO]: Starting minecraft server version 1.7.4
[MLG] -5314725357969174249_v2: Overworld:
[MLG] 97%...
[Server] Done (24.364s)
[MLG] Saving server data...
[MLG] Stopping server... (Please Wait...)
[MLG]
[MLG] Setting spawn to [X,Y,Z]: [0,64,0] (5 of 9) 44.44% Done
[MLG] Estimated time remaining: 3 Minutes
[Server] [Server thread/INFO]: Starting minecraft server version 1.7.4
[MLG] -5314725357969174249_v2: Overworld:
[MLG] 95%...
[Server] Done (7.813s)
[MLG] Saving server data...
[MLG] Stopping server... (Please Wait...)
[MLG]
[MLG] Setting spawn to [X,Y,Z]: [0,64,304] (6 of 9) 55.55% Done
[MLG] Estimated time remaining: 2 Minutes
[Server] [Server thread/INFO]: Starting minecraft server version 1.7.4
[MLG] -5314725357969174249_v2: Overworld:
[MLG] 87%...
[Server] Done (8.183s)
[MLG] Saving server data...
[MLG] Stopping server... (Please Wait...)
[MLG]
[MLG] Setting spawn to [X,Y,Z]: [304,64,-304] (7 of 9) 66.66% Done
[MLG] Estimated time remaining: 2 Minutes
[Server] [Server thread/INFO]: Starting minecraft server version 1.7.4
[MLG] -5314725357969174249_v2: Overworld:
[MLG] 93%...
[Server] Done (25.488s)
[MLG] Saving server data...
[MLG] Stopping server... (Please Wait...)
[MLG]
[MLG] Setting spawn to [X,Y,Z]: [304,64,0] (8 of 9) 77.77% Done
[MLG] Estimated time remaining: 1 Minute
[Server] [Server thread/INFO]: Starting minecraft server version 1.7.4
[MLG] -5314725357969174249_v2: Overworld:
[MLG] 82%...
[Server] Done (7.455s)
[MLG] Saving server data...
[MLG] Stopping server... (Please Wait...)
[MLG]
[MLG] Setting spawn to [X,Y,Z]: [304,64,304] (9 of 9) 88.88% Done
[MLG] Estimated time remaining: 40 Seconds
[Server] [Server thread/INFO]: Starting minecraft server version 1.7.4
[MLG] -5314725357969174249_v2: Overworld:
[MLG] 91%...
[Server] Done (8.399s)
[MLG] Saving server data...
[MLG] Stopping server... (Please Wait...)
[MLG]
[MLG] Finished generating chunks.
[MLG] Restored original level.dat.
[MLG] Generation complete in: 7 Minutes
[MLG] Please Visit: http://adf.ly/520855/mlg
[MLG] Or: https://sites.google.com/site/minecraftlandgenerator/
[MLG] Thanks!
In short, I don't think you have a problem, you just needed a little insight to the output. If you're not sure of what's been done, or you think it's incomplete some how, you can always use an editor like the one linked in my Signature below to check the map before playing it and if you're missing areas, then simply delete or rename the MLG log file in the world folder, run MLG again with the same options, and the holes should get filled in.
And of course, you can always come here if you're still having problems.
Hope that helps!
Here's the script I made, in case any other Linux users were curious:
#!/bin/bash
#--------
# mlg.sh
#--------
# Clear terminal window
clear
# change to MLG's working folder:
cd "/home/evilsupahfly/.pymclevel/ServerJarStorage/Release 1.7.4"
# Use echo to verify command line:
echo "java -jar MinecraftLandGenerator.jar $1 $2 $3 $4 $5 $6 $7 $8"
# Run MLG with the given options:
java -jar MinecraftLandGenerator.jar $1 $2 $3 $4 $5 $6 $7 $8
exit
It's a short-cut script of sorts. If you were wondering about the working folder, it's where MCEdit stores the Server JARs automatically when it downloads them, putting each in it's own properly numbered folder. I then use symbolic links to put the MLG worlds in places where they can be accessed by all my Minecraft tools so I don't have multiple copies of the same world, each with different things to keep track of. Very simple, clean, and efficient.
Forgive me if this has been asked before. There are a lot of pages to flip through.
So I'm running a modded server, Resonant Rise pack specifically, will this map generator work properly with it? When I tried, it didn't seem to want to work (couldn't catch the error before the window closed) with an existing world, and then when I did with a blank world, same seed, I got a vastly different world outcome.
First, sorry for me english, but i've a excuse, i'm french
So i've try to generate my solo word, but I've a problem as you can see
The soft generate the rest of the world around the already generate world. But they have a hugly separation between the "old" and the "new world" :/
My solo world have been created in 1.7.2 version. Do you know what can i do to fix it ??
thx, Kw4Tico
Did you use Minecraft Server 1.7.2 with MLG? If not, that could be (and probably is) your problem. Older versions of minecraft_server.jar can be downloaded by clicking here.
To fix, you may want to obtain a map editor (such as MCEdit, linked above my signature picture below) and delete the "wrong" sections of your map, then use the 1.7.2 version of minecraft_server.jar with MLG to "fix" it.
Forgive me if this has been asked before. There are a lot of pages to flip through.
So I'm running a modded server, Resonant Rise pack specifically, will this map generator work properly with it? When I tried, it didn't seem to want to work (couldn't catch the error before the window closed) with an existing world, and then when I did with a blank world, same seed, I got a vastly different world outcome.
If you want to catch the error open your .cmd file with a text editor (notepad++ or notepad(the basic one in windows)) and add PAUSE at the end of the code this will stop the command prompt until you hit another key
!!.cmd file!!
SET BINDIR=%~dp0
CD /D "%BINDIR%"
SET ScriptTitle=Minecraft Land Generator - Run MLG - Windows
title %ScriptTitle%
cls
echo %ScriptTitle%
echo %BINDIR%
I just got done running MLG on a Forge 953, Minecraft 1.6.4 world and it finished and everything looked fine. It was the basic 1000x1000 and I logged on to check. It didn't take more than 3 minutes of creative flying to get to a generating chunk, ie lag. What gives?
I"m not clear exactly how this works having read through the thread. I generate a list of locations in a .log file but I see no region files generated in the region folder.
I just got done running MLG on a Forge 953, Minecraft 1.6.4 world and it finished and everything looked fine. It was the basic 1000x1000 and I logged on to check. It didn't take more than 3 minutes of creative flying to get to a generating chunk, ie lag. What gives?
I'm not sure I understand the question. You're saying MLG took longer to generate the world than flying around in creative mode did? Or are you saying you ran out of generated space sooner than you thought you would? If it's the second, 1000x1000 is blocks, not chunks, and not very big, comparatively speaking.
I"m not clear exactly how this works having read through the thread. I generate a list of locations in a .log file but I see no region files generated in the region folder.
MLG uses whatever info is passed to it on the command line, and found in the server.properties file to make the world. The .log file tells you where MLG has been working, and not where it needs to work. If you suspect something is up, you can delete the log file from that world save and re-run MLG.
Have you used a map editor (such as the one linked in my Signature, below) to examine the new world outside Minecraft and verify? Did you look in the correct region folder?
Ok, I followed the instructions, ran MLG, it generated a 1.5.2 world. Is that the latest minecraft version that works with MLG?
me having the same problem but people said on the feed the beast forums(modded minecraft latest build is 1.6.4) and it worked for them idk why it only generates a 1.5.2 world. but i need this program
Searching but minecraft land generator searches lead to terrain generators rather than land generators, so anyone know of one that'll do it in game or at the very least without restarting the server? Mods have somehow increased the time it takes to start up the server by a couple fold to the point where 10k^2 takes a day+ to gen so would rather not rely on mlg.
me having the same problem but people said on the feed the beast forums(modded minecraft latest build is 1.6.4) and it worked for them idk why it only generates a 1.5.2 world. but i need this program
MLG will work with every Minecraft version. Even modded server .jars. All you need is the right version for your needs, and in point of reference, you can read my response to a similar question by clicking here.
The newest server version (1.7.5 as of this post) can always be downloaded from https://minecraft.net/download and if you want other versions, click the link in the first paragraph, just above.
The way you run MLG may differ depending upon whether or not you've modded your server, but it will work. I believe Page One of this thread tells you the various ways you can run MLG, as well as MLG having a very extensive built-in help system which can be accessed like so:
java -jar MinecraftLandGenerator.jar -help
And if you're still stuck, just ask here, though I would highly recommend reading the last ten pages of this thread first, as whatever issue you're likely having has probably already been solved.
EDIT: Nvm, I followed the instructions on the website. Ran MLG, it said there was no server, started a 1.5.2 server. Then I put a 1.7.5 server in the folder and doubleclicked Update_MLG_Server I think it was called. Still 1.5.2. I've tried some other things too, but still 1.5.2. The java -jar command you're talking about doesn't work, it says it can't access the jar file.
What have you configured in minecraftlandgenerator.conf?
If you named the 1.7.5 server something else other than the expected minecraft_server.jar it needs to be set there. Also, when running from the command prompt, you must be in the same folder as MLG or java -jar MinecraftLandGenerator.jar x z [serverpath] [switches] won't work. Ideally, if you have MLG and minecraft_server.jar in the same folder, there's not much to be done in terms of config.
However, MLG does allow you to specify a different location using the ServerPath option.
Here's my minecraftlandgenerator.conf for example:
#Minecraft Land Generator Configuration File: Version: 1.7.5
#Authors: Corrodias, Morlok8k, pr0f1x, jaseg
#Auto-Generated: Thursday, October 10, 2013 at 2:55 AM, Pacific Daylight Time
#Line to run server:
Java=java -Djava.awt.headless=true -Djline.terminal=jline.UnsupportedTerminal -Duser.language=en -Xms1024m -Xmx2048m -Xincgc -jar minecraft_server.jar nogui
#Location of server. use "." for the same folder as MLG
ServerPath=.
#Strings read from the server
Done_Text=Done
Preparing_Text=Preparing spawn area:
Preparing_Level=Preparing start region for
Level-0=Overworld
Level-1=Nether
Level-2=The End
Level-3=Level 3 (Future Level)
Level-4=Level 4 (Future Level)
Level-5=Level 5 (Future Level)
Level-6=Level 6 (Future Level)
Level-7=Level 7 (Future Level)
Level-8=Level 8 (Future Level)
Level-9=Level 9 (Future Level)
#Optional: Wait a few seconds after saving.
WaitSave=false
webLaunch=false
I would suggest taking the time to read page one (quoted here for your reading pleasure) to understand how everything works because it sounds to me like you're missing something simple yet fundamental:
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... Screenshot:
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.
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.
-----------------------------------------------
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
Still not working... sorry for being this dumb. Could you tell me step by step how to do it? Because the step by step instructions in the OP and on the website isn't detailed enough for a dumb person like me to follow.
EDIT: I extract the stuff into a folder, and then click on MLG_Initial_Setup_Windows, right? Absolutely nothing else, just these two things to begin with, right?
Yes. Double-ClickingMLG_Initial_Setup_Windows.cmd will do the following:
Create the MinecraftLandGenerator.conf file
Save it with the default settings (which are good 99.9% of the time)
Download the newest available minecraft_server.jar from Mojang
Create a test world to verify settings
Delete the test world (it is only a test world after all)
Now, I'm a Linux user, and I don't run Windows, so if any of my following directions are wrong, I invite Windows users to post a correction since I'm going by memory here which may not be perfect because I switched to Linux just before Vista came out.
That being said, however, I'm fairly certain you should see lots of text scrolling through the window as MLG runs and works. Once it's all done, you should probably just put Run_MLG_Windows.cmd, MinecraftLandGenerator.jar, minecraft_server.jar, server.properties, and MinecraftLandGenerator.conf in your Minecraft SAVES folder (%appdata%\.minecraft\saves on Windows) so not only will MLG have access to all your saves, but you will have access in Minecraft to any new worlds you make in MLG, as well. To this end, I believe Windows still retains the "Send To Desktop (Create Shortcut)" feature I was fond of in XP's Right Click Menu.
Then, if I was you, I'd make a shortcut for both Run_MLG_Windows.cmd and server.properties and put them on your desktop for ease of use and future simplicity.
That way, each time you want to run MLG on an existing world or create a new one, you just open server.properties, change the world name to that of your intended target (and if a world by that name doesn't exist, minecraft_server.jar will make one), and run MLG on it from your Desktop.
Rcon version is still in the works.
"We must be that generation that stands athwart history yelling: 'Hey, jackass, get your government off my freedom!'" - Jason Mattera
Is there some sort of max generation size built in? I was trying to do a 20000 by 20000 may on linux. I changed the Run_MLG_Linux.sh to have the line
java -jar MinecraftLandGenerator.jar 20000 20000 -w
But when I run it, It starts at about -5000,-5000 which makes me think its only doing half those dimensions (10000,10000). Do you know of any reason it would be behaving this way?
Thanks
I don't use the scripts that ship, but perhaps this will answer your question, assuming you run MLG directly from the prompt or make your own script much like the one I'll post at the end (either way, the end result is the same):
If you do NOT tell MLG where to start, it takes the default spawn site of the seed you're using. If you want it to start a a specific place (like 0,0 for example) you should do this:
That will create a 20,000 x 20,000 block map centred on 0,0, meaning it will go from -10000 to +10000 and as it runs, it breaks the total map into smaller segments, each with it's own mini-spawn site, and the output will look something like this:
The last part, you'll see over and over, but with different coordinates each time as MLG saves and moves on, looping until the entire map is done. Notice, in my example:
That's your over-all progress indicator. If it says something like this
That's the centre of the area it's working on currently, and it will keep looping until it's done, so you'll see something like this:
In short, I don't think you have a problem, you just needed a little insight to the output. If you're not sure of what's been done, or you think it's incomplete some how, you can always use an editor like the one linked in my Signature below to check the map before playing it and if you're missing areas, then simply delete or rename the MLG log file in the world folder, run MLG again with the same options, and the holes should get filled in.
And of course, you can always come here if you're still having problems.
Hope that helps!
It's a short-cut script of sorts. If you were wondering about the working folder, it's where MCEdit stores the Server JARs automatically when it downloads them, putting each in it's own properly numbered folder. I then use symbolic links to put the MLG worlds in places where they can be accessed by all my Minecraft tools so I don't have multiple copies of the same world, each with different things to keep track of. Very simple, clean, and efficient.
So I'm running a modded server, Resonant Rise pack specifically, will this map generator work properly with it? When I tried, it didn't seem to want to work (couldn't catch the error before the window closed) with an existing world, and then when I did with a blank world, same seed, I got a vastly different world outcome.
Did you use Minecraft Server 1.7.2 with MLG? If not, that could be (and probably is) your problem. Older versions of minecraft_server.jar can be downloaded by clicking here.
To fix, you may want to obtain a map editor (such as MCEdit, linked above my signature picture below) and delete the "wrong" sections of your map, then use the 1.7.2 version of minecraft_server.jar with MLG to "fix" it.
If you want to catch the error open your .cmd file with a text editor (notepad++ or notepad(the basic one in windows)) and add PAUSE at the end of the code this will stop the command prompt until you hit another key
!!.cmd file!!
SET BINDIR=%~dp0
CD /D "%BINDIR%"
SET ScriptTitle=Minecraft Land Generator - Run MLG - Windows
title %ScriptTitle%
cls
echo %ScriptTitle%
echo %BINDIR%
java -jar MinecraftLandGenerator.jar 1000 1000 -a
PAUSE
!!end of .cmd file!!
Always happy to lend a hand when and where I can.
I just got done running MLG on a Forge 953, Minecraft 1.6.4 world and it finished and everything looked fine. It was the basic 1000x1000 and I logged on to check. It didn't take more than 3 minutes of creative flying to get to a generating chunk, ie lag. What gives?
I'm not sure I understand the question. You're saying MLG took longer to generate the world than flying around in creative mode did? Or are you saying you ran out of generated space sooner than you thought you would? If it's the second, 1000x1000 is blocks, not chunks, and not very big, comparatively speaking.
MLG uses whatever info is passed to it on the command line, and found in the server.properties file to make the world. The .log file tells you where MLG has been working, and not where it needs to work. If you suspect something is up, you can delete the log file from that world save and re-run MLG.
Have you used a map editor (such as the one linked in my Signature, below) to examine the new world outside Minecraft and verify? Did you look in the correct region folder?
---
Thanks!
MLG will work with every Minecraft version. Even modded server .jars. All you need is the right version for your needs, and in point of reference, you can read my response to a similar question by clicking here.
The newest server version (1.7.5 as of this post) can always be downloaded from https://minecraft.net/download and if you want other versions, click the link in the first paragraph, just above.
The way you run MLG may differ depending upon whether or not you've modded your server, but it will work. I believe Page One of this thread tells you the various ways you can run MLG, as well as MLG having a very extensive built-in help system which can be accessed like so:
And if you're still stuck, just ask here, though I would highly recommend reading the last ten pages of this thread first, as whatever issue you're likely having has probably already been solved.
---
What have you configured in minecraftlandgenerator.conf?
If you named the 1.7.5 server something else other than the expected minecraft_server.jar it needs to be set there. Also, when running from the command prompt, you must be in the same folder as MLG or java -jar MinecraftLandGenerator.jar x z [serverpath] [switches] won't work. Ideally, if you have MLG and minecraft_server.jar in the same folder, there's not much to be done in terms of config.
However, MLG does allow you to specify a different location using the ServerPath option.
Here's my minecraftlandgenerator.conf for example:
I would suggest taking the time to read page one (quoted here for your reading pleasure) to understand how everything works because it sounds to me like you're missing something simple yet fundamental:
Page One:
---
Yes. Double-Clicking MLG_Initial_Setup_Windows.cmd will do the following:
That being said, however, I'm fairly certain you should see lots of text scrolling through the window as MLG runs and works. Once it's all done, you should probably just put Run_MLG_Windows.cmd, MinecraftLandGenerator.jar, minecraft_server.jar, server.properties, and MinecraftLandGenerator.conf in your Minecraft SAVES folder (%appdata%\.minecraft\saves on Windows) so not only will MLG have access to all your saves, but you will have access in Minecraft to any new worlds you make in MLG, as well. To this end, I believe Windows still retains the "Send To Desktop (Create Shortcut)" feature I was fond of in XP's Right Click Menu.
Then, if I was you, I'd make a shortcut for both Run_MLG_Windows.cmd and server.properties and put them on your desktop for ease of use and future simplicity.
That way, each time you want to run MLG on an existing world or create a new one, you just open server.properties, change the world name to that of your intended target (and if a world by that name doesn't exist, minecraft_server.jar will make one), and run MLG on it from your Desktop.
How's that for details? Fit the bill for you?