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
Awesome, I use this on our Tekkit server to keep an annoying glitch with buildcraft pipes from continuously corrupting our world. If someone screws up and uses a buildcraft pipe wrong, instead of corrupting the map it just regenerates their stuff.
Great plugin, Helped me fix my server world!
@TomabScblieter
Thanks for the great feedback, this is my first real project using java and any suggestion to improve it would be awesome :D
Awesome plugin. I like how easy it is to regenerate broken chunks. I would continue to use this plugin if I couldn't do comparative functions with worldedit. I'm a real fan of minimalist plugins though so thank you for putting this one out there.
If you said "no" on the poll, it would be awesome if you could say why you said that.
@godsyn
Thanks, but with WorldEdit you have to go to the chunk and use the chunk command(Unless there is another command that I don't know about?) With this you can just type in the chunks coordinates.
@Giinger
"you can just define the chunk you would like to regenerate" (that would be defining the points)
WorldEdit users can also use chunk to select the current chunk. then regen to regen said chunk. This is a lightweight alternative to a specific command, and I appreciate that, but it isn't any easier to use than worldedit.
Keep up the good work.
@RustyDagger
You don't have to select one point and then select another like world edit, you can just define the chunk you would like to regenerate. Sometimes errors spam the console more the closer you are to the chunk, so you can be really far away from it and fix it.
And this doesn't fix the problem where they are bouncing in the void, I think there is a plugin that does that, would you like me to add that to this?
EDIT: You could get a plugin that keeps your chunks that are most active loaded, try the plugin: http://forums.bukkit.org/threads/mech-edit-ptweaks-v1-6-1-remove-all-server-lag-1337.39399/
Report error: http://forums.bukkit.org/threads/admn-edit-chunkfixer-0-2-fix-broken-chunks-1337.45324/
And how is this any different to /regen from world edit that like every server already has. apart from being in another world.
what would be useful is a fix for the client side bug where the server just refuses to send them the data for the chunk and they have to re log or fly to get out of the bouncing in the void...
I have a few annoying chunks on my server that do this to players all the time namely spawn on our main map and the rejoining of players causes extra stress on the server than is really needed.
Add lighting fixer?
WOWOWOW... very nice plugin !!
5/5 :)