Starbound server is <%= @status %>
Address |
Port |
Version |
<%= @status.capitalize %> For |
<%= @address %> |
<%= @port %> |
<%= @version %> |
<% if @last_status_change %>
<%= time_ago_in_words(@last_status_change) %>
<% end %>
|
<% if @online_players.length > 0 %>
Online Players
Name |
Online For |
<% @online_players.each do |player| %>
<%= player[:name] %> |
<% if player[:last_connect] %>
<%= time_ago_in_words(player[:last_connect]) %>
<% end %>
|
<% end %>
<% end %>
<% if @active_worlds.length > 0 %>
Active Worlds
Coordinates |
Loaded For |
<% @active_worlds.each do |world| %>
<%= world[:coords] %> |
<% if world[:last_load] %>
<%= time_ago_in_words(world[:last_load]) %>
<% end %>
|
<% end %>
<% end %>
<% if @offline_players.length > 0 %>
Offline Players
Name |
Last Seen |
<% @offline_players.each do |player| %>
<%= player[:name] %> |
<% if player[:last_seen] %>
<%= time_ago_in_words(player[:last_seen]) %> ago
<% end %>
|
<% end %>
<% end %>