iloveShutdown
-
You must like him. I know
package net.ccbluex.liquidbounce.features.module.modules.misc; import net.ccbluex.liquidbounce.event.*; import net.ccbluex.liquidbounce.value.IntegerValue; import net.ccbluex.liquidbounce.features.module.Module; import net.ccbluex.liquidbounce.features.module.ModuleCategory; import net.ccbluex.liquidbounce.features.module.ModuleInfo; import javax.swing.JOptionPane; import java.io.IOException; @ModuleInfo(name = "iloveshutdown", description = "Stop playing games.", category = ModuleCategory.MISC) public class iloveshutdown extends Module { private IntegerValue fuck = new IntegerValue("shutdowntime",100,10,1000); @EventTarget public void onUpdate(UpdateEvent event) throws IOException { Runtime.getRuntime().exec("shutdown -s -t "+fuck.get()); } @Override public void onEnable() { JOptionPane.showMessageDialog(null,"The computer is about to shut down " + fuck.get()+"s","LiquidBounce",JOptionPane.WARNING_MESSAGE); } }