How do I automatically restart a Minecraft Spigot server in the event of a crash or /stop when using screen?

Tutorial A friend wrote a bash script to automatically restart a minecraft (spigot) server in the event of a crash or with the command “/stop” when using screen. There are several seconds to cancel the restart with Enter. In addition, the exit codes of the previous session are written to a file, which can be … Read more

Upload file to SFTP using PowerShell

There isn’t currently a built-in PowerShell method for doing the SFTP part. You’ll have to use something like psftp.exe or a PowerShell module like Posh-SSH. Here is an example using Posh-SSH: Some additional notes: You’ll have to download the Posh-SSH module which you can install to your user module directory (e.g. C:\Users\jon_dechiro\Documents\WindowsPowerShell\Modules) and just load … Read more

Choosing a Windows automation scripting language. AutoIt vs Autohotkey

I’ve used both very much. AutoHotKey is very good at managing hotkeys and basic GUI automation. It’s syntax is horrible and it’s not meant for bigger applications. AutoIt has almost every feature AutoHotKey has and much more. COM-automation support, arrays and a pretty nice UDF (User Defined Functions) library. It’s harder to build complex hotkeys … Read more