ChunkEnforcer
ChunkEnforcer is a plugin which keeps chunks from being loaded when a Minecart or certain blocks (such as Redstone) are in it and is coded to be efficient and cause the least lag possible.
Example uses:
- Redstone wiring stops working while the chunk unloads and you need to reset all clocks manually
- Minecarts can stop moving (this plugin includes a special mode for minecarts)
- Maybe have an IndustrialCraft server and wish to keep your industry running? That works aswell!
The plugin has two base modes which can be enabled and disabled using an easy config (auto-generated on first launch).
Mode A: Keep chunk loaded if a moving minecart is in (or close) to it.
Mode B: Keep chunk loaded if a specified block is in it (by ID, can be defined using config too, by default includes redstone).
Permissions:
chunkenforcer.control - Allows to use the /chunkenforcer command
Commands:
/chunkenforcer reload - Reloads the config from disk
/chunkenforcer info - Gives you current information about ChunkEnforcer
The whole system is optimized using the chunk snapshot system and delayed/threaded checks where possible to save on server power.
-
View User Profile
-
Send Message
Posted Dec 15, 2015somebody can explain the "rent" option?
-
View User Profile
-
Send Message
Posted Oct 6, 2013Need update, need update, need update, need update...........
-
View User Profile
-
Send Message
Posted Jun 12, 2013are you planning to update this plugin? I was thinking of making a plugin like it anyway
-
View User Profile
-
Send Message
Posted Oct 23, 2012We really need a plugin like this for 1.3.2 with working minecart functionality.
-
View User Profile
-
Send Message
Posted Sep 30, 2012Can anyone suggest a similar plug in to this that is still being supported? I've been looking for one that works for a long time...
-
View User Profile
-
Send Message
Posted Sep 3, 2012Hi, is there a release date for CraftBukkit plugin-1.3.2-R0.1? or later?
-
View User Profile
-
Send Message
Posted Aug 17, 2012I have tested it with CB 1.3.1-R1 and it doesnt work for me, does this get an update or is this death?
-
View User Profile
-
Send Message
Posted Aug 15, 2012@b3astmuch
Are using MineBackup? The way it unloads chunks when it saves/compresses does not fire the necessary events for ChunkEnforcer to keep the chunk loaded. Had this problem myself. You will have to remove it. If you dont have MineBackup then try removing your plugins one-by-one until this plugin works again. I had to do that.
-
View User Profile
-
Send Message
Posted Aug 8, 2012Hi, i have been using your mod to work my long distance oil pump through a liquid teleport pipe but it doesnt work. both pipes are on frequency 10 but they say no pipe connected i have tried to reload and info but the info says no chunks loaded and its says force load current chunk no PLEASE ANSWER
-
View User Profile
-
Send Message
Posted Jul 13, 2012Yay! Now my automatic minecart rail way and station can work! 8D
I have yet to test it though as I am having some very bad errors with my server. It isn't loading any chunks for some reason o.o I have not idea why.... :<
-
View User Profile
-
Send Message
Posted Jul 12, 2012@WezzLee
I'm sorry, but could you be more specific about what you mean by invisible characters? I looked at the default config file, and saw only blank spaces by the hyphens, and no 9998 or 9999 at all. Could you elaborate on how to fix this?
Thanks!
-
View User Profile
-
Send Message
Posted Jul 12, 2012To everyone who is having (not errors, just not working) problems with the mod, there is a small invisible character inbetween the hyphens it goes 9998 - 9999 It shows it as a enter key on this text box, however enter keys didn't work, in the config for me atleast, if you copy these numbers and just edit the numbers you should be fine.
-
View User Profile
-
Send Message
Posted Jul 9, 2012This doesn't seem to work at all. It doesn't crash, or have any errors, but when I have some wheat planted, and leave the area for a long time, and then come back, it still hasn't grown. I had set farmland and wheat seeds as two of the block IDs to trigger on, but nothing.
Any idea why this might be?
Twilight
-
View User Profile
-
Send Message
Posted Jul 8, 2012For some reason, none of these kind of mods ever work on my server. Same story: set up redstone clock, use /chunkenforcer info, says it's loading current chunk, use /chunkenforcer reload, then /chunkenforcer info again, still loading current chunk, and apparently 441 OTHER chunks as well, disconnect from server, log back in, redstone is frozen, plugin failed.
This has happened with every chunk loading plugin I have tried.
-
View User Profile
-
Send Message
Posted Jun 25, 2012Hi,
After installing ChunkEnforcer Multiverse goes on an error rampage. Im not sure if this is your plugon or Multiverse, i ve posted the issue on multiverse page too.
2012-06-25 07:12:06 [INFO] [Multiverse-Adventure] Beginning reset of world 'sg'... 2012-06-25 07:12:07 [INFO] [Multiverse-Core] World 'sg' was unloaded from memory. 2012-06-25 07:12:08 [INFO] [Multiverse-Core] Loading World & Settings - 'sg' - Env: NORMAL - Type: FLAT & seed: 6938358163719280732 2012-06-25 07:12:08 [INFO] [bPermissions] Loading world: sg 2012-06-25 07:12:08 [INFO] Preparing start region for level 3 (Seed: 6938358163719280732) 2012-06-25 07:12:08 [INFO] [dynmap] Loaded 3 maps of world 'sg'. 2012-06-25 07:12:08 [INFO] [Multiverse-Adventure] Reset of world 'sg' finished. 2012-06-25 07:12:08 [INFO] [Multiverse-Adventure] Reloading Multiverse-Portals to make it use the changed world(s). 2012-06-25 07:12:08 [INFO] [Multiverse-Portals] 4 - Portals(s) loaded 2012-06-25 07:12:08 [INFO] [Multiverse-Inventories] Removed all inventories for Multiverse-Adventure world. 2012-06-25 07:12:10 [SEVERE] net.minecraft.server.WorldConlictException: The save is being accessed from another location, aborting 2012-06-25 07:12:10 [SEVERE] at net.minecraft.server.WorldNBTStorage.checkSession(WorldNBTStorage.java:68) 2012-06-25 07:12:10 [SEVERE] at net.minecraft.server.World.m(World.java:2718) 2012-06-25 07:12:10 [SEVERE] at net.minecraft.server.ChunkRegionLoader.a(ChunkRegionLoader.java:78) 2012-06-25 07:12:10 [SEVERE] at net.minecraft.server.ChunkProviderServer.saveChunk(ChunkProviderServer.java:163) 2012-06-25 07:12:10 [SEVERE] at org.bukkit.craftbukkit.CraftWorld.unloadChunk(CraftWorld.java:167) 2012-06-25 07:12:10 [SEVERE] at org.bukkit.craftbukkit.CraftChunk.unload(CraftChunk.java:143) 2012-06-25 07:12:10 [SEVERE] at de.doridian.chunkenforcer.ChunkEnforcerListener.run(ChunkEnforcerListener.java:93) 2012-06-25 07:12:10 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:126) 2012-06-25 07:12:10 [SEVERE] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:533) 2012-06-25 07:12:10 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459) 2012-06-25 07:12:10 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) 2012-06-25 07:12:10 [SEVERE] net.minecraft.server.WorldConlictException: The save is being accessed from another location, aborting 2012-06-25 07:12:10 [SEVERE] at net.minecraft.server.WorldNBTStorage.checkSession(WorldNBTStorage.java:68) 2012-06-25 07:12:10 [SEVERE] at net.minecraft.server.World.m(World.java:2718) 2012-06-25 07:12:10 [SEVERE] at net.minecraft.server.ChunkRegionLoader.a(ChunkRegionLoader.java:78) 2012-06-25 07:12:10 [SEVERE] at net.minecraft.server.ChunkProviderServer.saveChunk(ChunkProviderServer.java:163) 2012-06-25 07:12:10 [SEVERE] at org.bukkit.craftbukkit.CraftWorld.unloadChunk(CraftWorld.java:167) 2012-06-25 07:12:10 [SEVERE] at org.bukkit.craftbukkit.CraftChunk.unload(CraftChunk.java:143) 2012-06-25 07:12:10 [SEVERE] at de.doridian.chunkenforcer.ChunkEnforcerListener.run(ChunkEnforcerListener.java:93) 2012-06-25 07:12:10 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:126) 2012-06-25 07:12:10 [SEVERE] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:533) 2012-06-25 07:12:10 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459)
-
View User Profile
-
Send Message
Posted Jun 1, 2012Can you make a enforcer that obeys World Edit Cuboid / Other selections?
-
View User Profile
-
Send Message
Posted May 29, 2012Really nice, thanks for making this. Our automatic minecart system finally works. :)
-
View User Profile
-
Send Message
Posted May 18, 2012i have an modded server buildcraft and Equivalent exchange and i want to keep the condensers loaded so i added the id to the config and reload and restarted the server just after i reload it it says "currently keeeping 1035 chunks loaded permanently" then i do it again and it says "currently keeping 3 chunks loaded permanently" any idea what going on
-
View User Profile
-
Send Message
Posted May 8, 2012How about an option to specify chunks in the config file? Or to specify entities such as villagers?
-
View User Profile
-
Send Message
Posted Apr 24, 2012I'm getting this error, any ideas? I added a few things to the config which i guess could be it, i added the pipes from tekkit.
20:07:43 [SEVERE] Error occurred while enabling ChunkEnforcer v1.0 (Is it up to date?): while parsing a block mapping; expected <block end>, but found Scalar while parsing a block mapping in "<reader>", line 1, column 1: block: ^ expected <block end>, but found Scalar in "<reader>", line 8, column 3: -4314 ^
at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(Par serImpl.java:575) at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161) at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146) at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java :230) at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160) at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:12 3) at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106)
at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons tructor.java:121) at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480) at org.yaml.snakeyaml.Yaml.load(Yaml.java:423) at org.bukkit.util.config.Configuration.load(Configuration.java:90) at org.bukkit.plugin.java.JavaPlugin.getConfiguration(JavaPlugin.java:11 9) at de.doridian.chunkenforcer.ChunkEnforcerListener.reload(ChunkEnforcerL istener.java:40) at de.doridian.chunkenforcer.ChunkEnforcerListener.<init>(ChunkEnforcerL istener.java:29) at de.doridian.chunkenforcer.ChunkEnforcer.onEnable(ChunkEnforcer.java:2 3) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:230) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader .java:1057) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage r.java:380) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:200) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:183 ) at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:479) at org.bukkit.Bukkit.reload(Bukkit.java:188) at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java: 22) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:16 8) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:4 03) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:3 99) at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:580) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:557) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:441) at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)