Take the 2-minute tour ×
Arqade is a question and answer site for passionate videogamers on all platforms. It's 100% free, no registration required.

One of the frustrating things about working with server mods is that if a mod updates with a new feature that requires you to find something that spawns, you won't be able to find it in any of the chunks that have been saved in the world. If you are on an SMP server that gets a lot of use, you really need to travel far to find these things (it could be a new type or ore or maybe a new type of tree that spawns maybe) Most chunks are still pristine and untouched but have been added to the world file because someone came by that chunk at one point.

It would be great if I could have chunks 'refresh' or 'rollback' to their original state instead of starting fresh on a new world.

Is there any way to do something like this?

share|improve this question
add comment

1 Answer 1

up vote 5 down vote accepted

Deleting the region file should force the game to regenerate the chunks when they are entered.

Region files are located in a subfolder of the world directory called "region", and have names in the form r.x.z.mcr, where x and z are the region's coordinates. The coordinates for the region a chunk belongs to can be found by taking the floor of the chunk coordinates divided by 32.

You can also use World Edit's //regen command to regenerate specific areas of the map.

share|improve this answer
    
Sounds like this would cause an entire region to be regenerated: 512x512 blocks, top to bottom of the world. That's a large chunk out of your world. Maybe not an issue for the OP, but definitely something that should be noted. –  Matthew Scharley Jun 13 '12 at 0:56
    
You're right, @MatthewScharley, it would, but I don't think there's any other way. –  kotekzot Jun 13 '12 at 4:11
    
thats ok, I think this may solve my problem. When I finally look into this and know for sure this is what I want, I'll mark it as an answer and +1 it. –  DJTripleThreat Jun 14 '12 at 7:31
1  
Alternatively, you can install World Edit on bukkit servers and use their //regen function, this regenerates the selected BLOCKS, so you can easily regenerate small areas without doing the entire chunk. –  Caelum19 Feb 22 at 14:27
1  
@Caelum19 thanks, addded! –  kotekzot Feb 22 at 19:56
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.