ChunkLoad

ChunkLoad

A Bukkit plugin to prevent selected chunks from unloading
Inspired by ForeverALoad by Piedo_bear which is discontinued as of Minecraft 1.2

Requires WorldEdit

Usage:
/chunkload add <name> - adds the chunks of the current selection as region <name> and prevents them from unloading
/chunkload remove <name> - deletes the region, so it may be unloaded again
/chunkload list [page] - lists the currently defined regions
/chunkload select <name> - sets your WorldEdit selection to the chunks of region <name>

/chunkload configure <name> - shows the region and its configuration
/chunkload configure <name> <option> - shows the value of <option>
/chunkload configure <name> <option> true|false|default - turns an option on or off for region <name>
/chunkload configure <name> -<option> - (minus sign in front of the option) sets <option> to its default value (same as /chunkload configure <name> <option> default)

/chunkload options - lists all available options:
    - inactive: chunks of inactive regions may be unloaded; this can be used to temporarily disable a region
    - load-on-start: load the chunks of this region into memory at server startup

/chunkload reload - rereads the configuration file - TODO: this doesn't work

/cl is an alias to /chunkload
all subcommands except reload can be abbreviated to their first letter

Special Regions:
    - __global__: a region containing a complete world

To use ChunkLoad you need either the chunkload.usage permission or (if enabled in the configuration) be an operator on the server

Configuration:
allow-ops - allow operators to use ChunkLoad even if they don't have the required permissions; default: true
worlds.<worldname>.<regionname> - rectangles of chunks to keep loaded, manual editing at your own risk

Todo:
- have a look at the ForeverALoad features and implement them

This plugin is licensed under GPLv2 or (at your option) any later version
The source can be found on my github: https://github.com/Nidan/ChunkLoad

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of iprey06 iprey06 May 09, 2013 at 04:15 UTC - 1 like

    doesnt look like this is getting much attention anymore.

    Wish it was.. would like it to work.

  • Avatar of AAidz AAidz Apr 17, 2013 at 04:34 UTC - 0 likes

    quick question, does this keep mobs within the chunk from despawning?

  • Avatar of firesofhades firesofhades Mar 21, 2013 at 04:22 UTC - 0 likes

    i just tested this succesfully on 1.5

    instead of watching plants grow, i suggest you set up a redstone loop(away from spawn), fly far enough away for it to unload and verify the redstone loop is no longer running. then you select the loop and add it to chunkloader, fly to the same point from which you earlier confirmed the chunks would unload, then fly back.

    my loop was still going after i used chunkloader

    as you don't know when your plant will grow, a not growing plant is no proof of chunks unloading, it could be that they just didn't grow yet. if you logged out while waiting for your plants to grow, there is another reason why it doesn't work. this is a qoute from the author/dev taken from (currently) page 3 "...causing the server to continue simulating the world if noone is online is out of scope for this plugin" i think its safe to assume this plugin does not simulate the world if noone is online :)

    i think pindakaas his problem might have been that even tho the chunk would be loaded, there hasn't been any event to trigger a light update at the sensors location, this is just a guess. i would like to mention that redstone does not break by unloading a chunk UNLESS its accually doing something, so unless pindakaas has a loop in his lighting system, unloading chunks aren't the problem in the first place, also, as we have all seen the lighting bugs that where hard to miss in previous versions of the game, i think we can safely assume that a loaded chunk can have an abnormal light level, that gets fixed when reaching a certain proximity to the chunk or placing/breaking a block in it. on top of that if this plugin does not cause the world to simulate if noone is online, this might be the case for far away chunks too, maybe minecraft itself stops simulation of far away chunks. as this plugin just keeps the the chunks loaded and not simulated, the light level would not be updated untill some1 come in the area...

    its also worth mentioning that sensors don't give the full strength of power with the first signs of dawn/dusk, the signal strength will build up as it becomes lighter, or drop as it becomes darker. this means that any redwire directly conected to the sensor will be extra delay.

    at lightlevel 1 the sensors signal will reach only 1 block far, so having two wires next to the sensor will cause it to need lightlevel 2 to pass the current to the repeater i.e: [sensor][wire][wire][repeater][lamp]

    this delay can be prevented by using a repeater directly next to the sensor so it amplifies the 1 strenght signal from the sensor to 15 i.e: [sensor][repeater]wire][wire][lamp]

    Last edited Apr 08, 2013 by firesofhades
  • Avatar of Psychokiller1888 Psychokiller1888 Jan 30, 2013 at 21:03 UTC - 0 likes

    Hi there! Thanks for the plugin!

    Is it really working? Never saw my plants growing if I'm not beside them actually. The chunks have the option load-on-start, and even if I go in the chunk then leave they stop growing...

  • Avatar of Mayhem777 Mayhem777 Nov 22, 2012 at 12:01 UTC - 0 likes

    Working for 1.4.5? :)

    - - - -( Profile )- - -(< Web >)- - -( Plugins )- - - -

    Working At: New Plugin "UnDo"
    Need a Custom Plugin?: Info on my Web!


    Want Updates? VOTE ON POLLS!

  • Avatar of CarrotPCdude CarrotPCdude Nov 16, 2012 at 01:14 UTC - 0 likes

    Fantastic!
    Only just found this plugin, glad I have.
    I'm going to download it and try it out.
    If I remember I'll give you some feedback on it.

    BFAK:CarrotPCdude,90605145,aff8e0b1a20aa869a9d05512f3cd4d26deeb94a90ac25b8af344b02a6715498c

  • Avatar of obviousAce obviousAce Nov 14, 2012 at 19:18 UTC - 0 likes

    @Dweezy123456789: Go

    For me it even works with a new CB 1.4.4 Development-Build.

  • Avatar of Dweezy123456789 Dweezy123456789 Nov 08, 2012 at 10:07 UTC - 0 likes

    Hi,

    pls update does not work with 1.4.2 as pindakaas023 told. and i would love to have it again working :)

  • Avatar of JoneKone JoneKone Oct 10, 2012 at 11:20 UTC - 0 likes

    @Skies16: Go

    Me 2, Thumbs up! For you! YES!

    Last edited Oct 10, 2012 by JoneKone

    Yarrr I'm The Pirateking

  • Avatar of pindakaas023 pindakaas023 Oct 08, 2012 at 23:47 UTC - 0 likes

    Hey,

    I tried testing this with my lighting system in the village on my server, connected to a day night sensor. But when I leave the area and come back at night, the lights turn on when I load the chunks.. So now mobs have time to spawn.. I selected about 200 chunks around the village, but after running "/chunkload add village" it seems it's not working..

    Could you help me? Thanks!

Facts

Date created
Jun 18, 2012
Category
Last update
Oct 03, 2012
Development stage
Release
Language
  • enUS
License
GNU General Public License version 2 (GPLv2)
Curse link
ChunkLoad
Downloads
5,884
Recent files

Authors