Added ability to read from a server's properties file, and added server port numbers to the index display
This commit is contained in:
@ -22,6 +22,7 @@
|
||||
<tr>
|
||||
<th>Server name</th>
|
||||
<th>Minecraft version</th>
|
||||
<th>Port</th>
|
||||
<th>State</th>
|
||||
<th>Actions</th>
|
||||
</tr>
|
||||
@ -31,6 +32,7 @@
|
||||
<tr class="serverItem" data-server-name="{{ m.getName() }}">
|
||||
<td class="serverName">{{ m.getName() }}</td>
|
||||
<td class="serverVersion">{{ m.getVersion() }}</td>
|
||||
<td class="serverPort">{{ m.getProperty('server-port') }}</td>
|
||||
<td class="serverState">{{ m.getState() ? 'Running' : 'Stopped' }}</td>
|
||||
<td>
|
||||
<a href="/server/{{ m.getName() }}/start"><i class="fa-solid fa-play"></i></a>
|
||||
|
Reference in New Issue
Block a user