When Hammertime is started, it reads the screen session id and keeps it in memory. For as long as Hammertime is running, it will attempt to write to this session id with screen -S $sessionid -X stuff [...]
Depending on how the Minecraft server does its periodic restarts, there may be a new screen session id. Hammertime will still try to write to the stale screen session id.
It is desirable to have Hammertime determine the screen session id each time it has to output to it instead of using the session id from when Hammertime is started.
When Hammertime is started, it reads the screen session id and keeps it in memory. For as long as Hammertime is running, it will attempt to write to this session id with screen -S $sessionid -X stuff [...]
Depending on how the Minecraft server does its periodic restarts, there may be a new screen session id. Hammertime will still try to write to the stale screen session id. It is desirable to have Hammertime determine the screen session id each time it has to output to it instead of using the session id from when Hammertime is started.