Source

ec2control / sample_templates / minecraft.mako

Full commit

<%def name="subject()">
    % if status == 'started':
        % if instance.status == 'started':
            ${instance.descriptive_name} is online!  ${instance.ip_address}:${instance.config['minecraft_port']}
        % else:
            ${instance.descriptive_name} failed to start!
        % endif
    % elif status == 'command_error':
        ${exception}
    % elif status == 'error':
        An error occurred.
    % endif
</%def>

Greetings Citizen -

% if status == 'started':
    % if instance.status == 'started':
        Your presence is welcome at ${instance.descriptive_name}!  ${instance.ip_address}:${instance.config['minecraft_port']}
    % else:
        ${instance.descriptive_name} wasn't able to start !   Status is ${instance.status}
    % endif
% elif status == 'command_error':
    Sorry, I wasn't able to understand your command.

    ${exception}
% elif status == 'error':
    % if instance:
        ${instance.descriptive_name} had a problem.
    % else:
        An unknown error occurred.
    % endif

    ${exception}
% endif

Regards, 

The Management