ChunkFixer
ChunkFixer
About ChunkFixer
ChunkFixer is a plugin that is designed to fix any chunks that you are having an issue with. Sometimes in Minecraft, chunks just seem to have problems and that can cause problems to you, as the server administrator. There are many ways to fix these errors, but this is one of the easier ways to do so. This plugin is multi-world compatible, meaning you can be in one world and fix a chunk error in another. This plugin is also helpful if you just want to fix a chunk that has had too many explosions on it, or the terrain has been really modified and you don't like it, just simply use the /cf command and you're good.
ChunkFixer Features
- Regenerates chunks that are causing non-stop lag / spamming of the server's console!
- Can regenerate a chunk you are standing on, or a chunk anywhere, in any world.
- Multi-World support!
- NOTICE: This plugin doesn't delete everything in the chunk, but instead restores it to it's original state, before anything / anyone ever did anything to it. (This plugin may mess with some things on the surface, including trees. It may tamper with the ores as well.)
Permissions!
Chunkfixer is now permission friendly! If you don't have a permission plugin, it will default to isOp()!
- chunkfixer.* - All commands for ChunkFixer.
- chunkfixer.fix.* - Permissions for both the /chunkfix x y [world] and just plain /chunkfix command.
- chunkfixer.fix.far - Permission for the /chunkfix x y [world] command.
- chunkfixer.fix.selection - Permission to fix cuboid areas. ('/chunkfix selection' and '/chunkfix selection here')
- chunkfixer.fix - Permission for the /chunkfix(/cf) command.
- chunkfixer.view - Permission for the /chunkhere(/chere) command.
- chunkfixer.other - Permission for regenerating a chunk where another player is standing
Commands
- /chunkfix [x] [z] [world]
- /cf [x] [z] [world]
- /chunkfixer [x] [z] [world]
- /chunkfix [player]
- /cf [player]
- /chunkfixer [player]
- /chunkfix selection [here]
- /cf selection [here]
- /chunkfixer selection [here]
- /chunkhere
- /chere
- You can just type in /chunkfix on the chunk you want to regenerate, and you don't have to type in the chunk's coordinates.
How to install / use
- To install this mod, simply place it into your /server/plugins folder, and restart your server.
- When you have the plugin in there join your server and type in the command "/chunkfix [x] [y] [world]" or just "/chunkfix" if you are standing on the chunk you want to regenerate.
- Set up the your permission plugin to use the commands, or if you don't have a permission plugin, make sure you are OP! The permission nodes are listed above.
Suggestions
If you have any suggestions for this plugin, just ask and I will see what I can do.
Future Updates
- Give me suggestions!
Changelog
Version 1.1
Added:
- When using '/cf selection', if you do not have a selection, it will automatically give you the selection wand.
Changed:
- Slight code cleanup / optimization.
- Made a few of the messages look nicer, coordinates stick out more)
- Built against latest Bukkit build for 1.6.2
v1.0
- Built against latest RB (RB-4.0)
- Added a cuboid selection method using a blaze rod. - Select one block with a blaze rod by right clicking with a blaze rod and select another spot again by doing the same thing and then use the command '/chunkfix (/cf) selection view' to view all of the chunks that your selection goes through, then type in '/cf selection' and that will regenerate every chunk that was listed in '/cf selection view'.
- Cleaned up some code
- Added SEX (May or may not be an acronym)
v0.7
- Built against latest RB (CB 1.1-R4)
- Added the ability to regenerate a chunk on a player. (/chunkfix <name>) Permission Node: chunkfix.other
v0.6
- Built against latest RB
- Cleaned up some code!
v0.5
- Added Permissions! If you don't have a permissions plugin, it will default to isOp()!
v0.4
- Fixed version number!
- Added a null checker. (Should display a message if the chunk isn't there)
- Built against the latest RB!
v0.3
- NEW COMMAND! /chunkhere(/chere) to see what chunk you are on!
v0.2
- Fixed having to type in the world when using coordinates.
v0.1
- Release
I've tried just about everything to reset chunks on my world where another admin has gone and used mcedit to import stupid massive spaceships and the like. This plugin is the only one that works!
What I'm really wanting now is the ability to run the plugin from server console so I can write a script to reset all the chunks I define quite quickly. At the moment chunkfix from console produces a unexpected exception...
It doesn't seem to do anything at all.
There is some horribly destroyed land and I want it to be default again, but it isn't doing anything.
EDIT: It seems that it just doesnt take visual effect until you log out then back in. Also is not update-friendly.
works with 1.2.5
suggestion fix multiple chunks at the time eg. a field 10x5 or something in that way
@phaed420
Oh, didn't catch that... Thanks!
Should probably change description to say:
/chunkfix [x] [z] [world]
rather than:
/chunkfix [x] [y] [world]
@Folas1337
This works with 1.2.4, does it not?
Sorry for being so harsh, but... 1.2.4 update?
Just wanted to say a giant thanks. I recently had a serious crashing issue with my server, and after running Chunk Fixer, the issue seems resolved.
Now if only I could get Orebfuscator to quit running out of memory. :)
@Ekevoo
Thanks, I have begun development on the cuboid selection bit. And yes, this should work with 1.2.3, tell me if you have any problems. :D
@Giinger
You could talk to WorldEdit's cuboid selection, round it up to the chunk. Or simply have a command that takes two pairs of XZ coordinates.
Is this 1.2.3 compatible? If not, any guess about when it will be?
@arnnie
That has been wanted for a long time, I will try to figure out how I can use a cuboid selection. Thanks for the suggestion!
Hi, Could you make it possible to fixer several chunks (an area) at once? Ether select a radius number or select two diagonal points and fixes every chunk in the square.
thank you! this has been of huge help on my server.
suggestion: add the ability to regenerate chunks within a coordinate range ((x1 y1) - (x2 y2)). I'd use this more for fixing boundaries across differences in terrain generators (i run a server with a map that dates from late alphas / early betas)
Anyway, even if you decide that's out of your scope, this is a great tool, please do continue to keep it up to date!
@konata400
I added this command, but I have to test it first and then release it. Thanks for the suggestion BTW. :D
Suggestion: New Command
/chunkfix username for fix chunk of a user position.
A good thing to add would be a chunk check so it periodically sifts through the chunks to see if any problems will occur.
Thank you so much. I had like 100 (literally) chunk problems and your plugin fixed them all.
@felipepcjr
Is your server public? If so, could I join it and try it out and see what's wrong?
im doing it and its not doing anything on the chunk. this is a missplaced chunk, and when I try to world edit it, it world edits another chunk instead of the missplaced one.
@TyrantElf
I'm glad you enjoy it! Leave any suggestions if you have any.