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
-
View User Profile
-
Send Message
Posted Dec 14, 2013@Ozelo
We had multiple backups actually. Which is why we were able to retrieve the spawn back.
Also, recently we've just managed to wipe another part of our server, and this time we didn't even do /cf. It happened when I put down a sign. Which was convenient.
1) Change /cf to show commands, not to wipe all your hard work... 2) Add a /cf undo command. 3) Use logic when coding a plugin.
Thanks.
-
View User Profile
-
Send Message
Posted Dec 13, 2013I don't know where to write this, i didn't find ANY clear answer on my question, so maybe you can answer me please? The thing is: when you update minecraft map from version to a newer one (where the world generation code is changed) huge WALLS appear all over the map, just like on this screenshot: https://www.dropbox.com/s/sf3rlmx5wj5dhcf/2013-12-01_15.15.06.png I updated my server from 1.6.4 to 1.7.2, which, you know, "changed the world". So these "WALLS" are on border between 1.6.4 part of world and 1.7.2 part... How can i fix this (without wasting tons of time to fix it with worldedit smoothing). Can your plugin help somehow? Will it EVER be fixed? Or we have nothing to do about it? Thanks
-
View User Profile
-
Send Message
Posted Dec 11, 2013I have a question. Why trees appears to be placed not at the center of that chunk, but with a little offset than the original chunk was?
Now a sugggestion: Can it be a selective chunk fix? For example, /chunkfix ores, /chunkfix trees, /chunkfix water, /chunkfix stone, /chunkfix surfaceonly, /chunkfix underground, etc?
-
View User Profile
-
Send Message
Posted Dec 10, 2013@Kierokeh
Said the moron admin which does not even have a backup in hand. But I guess now you got a lesson. Peace.
-
View User Profile
-
Send Message
Posted Dec 6, 2013HUGE thanks to the moron who thought the command /cf would be a good idea to re-generate the chunk without a warning nor an undo option, real freakin clever.
We'eve just lost our spawn, as I typed /cf to see what the commands were. Not to break the spawn that we spent hours on.
/cf should show the commands, not re-generating the chunk.
-
View User Profile
-
Send Message
Posted Nov 29, 2013@Re4ly
yes.
-
View User Profile
-
Send Message
Posted Oct 21, 2013does this still work with 1.6.4?
-
View User Profile
-
Send Message
Posted Aug 22, 2013@XLighterShadowX
I am using this exact one for trying to find good values of Terrain Control. It works as you want it too. Namely, it does the same thing as if you stopped the server and deleted the specific chunks and started it back up again.
My process right now is -Edit and save the config files -Run command: /tc reload -Use Chunkfixer to regenerate chunks and analyze
It's super fast to try a minor tweak and see the results right away.
Edit: I guess it doesn't spawn the objects correctly. I'm not sure why, but the terrain appears to look good.
-
View User Profile
-
Send Message
Posted Aug 21, 2013add config for disable rod, pretty annoying if using other plugins with it (creativegates), and add worldedit axe compatibility instead
-
View User Profile
-
Send Message
Posted Aug 18, 2013This would be more useful if it could use a WorldEdit selection instead of a wand. Then I don't have to be physically present, I can use WE's tools for selection, like
pos1 0,0,0
pos2 1000,0,1000
/cf selection
-
View User Profile
-
Send Message
Posted Aug 16, 2013@xxbabygirlstar
Sorry for the late reply here, but I can implement that into the next version. Thanks for the suggestion.
@XLighterShadowX
I don't think it would work with that but it would be really cool if it did. I'm on vacation right now, but could you try out the plugin and regen a single chunk and let me know if it works? If you'd rather, I could implement the undo command first (when I get back from vacation tomorrow)
-
View User Profile
-
Send Message
Posted Aug 16, 2013I can see this plugin being incredibly useful however my only fear before using it is that i use a custom terrain generator (namely TerrainControl) so would this work with the custom biomes i have implemented (no custom blocks) or would it regenerate the terrain based off the seed and vanilla terrain generator?
-
View User Profile
-
Send Message
Posted Aug 1, 2013Would there be any way to undo a chunkfix?
You see, on my server, some of the chunks got corrupt right around our spawn point. We want to fix them, but we don't want to lose pieces of our spawn if they happen to be on a corrupt chunk, we want to w/e them out first. So we want to repair, then undo if there's something on it, then repair it when it doesn't have a piece of spawn on it.
Any thoughts?
-
View User Profile
-
Send Message
Posted Jul 26, 2013@Giinger
I cannot thank you enough for updating this! This is the best way to fix chunks!
-
View User Profile
-
Send Message
Posted Jul 25, 2013Wow, i test that now. Thanks you mate, really.
-
View User Profile
-
Send Message
Posted Jul 23, 2013Version 1.1
Added:
Changed:
Just waiting on the bukkit dev staff to approve this.
-
View User Profile
-
Send Message
Posted Jul 22, 2013You're the best bro ! Thanks in advance. I follow your work.
-
View User Profile
-
Send Message
Posted Jul 21, 2013I'll work on an update for 1.6.2 as soon as I can. Expect an update in a week tops.
-
View User Profile
-
Send Message
Posted Jul 20, 2013Why there isn't plugin for 1.6.2 ?
Zero plugin for repair chunk since 2012 ? It's amazing.
-
View User Profile
-
Send Message
Posted Jul 19, 2013It works with 1.6.2 builds but not the selection, so we can't regen a zone anymore.