Plugin category: [MECH] Suggested name: RedstoneDisable. TimedRedstone. NoRedtimeAtBedtime What I want: Disables ALL redstone when it's night. Enables ALL redstone back again in the day. Thus: disables: redstone redstone torch redstone repeater You can leave buttons/levers/pressureplates to work day and night if you want. Or you can disable all of that in the night. I need this plugin to reduce a crapload of lag on my server. EXP machines all day and night makes the server laggy Ideas for commands: No commands needed for this plugin. Ideas for permissions: No permissions needed. When I'd like it by: By 1.3 update for bukkit please
I don't think this would be the best way to go about combatting lag...a lot of redstone machinery may require parts to stay in an "on" state.
Yeah I would need a plugin for that.. :/ that would be super hard to administrate or follow.. The simple solution is to turn off redstone in the night and enable it in the day!
If you didn't want multiple channels and wanted to control this via commands, you could use my plugin to remove/add the power source into the contraptions at will. See: http://www.google.com/url?sa=t&rct=...sg=AFQjCNFUr6qr892m2hvTjv-1luYnJI6p2w&cad=rja
Channels I'd have to make weird regions to do that I can't region the whole world o.o Please! 1.3 is coming in some hours!!
Guys kinda like http://forums.bukkit.org/threads/me...edstone-lightsensor-made-easy-1-0-1-r1.43032/ Except no glass block needed
Well.. u could make it a rule all redstone off at night and install this plugin http://dev.bukkit.org/server-mods/redstone-clock-detector/ then go searching for the rule breakers
Would it be as simple as Denying this event? http://jd.bukkit.org/doxygen/d5/d3a/classorg_1_1bukkit_1_1event_1_1block_1_1BlockRedstoneEvent.html
Perhaps you could turn redstone on and off at a certain interval and broadcast when it changes to on or off
Almost. You can't actually cancel the event, but you can set the redstone current of the block that changes current. Just have to set the new current to the old current, which would stop blocks from changing redstone current. I'm almost done with the request, just need to implement time functionality.For those who want to see how it's done: Code: @EventHandler public void onBlockRedstoneChange(BlockRedstoneEvent event){ event.setNewCurrent(event.getOldCurrent()); } EDIT: I'm done. I wasn't able to implement the broadcast thing, I hope that's not a desaster.
thats awesome!!! are you doing this day/night based or interval based? either way, make sure to broadcast when redstone turns on or off
So you really need that broadcast? Ok, ill try my best in my plugin redstone changes get disabled during the night and enabled when the day begins.
Just finished. The name of the plugin is McEMP (EMP = Electromagnetic Pulse, destroys electrical systems) It now broadcasts a message when redstone current changes get enabled or disabled. Disabled at night, enables in the morning. In the config file, you can enable/disable the plugin and type the name of the world the plugin should get the time of. By default, it's set to World 0. Be aware, clocks might need to be reactivated after the plugin has disabled them! (Place/destroy blocks next to them or replace redstone torches/repeaters) You can also en/disable the plugin in-game by typing /emp on or /emp off. http://dev.bukkit.org/server-mods/mcemp/files/2-mce-mp-beta/ - Should be downloadable without approval.
Maybe you could change the message so it says The sun and redstone are now on! and Redstone has turned off because it's night! They are like "what the cramp is EMP?" every time it changes... Or you could mae the messages configurable
Sorry for doublepost, but It was easier as I thought Just change "on-message" and "off-message" in config.yml: http://dev.bukkit.org/server-mods/mcemp/files/3-mce-mp-0-1/ EDIT: Fixed in-game commands. http://dev.bukkit.org/server-mods/mcemp/files/4-mce-mp/