Inactive [FIX] OneTimeRenewal 0.4 - Chunks will get all new features of MC updates (only run once)[1185-1597]

Discussion in 'Inactive/Unsupported Plugins' started by cuco, Jun 19, 2011.

  1. Offline

    cuco

    Sorry, my English is not very good, but I hope you will unterstand all you need to know ;-)

    Plugin: OneTimeRenewal
    Version: v0.4

    This plugin will regenerate all chunks which haven't been modified by users so they will include all new features of Beta 1.6 like tall grass, ... If your chunks have been generated in Minecraft Beta, they will be nearly the same as before but include the new feautures. But attention: If you have chunks generated in pre-Beta (Minecraft Alpha) you will get sliced chunks or your terrain will look very different than before.

    It has to be run only one time at server start! It will do its regeneration then and after that it could/should be deleted. No CPU-consumption during gameplay!

    Some of the code is based on TerrainRenewal by nickrak which does nearly the same - but it does it always during the gameplay and needs much CPU. My plugin does it one time after the start of your server. Then it could be deleted and needs no CPU.

    License will be Creative Commons 3.0: Attribution, Non-commercial, Share-Alike according to the original codebase.
    [​IMG]

    Installation:
    1. Make a backup of your world!
    2. Download the plugin & extract all included files
    3. Copy the jar and the included directory into your craftbukkit plugins directory
    4. If you want: change the file "materials.list" (to say what is man-made or not)
    5. Change the file "configuration" to set which chunks should be regenerated. The format is Xmin,Xmax,Ymin,Ymax. If you set them too small, not all of your map will be regenerated. If you set them too big, it will take a little longer , but it will NOT generate additional (new) chunks. If you don't know how to set it: go to the point of your map which is the most far away from spawn. Press F3 and write down your coordinates. Divide them by 16 and now you have the chunkcoordinates where you are standing. Maybe add a little bit to be sure. Now fill them into the file "configuration". Maximum is 784426 (after that the farlands are beginning). But don't try numbers as big as that or it has to check 2,461,299,735,609 chunks for updates!
    6. Start the server
    7. Wait for regeneration (on huge maps this could take some time!)
    8. Stop the server
    9. Delete all files of my plugin
    10. Done :) Enjoy the new feautures!
    Warning: It may destroy your buildings which seem not to be man made (if you build something only out of not crafted materials (dirt, sand, stone) without any use of torches or other crafted materials). Backup your world before running it!

    Features:
    • Test all chunk wether it is modified or not
    • Regenerates all unmodified chunks
    • Include all new features in this regnerated chunks
    • Config-File to set materials which must be included in a chunk to say it is modified
    • Config-File to set how many (or which) chunks should be regenerated
    • Checks whether it had run before and then skips the regeneration
    Download the plugin: http://tobby.eu/mc/plugins/OneTimeRenewal/OneTimeRenewal0.4.zip
    Source Code included in JAR-File

    Changelog:
    Version 0.4
    • Checks whether it had run before and then skips the regeneration
    • Compiled and tested with CB #1060
    Version 0.3
    • Massive speed improvement if it checks chunks which do not exist. You can now set bigger values in your configuration file without such a very big increasement of time like in v0.2.
    • Uses chunk unloading to save much RAM - now it is possible to run it without having very much memory on big maps
    • Better status display
    Version 0.2
    • Added configuration file to set the range for regeneration
    • Removed hardcoded range-limits
    • Fixed status-messages (now they display how many chunks have been regenerated and how many will follow)
    • Changed texts from German to English
    Version 0.1
    • Release
    Hope you like my plugin. It is my first plugin and it is my first Java program ever. So it could be bad coding :) Feel free to take a look at the code and say what I can do better.
     
    alex3yoyo and ssechaud like this.
  2. Offline

    DaddyCool64

    On MC 1.1 it work fine.
    But on 1.2.x it can't work, because the new file format, i think.
    Im right?
     
  3. Offline

    lastrachris

    Is this solid for the 1.3 update?
     
    Pim1234 likes this.
  4. Offline

    cuco

    It may work, but it may recreate some chunks which are modified. I don't really have the time to do the needed modifications since I have much to do in RL. I haven't played Minecraft for abour 10 months now... I will see what I can do, but it will not happen beforce October.
     

Share This Page