Resources needed: - Lever x1- Redstone x9- Sticky Piston x1- Redstone Repeater x4- Redstone Comparator x1- Redstone torch x3- Day/Night Sensor x1- Hopper x2- Egg x6
Its not designed to be compact, its made to be easy for anyone to setup. I have also added on a bit more to adjust the time that it takes to shutoff, 30min - 1hour - 2hour.
I'd need to check but you coul use an igneous extruder and a single chest filled with a random item in each slot bar 1-3. Then as the igneous extruder fills the chest it'll be your "timer" you then use a gate to detect if the chest is full or not and use that as your off switch
Ok I think I got this Extruder->single Chest->pipe with gate attached. 2 seconds to produce 1 cobble 1 stack = 64 = 128 Seconds = approx 2 minutes per stack -machine holds 1 stack/2 minutes -5 stacks = ~10 minutes -4 stacks in chest, one in machine = 5 stacks = 10 minutes -pipe with gate = set to inventory full -pipe detects when all spaces full not full stacks. 1 extra space required -5 chest spaces needed for 10 minute block, the rest are filled with wood or something. -max potential time 27 spaces = ~54 Minutes The most annoying item is the gate which requires the assembly table, although if this looks more permanent we could always sell them at spawn. well that and the lava bucket for the extruder to work, but most players get lava eventually. Let me know what you all think EDIT: oh and the extruder responds to redstone so it can be turned off using a lever, thought the whole point of this setup is for it to be going. Also the pipe is not going anywhere, it is purely there for the gate redstone signal. picture to follow EDIT: I think there is an error of 2 minutes here somewhere, too tired to fix it but you get the idea EDIT: Awake now, please allow 6 spaces in the chest as the first cobble in the 6th space will be approx 10 minutes. Hadn't accounted for the pipe "full" state being weird like that.
I think it wise to explain as well that Minecraft time does not always equal Real World time. If the load of the server increases the "minecraft ticks per real world second" (TPS) of the world simulator drops and a "2 hour timer" can easily extend to 2.5-3.5 hours (possibly worse but usually an admin will kick it if they're online). Secondly if your timer isn't chunkloaded then it's probably not counting down (though I do not fully understand Herbie's timer), which means Gorm could still find your machines on hours later. So an override switch is always a good idea in addition to a timer.
@herbie: 1. does changing the type of control item change the length of the loop? I haven't played with comparators much, but I believe they have some kind of table of values right? 2. I am intrigued by the light metre. If the chunk unloads and then reloads a half hour later, will it track that lost time because of the sun moving, or is it only loaded time that counts?
It controls the number of pulses going into the hoppers, puling out a single egg each time. So it will pull out an extra egg for each redstone pulse, thus shortening the total length of the time till shutoff.
To the second point, possibly but so far as long as someone enters the chunk it will be loaded, and then the timer continues. Same as the machines. It will not be loaded if we are not there past whatever time the admins/mods have tweaked the chunk loaders to do. So it is still only loaded when people are near, but at which point the timer shall tick over and day/night cycle shall sync up again.