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
Doesnt work anymore :-(
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 ? :(
Just tested this plugin in 1.7.4, works fine.
@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.
@MinecrafrGi
Well, I'm sure there will be a few bugs that unload chunks by mistake once and a while..
Tested and works for 1.6.2
Does it work in 1.6.1?
doesnt look like this is getting much attention anymore.
Wish it was.. would like it to work.
quick question, does this keep mobs within the chunk from despawning?
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]
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...
Working for 1.4.5? :)
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.
@Dweezy123456789
For me it even works with a new CB 1.4.4 Development-Build.
Hi,
pls update does not work with 1.4.2 as pindakaas023 told. and i would love to have it again working :)
@LegndPowerdNube
Me 2, Thumbs up! For you! YES!
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!
(Name suggestion) What about "DoNotUnload", "NoNotUnloadMe" or "UnloadMeNot"? ChunkLoad does not say much of the plugin.
@Shatter6
- for global regions stand in the world you want to keep loeded, then
/cl add __global__
- for other regions use WorldEdit to select the blocks/chunks you want to keep loaded, then
/cl add your_region_name
Don't put the world name or any punctuation in the command. The same goes for coordinates: ChunkLoad gets them from your WorldEdit selection, so don't put them in the command or you might end up with weirdly named regions