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 Apr 24, 2012I just uploaded a new file for 1.2.5. Just waiting to get it approved :3
-
View User Profile
-
Send Message
Posted Apr 20, 2012Doesnt work with 1.2.x i think. ive got MC 1.2.5 and this plugin has an internal error stuff. plz fix it cuz its the only plugin available :P
-
View User Profile
-
Send Message
Posted Mar 11, 2012Could you add the function to avoid loading more chunks than the server can handle? Like if the server cannot do the 20 ticks / second anymore, a few chunks get unloaded (the ones with lowest priority running); so my server doesn't get spammed with loaded chunks. Nice would be also if I could implement a system to give players a maximum number of enforced chunks, and a maximum number for each priority (perfect for selling to donators). If you could implement that, I'd be super-extra-mega happy and would definitely use it!
-
View User Profile
-
Send Message
Posted Feb 23, 2012Wow nice to hear that :)
Yes i could sell it with the Adminshop from ChestShops Plugin and use a custom block where a player cannot craft them.
But there is still the problem i cannot control how many blocks are in the world right now.
Thanks for the good work!
-
View User Profile
-
Send Message
Posted Feb 23, 2012@elministerr I had an idea: You could just sell the chunk force loader blocks with the current version until I am done implementing the actual renting system.
-
View User Profile
-
Send Message
Posted Feb 23, 2012@ulposch I noticed issues like that as well. It seems some things do not tick correctly anymore (including snow golems apparently not making ice anymore which made my nuclear reactor blow up numerous times already). I will see why it occurs and if it is fixable or not.
-
View User Profile
-
Send Message
Posted Feb 22, 2012Your plugin makes it possible for my ic2, buildcraft and redpower2 industry to work even if there is nobody online. tested it and it works like a charm. It is now possible to come back from mining, throw everthing into the system and log out. everthing will be sorted into the storage system and/or will be sent to the factory. :-) I only have one problem: I have a combustion engine power plant. if my ic2 energy storage runs dry it kicks in and produces bluetricity which i convert to eu. the generator has 3 combustion engines and they use a huge amount of cooling water. i have 3 pools of water. 3x3 blocks and one deep. These provide endless water and everthing works fine as long as there is someone near the generator. but as soon as the last player leaves the water stops spawning and the pools run dry. this is a real problem, because the main reason for the generator to kick in is the use of one of the long distance teleporters. do you have any idea why the water stops spawning when the chunk is loaded via your plugin but not when there is a player around?
-
View User Profile
-
Send Message
Posted Feb 22, 2012a player limit is not needed when a global limit exist :) however the negative thing is a player can take/rent all slots. Not really cool but better than nothing.
-
View User Profile
-
Send Message
Posted Feb 22, 2012@elministerr I could certainly add such feature in future versions of CE. Integrating the iConomy API shouldn't be too hard. Introducing a global limit on force-loaded chunks would be possible aswell, a per-player limit, however, not possible easily.
-
View User Profile
-
Send Message
Posted Feb 22, 2012Hey Dude,
nice to see a plugin like this. I used the chunkloader from additionalpipes addon for Buildcraft. I think this Plugin do near the same.
I have deactived the chunkloader feature to prevent my user craft and use them in mass and my server cannot handle so much open chunks.
My Idea is a chunk rent system. Its a feature request for you :)
Mode A: As admin you can set a limit how many chunkloader blocks are in the world at the same time. If the limit reach you cannot place such a block.
Mode B: With the use of iConomy you can rent a block for x days and you have to pay for that block. After the renting is gone the block disappears.
Btw.. if a custom block don't work you have to use /rentchunk command or something.
Is that possible ?
Keep up good work!
The second simply feature request is .. give a command to remove all chunk blocks in the world :) So if your world filled with minecarts and redstone blocks you can simply remove them oder take the chunkload ability from them.. you know what i mean.