GenerateRegion
- If your server constantly lags from players exploring outside of the world's current boundaries but you have plenty of disk space...
- If you need a large world to test another plugin on (such as a map renderer)...
- If you just like generating things because you like the sound of your processor crying for help...
...you probably want to use this plugin.
Simply put, it generates regions of your map. It can't get much simpler than that.
There are a few safety features built in:
- When your server has less than 10MB of memory left, it waits before trying to generate any more chunks.
- No players are allowed on the server during generation.
- Every tick, only a 3x3 grid of chunks is loaded, saved, and unloaded, giving the file system time to catch up while still finishing in a reasonable amount of time.
- The generation process will wait for chunks to be saved if more than 200 are waiting in the queue to avoid running out of memory.
- If a generation command would generate more than 16GB of data, it is prevented.
Commands
There are currently three commands usable in the GenerateRegion plugin:
- /generateregion worldname x z
- /generateregion worldname startX startZ endX endZ
- /generateregion progress
The first generates a single region, the second allows you to generate multiple regions in one command, and the third allows you to get a progress report and an estimate of remaining time.
Keep in mind that the units in these commands are regions, not blocks or chunks. If you need help converting between these units, I suggest using Dinnerbone's Coordinate Tools. Regions are quite large - if you stand in the middle of one, even on the highest allowed view range, you will not be able to see any others.
-
View User Profile
-
Send Message
Posted Aug 1, 2014just making sure, the chunks we already have loaded, do they get re-written? i want to use this plugin to fill the "holes" in my server if you look at my dynmap you'll see there are many gaps in the world, i want to fix that without having to fly everywhere
http://192.95.29.182:8123
-
View User Profile
-
Send Message
Posted Jul 3, 2013This plugin didn't make my computer do crap I never went above 30% cpu. But atleast it generated world without me having to fly around.
-
View User Profile
-
Send Message
Posted Mar 21, 2013As of 1.4.7R1.0 I'm gettting the usage messages on any command except "/generateregion progress".
/generateregion world 1 1
and
/generateregion world -1 -1 1 1
only spit back the usage details.
-
View User Profile
-
Send Message
Posted Mar 13, 2013@atnpgo
Yea.. "worldname". Make sure to use "world". To generate BLOCK -9999 0 -9999 to 9999 0 9999 use the command: "/generateregion worldname -20 -20 20 20". Make sure to put your correct worldname in too
-
View User Profile
-
Send Message
Posted Mar 11, 2013/generateregion worldname x z and /generateregion progress work perfectly. However, /generateregion worldname startX startZ endX endZ just spits back usage messages.
-
View User Profile
-
Send Message
Posted Mar 5, 2013works good for me craftbukkit-1.4.7-R1.0.jar plugins
WorldEdit, Craftconomy3, TagAPI, mcjobs, BattleNight, Vault, PermissionsEx, GenerateRegion, WorldGuard, ColoredTablist, dynmap, Announcer, CoreProtect, Modifyworld, GriefPrevention, Votifier, MobArena, CommunityBridge, Essentials, ChatManager, EssentialsProtect, EssentialsSpawn, EssentialsAntiBuild, ChestShop, EssentialsChat
good plugin thanks
-
View User Profile
-
Send Message
Posted Mar 2, 2013Update the plugin please!
-
View User Profile
-
Send Message
Posted Feb 4, 2013This doesn't seem to work
I have tried everything and it just spits back the usage message, I have no idea why it wont work.
-
View User Profile
-
Send Message
Posted Nov 26, 2012Would this overwrite existing chunks that have already been generated?
-
View User Profile
-
Send Message
Posted Oct 27, 2012This is VERY important. Plugin works fine as long as you remember this.
"I'll fix that error, but you should really rethink generating over a hundred trillion (104,847,114,502,144 to be exact) square meters of land.
Also, every region takes about 7-8MB of disk space for me, so you're looking at about three petabytes of data.
If you wanted to generate from BLOCK -9999 0 -9999 to BLOCK 9999 255 9999, the command would be /generateregion worldname -20 -20 20 20"
-
View User Profile
-
Send Message
Posted Oct 25, 2012Man I don't know what I'm doing wrong. I'd really like to use your plugin. I'm typing
/generateregion DungeonWorld 1 -1 187 -187
And it keeps kicking it back saying there is an error, that I'm not inputting correctly.
I'm typing the 1st x, 1st z, last x, and last z (using regions as you said... trying to get to the real 3000 x and z), and it doesn't like it.
-
View User Profile
-
Send Message
Posted Sep 12, 2012Works perfectly with 1.3.2 beta build. Thank you very much !
-
View User Profile
-
Send Message
Posted Sep 3, 2012Update for 1.3.2?
-
View User Profile
-
Send Message
Posted Sep 2, 2012It is not regenerate allready generated and player-modified regions? Very sad to lost all handwork.
Very strange, but generate -500 -500 500 500 take 8016 gigabytes. -1 -1 1 1 takes 16 gigabytes? 8016/500 = 16,032
-
View User Profile
-
Send Message
Posted Jul 31, 2012I get errors from my world generator plugin CityWorld after about 600 chunks are generated and then it stops (still blocking login etc) and I have to reload and start it again. It does progress that way though. It's just lots of reloading and doing it over and over and over. Without CityWorld I just get errors like lizardbones and also have to restart every time to get more chunks.
I am using CB 1.2.5-R5.0.
-
View User Profile
-
Send Message
Posted Apr 24, 2012The following error pops up while this runs. It doesn't seem to stop the generation process and it doesn't seem to cause issues, other than it pops up. I don't know if that means it can be safely ignored though, as the regions being generated are far, far away from anywhere I've traveled.
2012-04-24 10:00:11 [SEVERE] at java.io.BufferedInputStream.read1(BufferedInputStream.java:275) 2012-04-24 10:00:11 [SEVERE] at java.io.BufferedInputStream.read(BufferedInputStream.java:334) 2012-04-24 10:00:11 [SEVERE] at java.io.DataInputStream.readFully(DataInputStream.java:195) 2012-04-24 10:00:11 [SEVERE] at java.io.DataInputStream.readFully(DataInputStream.java:169) 2012-04-24 10:00:11 [SEVERE] at net.minecraft.server.NBTTagByteArray.load(SourceFile:26) 2012-04-24 10:00:11 [SEVERE] at net.minecraft.server.NBTBase.b(SourceFile:77) 2012-04-24 10:00:11 [SEVERE] at net.minecraft.server.NBTTagCompound.load(NBTTagCompound.java:53) 2012-04-24 10:00:11 [SEVERE] at net.minecraft.server.NBTTagList.load(SourceFile:36) 2012-04-24 10:00:11 [SEVERE] at net.minecraft.server.NBTBase.b(SourceFile:77) 2012-04-24 10:00:11 [SEVERE] at net.minecraft.server.NBTTagCompound.load(NBTTagCompound.java:53) 2012-04-24 10:00:11 [SEVERE] at net.minecraft.server.NBTBase.b(SourceFile:77) 2012-04-24 10:00:11 [SEVERE] at net.minecraft.server.NBTTagCompound.load(NBTTagCompound.java:53) 2012-04-24 10:00:11 [SEVERE] at net.minecraft.server.NBTBase.b(SourceFile:77) 2012-04-24 10:00:11 [SEVERE] at net.minecraft.server.NBTCompressedStreamTools.a(SourceFile:75) 2012-04-24 10:00:11 [SEVERE] at net.minecraft.server.ChunkRegionLoader.a(ChunkRegionLoader.java:49) 2012-04-24 10:00:11 [SEVERE] at net.minecraft.server.ChunkProviderServer.loadChunk(ChunkProviderServer.java:135) 2012-04-24 10:00:11 [SEVERE] at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:78) 2012-04-24 10:00:11 [SEVERE] at org.bukkit.craftbukkit.CraftWorld.loadChunk(CraftWorld.java:255) 2012-04-24 10:00:11 [SEVERE] at org.bukkit.craftbukkit.CraftWorld.loadChunk(CraftWorld.java:139) 2012-04-24 10:00:11 [SEVERE] at net.llamaslayers.generateregion.GenerateTask.run(GenerateTask.java:69) 2012-04-24 10:00:11 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:126) 2012-04-24 10:00:11 [SEVERE] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:517) 2012-04-24 10:00:11 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449) 2012-04-24 10:00:11 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
Other than this error, it seems to run OK on the 1.2.5-R0.1 version of CraftBukkit.
-
View User Profile
-
Send Message
Posted Apr 9, 2012@coletam
Yes.
-
View User Profile
-
Send Message
Posted Apr 9, 2012Does this work on CB 1.2.5 RB1.0?
-
View User Profile
-
Send Message
Posted Mar 30, 2012@lizardbones
The stop command will shut down your server without breaking anything.
@callmejordy265
Hmm, that sounds like a cool idea.
-
View User Profile
-
Send Message
Posted Mar 30, 2012Oooh, yeah. Nice plugin. Um...is there any way to stop the plugin in mid-generate? If I shut the server down while the plugin is generating terrain, will it break anything?