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

/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

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

- 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:

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

  • Avatar of Farbmond Farbmond May 17, 2014 at 12:04 UTC - 0 likes

    Doesnt work anymore :-(

    [13:51:24] [Server thread/INFO]: Starting minecraft server version 1.7.9
    [13:51:24] [Server thread/INFO]: [ChunkLoad] Loading ChunkLoad v0.6.3
    [13:51:27] [Server thread/INFO]: [ChunkLoad] Enabling ChunkLoad v0.6.3
    [13:51:27] [Server thread/ERROR]: Error occurred while enabling ChunkLoad v0.6.3 (Is it up to date?)
    java.lang.NumberFormatException: For input string: "-1.mca"
    	at java.lang.NumberFormatException.forInputString(Unknown Source) ~[?:1.8.0_05]
    	at java.lang.Integer.parseInt(Unknown Source) ~[?:1.8.0_05]
    	at com.github.nidan.chunkload.ChunkLoadPlugin.loadGlobal( ~[?:?]
    	at com.github.nidan.chunkload.ChunkLoadPlugin.loadData( ~[?:?]
    	at com.github.nidan.chunkload.ChunkLoadPlugin.loadData( ~[?:?]
    	at com.github.nidan.chunkload.ChunkLoadPlugin.loadData( ~[?:?]
    	at com.github.nidan.chunkload.ChunkLoadPlugin.onEnable( ~[?:?]
    	at ~[craftbukkit.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
    	at [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
    	at org.bukkit.plugin.SimplePluginManager.enablePlugin( [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
    	at org.bukkit.craftbukkit.v1_7_R3.CraftServer.loadPlugin( [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
    	at org.bukkit.craftbukkit.v1_7_R3.CraftServer.enablePlugins( [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
    	at net.minecraft.server.v1_7_R3.MinecraftServer.n( [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
    	at net.minecraft.server.v1_7_R3.MinecraftServer.g( [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
    	at net.minecraft.server.v1_7_R3.MinecraftServer.a( [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
    	at net.minecraft.server.v1_7_R3.DedicatedServer.init( [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
    	at [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
    	at [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
  • Avatar of sangen48 sangen48 Mar 30, 2014 at 15:27 UTC - 0 likes

    Tested in 1.7.5, I think that the option "load-on-start" doesn't work :/ I have to visit the chunks on server start, and then they remain loaded.

    Any corrective update scheduled ? :(

  • Avatar of RozRocks RozRocks Feb 19, 2014 at 01:21 UTC - 1 like

    Just tested this plugin in 1.7.4, works fine.

  • Avatar of ChromoTrigger ChromoTrigger Sep 20, 2013 at 21:50 UTC - 0 likes

    @MinecrafrGi: No it doesn't. Redstone keeps running, but that's all. No villager breeding, golem spawning, plant growing, items droping, and so on. Chunks also get unloaded if no one is in the same world.

  • Avatar of NinjaKingRo NinjaKingRo Sep 05, 2013 at 02:14 UTC - 0 likes

    @MinecrafrGi: Go

    Well, I'm sure there will be a few bugs that unload chunks by mistake once and a while..

  • Avatar of MinecrafrGi MinecrafrGi Sep 03, 2013 at 23:36 UTC - 1 like

    Tested and works for 1.6.2

  • Avatar of martymeep martymeep Jul 07, 2013 at 15:19 UTC - 0 likes

    Does it work in 1.6.1?

  • 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


Date created
Jun 18, 2012
Last update
Oct 03, 2012
Development stage
  • enUS
GNU General Public License version 2 (GPLv2)
Curse link
Recent files